开发者

android create common libraries

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. Thank开发者_运维知识库s in advance.


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜