How to send Push Notifications from iPhone?

How would I send push notifications to android from website?

  • Hello. I am working on an android app and would like to know, how would I send push notifications. I have push notifications working with Gcm, but I can't get it to work from a web site. For example, I have a web server and an app, I want to allow users of my app to receive notifications from the website portion of the app.

  • Answer:

    I made a location based Android chat application using GCM which had some basic functionalities. This is what the app basically does: send message from Android device A to my web server the web server sends that message to GCM servers the GCM servers send the message to the intended recipient (Android device B) I don't know if this is what you exactly want, but I am guessing you are doing something along these lines. Here is a link to my project: https://github.com/kb14/Cerebro1 Like says, there is no point in explaining how to use GCM and Web Servers in an application here. The internet is full of such tutorials. Do have a look at my code and if you need any help on that, comment.

Kangkan Boro at Quora Visit the source

Was this solution helpful to you?

Other answers

Looks like you need to use CDM (Cloud to Device Messaging). Now to explain it here is stupid because there are a huge number of websites that does the same in a neat fashion. A simple Google search would have got you the results. Go to: http://www.vogella.com/articles/AndroidCloudToDeviceMessaging/article.html  Currently depreciated. Check out the new GCM. http://developer.android.com/google/gcm/index.html If you want to migrate from CDM to GCM http://developer.android.com/google/gcm/c2dm.html Here is a demo project that you can check out. https://github.com/tokudu/AndroidPushNotificationsDemo Its Opensource, feel free to use the same code you like to copy-paste. Comment for more help.  :)

Don Peter

I mainly prefer Google cloud messaging as the best option. But as you have mentioned that you are facing the issue with GCM so better you can contact the service provider and get the help from them. I also suggest you to check with online FREE GCM tutorial where you would get the help for sure @ http://learnsauce.com/googlecloudmessagingtutorial/

William Harris

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.