This is a mirror of official site: http://jasper-net.blogspot.com/

Android library projects – Renting some code

| Monday, March 7, 2011
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”.

library10-300x191.png

Posted via email from Jasper-net

0 comments: