Re: [android-developers] PendingIntent question

2011-04-16 Thread TreKing
On Fri, Apr 15, 2011 at 7:43 PM, dashman erjdri...@gmail.com wrote: what i'd like to do is to call the activity immediately from the background service Don't do that. The user doesn't need some activity popping up at some random time. Keep your notification scheme to let the user start the

[android-developers] PendingIntent question

2011-04-15 Thread dashman
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...