Sunday, June 12, 2011

[android-developers] service and Intent

My app has an service that does a background job.

On completion, I post a notification...when the user
taps on the notification...it shoots an Intent to my
main UI activity and loads it w/ data from the service
(passed as Intent extras).

Problem is some users are getting confused with
this extra step requirement (e.g. can't find
notification bar???)

Is there any way from my service to directly invoke
my main activity (same app) and load w/ passed data.

Important requirement - if an instance is already
running (which will be most of the time) - i would like
that instance to be updated.

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment