How do you setup a project that can result in a jar library file that can be used for android?
I want to create a custom library across all projects.
Few other questions:
- Does it need to be compiled against a specific version of android sdk?
- When an android package is compiled against a jar library does the classes necessary to work with the code get compiled with main code into the apk or does the entire jar get included?
- Any notable optimizations or pitfalls I need to know about with using a jar instead of integrating the code directly?
- Does the jar have to be signed like the apk needs to?
Google just release a new version of the SDK that handles Shared Libraries!
https://developer.android.com/tools/projects/projects-eclipse.html#SettingUpLibraryProject
ADT 0.9.7 (May 2010)