Android does not require that all source code used by one application is directly included into this application.,
Android library projects allow to store source code which is used by several other Android projects. Library projects cannot be compiled to .apk files directly. If a project which uses the library project is compiled the ADT compiles the library and adds the compiled source to the .apk file of the compiled application. Therefore a library project can be considered to be a compile-time artefact.
To create a library project simply create a standard Android project. Select the generated project and right-click on it and select properties. On the Android tab select the flag “Is Library”.
Read more: Developer Papercuts
0 comments:
Post a Comment