Have a BroadcastReceiver which I want to create a PendingIntent inside the onReceive method
public class MyPushNotificationReceiver extends BroadcastReceiver {
..
public void onReceive(Context context, Intent intent) {
// How to start a PendingIntent here?
}
Most of the doc from Google is not starting within the onReceive method, so any sample cod e I can use?
Thanks.
a sample code which uses a pending intent in broadcast reciver pls check
this code is from vogella …