Reputation: 191
I'm trying to come up with a best practice for sharing code among a group of Android applications. For example, suppose I have a content provider that I want to access from several Android applications. I'd like to have a class that contains static members for content URIs, column identifiers, etc. This class would be shared by the content provider implementation as well as the applications that use the content provider. What is the best way to do this in Eclipse? Thanks.
-rich
Upvotes: 3
Views: 427
Reputation: 3954
For common libraries I've written I just compile into a jar. Then add that jar to the classpath of each project that needs it.
Upvotes: 2