Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Plugin Management for an Android application

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?

like image 321
MasterScrat Avatar asked Jan 21 '23 12:01

MasterScrat


1 Answers

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.

like image 140
Christian Gawron Avatar answered Jan 31 '23 09:01

Christian Gawron