I hope that receiving a push-notification (c2dm) reception display
Notification. This Notification start, whith PendingIntent, an
Activity that display a pop-up. This popup launch my application when
clicking on the ok button.
Here is the code executed at the reception of push-notification :
For status bar icon we used
Intent contentIntent = new Intent(this,KeypadLayout.class);
contentIntent.setFlags( Intent.FLAG_ACTIVITY_NEW_TASK);
PendingIntent appIntent =PendingIntent.getActivity(this,0,
contentIntent, 0);
Notification notification = new
2 matches
Mail list logo