We want to develop and extensible Android application, and are looking for a way to handle plugins.
What do you think would be the best approach:
Using Android's PackageManager. The problem here is that the PM isn't designed with plugins in mind, so we'd have to implement functionalities such as dependency checks ourselves.
Using an existing Java framework such as JPF (Java Plugin Framework) or OSGi. OSGi looks too massive for us, and there's isn't too much information available about JPF on Android.
Other ideas?
What exactly do you mean with "plugin"? With the Intent
and IntentFilter
concept you can already do many things I would call "plugin". For example, you can allow other applications to add entries in your context menu.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With