Android Push Notification Without GCM(Google cloud messaging)
-
I want to implement push notifications in my android applications is it any way to implement without using GCM(Google cloud messaging).
-
I want to implement push notifications in my android applications is it any way to implement without using GCM(Google cloud messaging).
Why have you posted the same question twice three times?! If you want to change your question, there's an "Edit" button at the bottom of your posts.
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
-
I want to implement push notifications in my android applications is it any way to implement without using GCM(Google cloud messaging).
you can go with notification alert setContentView(R.layout.notification_alert); /*********** Create notification ***********/ final NotificationManager mgr=(NotificationManager)this.getSystemService(Context.NOTIFICATION_SERVICE); Notification note=new Notification(R.drawable.stat_notify_chat, "Your Status message!", System.currentTimeMillis()); // This pending intent will open after notification click PendingIntent i=PendingIntent.getActivity(this, 0, new Intent(this, NotifyMessage.class), 0); note.setLatestEventInfo(this, "Your Notification Title", "This is the Your notification message", i); //After uncomment this line you will see number of notification arrived //note.number=2; mgr.notify(NOTIFY_ME_ID, note);
Regards,