Friday, April 15, 2011

[android-developers] PendingIntent question

i create PendingIntent and notification from a service.

PendingIntent contentIntent = PendingIntent.getActivity( context, 0,
notificationIntent, PendingIntent.FLAG_CANCEL_CURRENT );

it creates a notification, user taps on the notification and then
the activity gets called...

works fine.

what i'd like to do is to call the activity immediately from the
background service and then have the notification act as more
of a message to user that the activity was called.

--
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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate