Monday, September 19, 2011

Android: Refresh Activity from Notification

Android: Refresh Activity from Notification;

When creating the pending intent, one should pass PendingIntent.FLAG_UPDATE_CURRENT as such: PendingIntent contentIntent = PendingIntent.getActivity( context, 0, notificationIntent, PendingIntent.FLAG_UPDATE_CURRENT );

No comments:

Post a Comment

Check out this may be help you

Related Posts Plugin for WordPress, Blogger...