android - Starting an IntentService at Background with a BroadcastReciever -
i coding app intentservice sends custom intent when job done. starts other intentservice.
in order that, used broadcastreciever in mainactivity.
my question if mainactivity goes background, onstop, broadcastreciever still work? if wouldn't, start new intentservice broadcastreciever? mean, since intentservice stops after job done, intentservice broadcastreciever work until mainactivity onstart?
after registe broadcast receiver android framework, broadcast sent app no matter app running in background or foreground.
if registe broadcast receiver in androidminifest.xml, if app has been stopped or destroyed, when broadcast coming, app's receiver load start again.
Comments
Post a Comment