I have some questions on using a lgpl library in my android app:
- Is it possible to have the library anywhere else in my apk – not in
the .dex-file? - If I create a service in the same project, is the service within the .dex-file?
- Can android apps consist of more than one .dex-file in the apk?
- Is there a way to automatically install another apk during installation (without asking the user/without searching it first)?
Thanks,
Florian
Regardless of the legal status (IANAL), I can’t really see a scenario where you could technically achieve this.
As I understand it, Java libraries used in an android app have to supplied both to the dx compiler and apkbuilder, so that nixes #1. The input to dx also includes your compiled aidl source, so that’s a “yes” on #2. Next, I believe there can only be one classes.dex file in an android app so #3 is out. Not sure about #4 (based on Matt Wolfe’s comment this is also a no). Hope that helps clarify things, good luck …
Reference:
http://www.alittlemadness.com/2010/06/07/understanding-the-android-build-process/