Best way to package reusable code with drawable and string resources
<p>In basic Java, if I write code to solve a common problem and want to use it in other projects, I would package it as a jar file and simply add it to those other projects.</p>

<p>But in Android--when that code may use drawables, strings and other resources--what can I do?</p>

<p>It looks like this question was asked here <a href="http://stackoverflow.com/questions/2825360/how-to-distribute-the-android-reusable-code-in-a-package">How to distribute the android reusable code in a package?</a>, a year and a half ago, with the determination that hopefully this would be possible in the near future. I'm hoping someone has an update or a better answer.</p>

<p>The only option I know at the moment is to provide the full source and leave it to the using developer to move all classes into their project, add strings to their existing strings file, add their drawables to the project's other drawables, etc. That is a nuisance and error-prone. Is there an easy way to add third-party code that contains these resources?</p>
