I need help! 🙂
I have an application and want to make it modular, but the modules will be loaded automatically. Let me explain:
Consider an application “B” (as a conventional project of android). When I access the application “A” will appear a button: Load application “A”, but “A” search and found “B” are installed on system automatically.
I would like application “A” detects automatically (according to some rules) that “B” is a module of the application “A”.
Thanks for all.
idea 1 :
you can list the installed applications using the getInstalledPackages function of the packagemanager
idea 2:
make a module register service which can then be queried
idea 3: create a file on the sdcard which lists the installed apps
Then you can use intents to start the apps