Saturday, June 18, 2011

[android-developers] how to call existing activity from onclick of status bar notification?

Hi,

I am binding service to playerview activity and setting the values
from server to player activity.I am not finishing my playerview
activity.when i click on status bar notification newactivity is
called.I dont want that.i want to call existing activity so that i
doesnt have need to change the details(fetch from server).

currently i m using
PendingIntent
pendingIntent=PendingIntent.getActivity(getApplicationContext(),0,
intent,Intent.FLAG_ACTIVITY_CLEAR_TOP);

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