title: Moving Spring Dependency Injected code to Android
body: <p>Aloha - </p>
  
  <p>I'm migrating code from an existing web application into an Android application.  The existing web app uses Spring extensively for dependency injection.</p>
  
  <p>I'd like to reuse the Spring dependency injection if I can, but I do not see a way to initialize it like you would in a webapp:</p>
  
  <pre><code>&lt;context-param&gt;
      &lt;param-name&gt;contextConfigLocation&lt;/param-name&gt;
      &lt;param-value&gt;classpath:applicationContext.xml&lt;/param-value&gt;
  &lt;/context-param&gt;
  </code></pre>
  
  <p>Google does not turn up much help on the subject, other than use Guice.  I'd rather not do that as the web app is still being developed, so if I were to use Guice for dependencies, I would constantly need to sync up between the Spring dependencies and Guice.</p>
  
  <p>Is there any way to use Spring for DI on Android in a plug and play fashion, or do I have to look at rewriting all this stuff in another way?</p>
  
  <p>Thanks!</p>