开发者

android create common libraries

开发者 https://www.devze.com 2023-02-20 06:13 出处:网络
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

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

精彩评论

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