• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Writing shared libraries for Android


Dec 2, 2009
I am planning on writing a library on top of which other apps can be built. In particular, I want to port a new language to Android. The language currently compiles to Java bytecode, so it seems simple enough to convert it to the .dex format required by Android.

The runtime for the programming language isn't particularly small (500k for the JVM core and more for the libraries). If I have multiple apps that all use this runtime, it would be a terrible waste to bundle it with every install (essentially, statically linking the runtime). What I want to do is to share the runtime between the multiple apps that need it (essentially dynamic linking).

Is this possible? I'm hoping I can do this without needing root access.


We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.