How to achieve modularity structure of app subcomponents on Android?

Android allows you to loosely couple applications together with Intents and ContentProviders so it should be possible to achieve what you're looking for. The hard part will be planning everything up front, so you have logical divisions of functionality (and so things plug together easily).

Android allows you to loosely couple applications together with Intents and ContentProviders, so it should be possible to achieve what you're looking for. The hard part will be planning everything up front, so you have logical divisions of functionality (and so things plug together easily). I want to keep in the database the modules that are installed/present.So I must put sometimes the modules into database, maybe by detecting if there are present at launch time.

The main app will work based on these modules. You can register a BroadcastReceiver for ACTION_PACKAGE_ADDED, which will fire whenever a new application is installed. Your main application should be able to use this to determine when additional modules are installed.

In what format will I offer the modules? You probably want to still package the modules as apks so they can be uploaded to the marketplace. If you want them to not appear in the launcher (the app drawer), you can always remove the default and the app will not be launchable (but still be removable).

How do I have to create this using Eclipse? Your modules would still be standalone applications. How will the user add/remove modules?

From the marketplace or direct downloads off of the web (if you want).

– Pentium10 Feb 9 '10 at 22:16 A BroadcastReceiver doesn't run continuously like a Service and should be "enabled" as soon as your app is installed, although, like all Android application elements, it can be killed by the system. – Erich Douglass Feb 10 '10 at 1:30 I didn't get the answer for my question. If my app is not started, when will it receive the BroadcastReceiver event of ACTION_PACKAGE_ADDED?

– Pentium10 Feb 10 '10 at 7:59 If you create a BroadcastReciever to listen for ACTION_PACKAGE_ADDED, it will receive the event when a new package is installed even when your app is not running. – Erich Douglass Feb 12 '10 at 16:43.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions