• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Android Push Notification via GCM

rony2006

Lurker
Hello,
Can anybody show me an example of how I can do a Push Notification app?
I only want to send some simple text from a web page, and received it as a push notification on my android phone.

I saw that this can be done through GCM and I tried some tutorials from internet but they are outdated and not working.

Thank you!
 
Application Development thread moved to the Development forum for better exposure.:)
 
I am new to android an I need an aplication that send a text from web server and receive it like a push notification on an android phone.

I found a code at Learn Sauce about GCM implementation, and the problem is that when I send a text from my server, I receive a notification on the mobile phone but instead of my text, I receving "null".

If I send a text from my application to my username, I receive the text that I sent as a notification.

Can you help me please to solve the problem?

The source code and instructions that I followed can be found here: https://drive.google.com/open?id=0B6YK9uX7nLG8M2VMOWc1cktNNkE

Thank you!

google-cloud
 
Back
Top Bottom