• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps When and where is it better to use Instrumentation, IntentService and BroadcastReceiver?

QuickNick

Newbie
I've researched the package android.app and few questions have been appeared.

1)When and where do you use android.app.Instrumentation? May you give an exact example?
2)I've read about IntentService: "IntentService is a base class for Services that handle asynchronous requests (expressed as Intents) on demand". But, documentation about BroadcastReceiver claims almost the same: "Base class for code that will receive intents".
When is it better to use BroadcastReceiver and when - IntentService?
 
Back
Top Bottom