Use Intent.FLAG_ACTIVITY_CLEAR_TOP|Intent.FLAG_ACTIVITY_SINGLE_TOP. On Sat, Jun 18, 2011 at 11:31 PM, Hitendrasinh Gohil <[email protected]> wrote: > 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 [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en >
-- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training...At Your Office: http://commonsware.com/training -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

