Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Mobile Development
  3. Android
  4. Android Push Notification Without GCM(Google cloud messaging)

Android Push Notification Without GCM(Google cloud messaging)

Scheduled Pinned Locked Moved Android
cloudandroidhosting
3 Posts 3 Posters 4 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    nileshandroid18
    wrote on last edited by
    #1

    I want to implement push notifications in my android applications is it any way to implement without using GCM(Google cloud messaging).

    Richard DeemingR U 2 Replies Last reply
    0
    • N nileshandroid18

      I want to implement push notifications in my android applications is it any way to implement without using GCM(Google cloud messaging).

      Richard DeemingR Offline
      Richard DeemingR Offline
      Richard Deeming
      wrote on last edited by
      #2

      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

      "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

      1 Reply Last reply
      0
      • N nileshandroid18

        I want to implement push notifications in my android applications is it any way to implement without using GCM(Google cloud messaging).

        U Offline
        U Offline
        User 10690126
        wrote on last edited by
        #3

        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,

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups