Use modularity in Android
The goal is to be able to develop modules/plug-ins (APKs) for the main application.
I googled and found that intent can be used via broadcast receiver ( http://www.openintents.org/ ), but the downside of this approach is memory consumption because I would be using multiple virtual machines.
nothing very clear about android, only one application is implemented using Apache Felix OSGi, but a lot of errors were found when trying to configure ( http://www-irisa.univ-ubs.fr/CASA/dev/felixdroid/index.html)。
I found no up-to-date examples being developed/used. I wonder if there are some powerful strategies (for OSGI) these days for those who want to offer modularity in Android apps?
If anyone knows of any frameworks or APIs, please let me know?
Late last year, I gave a talk about using OSGi in Android
- Android sets some limits on your modularity (no runtime linking, so you either don’t use it or design your API very carefully).
- Prefer services to bundles.