Reputation: 11
how do we create common libraries in android that can be used across applications? I want to write some classes which are accessible by all applications. Thanks in advance.
Upvotes: 1
Views: 732
Reputation: 2898
If you are using Eclipse, Go to Project Properties --> Android . Select 'Is Library' checkbox. That is it.
To use this in other projects, Select Project Properties (of the other project --> Android--> Add (underneath the 'Is Library' checkbox) and select the library)
more instructions here http://developer.android.com/guide/developing/projects/projects-eclipse.html#SettingUpLibraryProject
Upvotes: 1