Android tutorial: Push notification using Google Cloud Messaging (GCM) - Part 1

preview_player
Показать описание
Sample push notification using Google Coud Messaging (GCM)
- Part 1 : Send request from device to GCM server for registration and get the token key
-----Link-----
Рекомендации по теме
Комментарии
Автор

I am new to this Push notifications, Mobile App and GCM technology. I searched for learning. As this time, I found this video with such greatest background music. Apart from the concept, I like the taste of this Author. Rocking Bro ... Rocking Bro.. Beautiful Background Music. Thank you so much for that.

BaluKompalli
Автор

in GCMPushReceiverService, in sendNotification, you have .setContentText twice. I believe the first time you meant .setContentTitle

Thanks for the tutorial!

cablio
Автор

Thanks a lot for this great tutorial. It works.

monsieurbokonda
Автор

Works perfectly thanks!

Only thing was that my app didn't recognize R.string.gcm_defaultSenderId in spite of having the plugin. I got around this for now by just entering the ID directly

LyssusX
Автор

Good day Tori i have a question, i need to send a user and the tokenid i think in a login but im new and this app when i open it do the registration of the token

juliopollo
Автор

hi. this is great and it is very helpful for me that learn to how implement push notification.

shaileshlimbadiya
Автор

One Question:
Can i use this for sending the data(like images or a whole fragement) also?

tavishbarua
Автор

Hello, it works so well. By the way, if I want to send message to more than one Device Token, what could do? Thanks in advance.

bunthealythy
Автор

thanks for tutorial...thanks for details

letmeknow
Автор

Hello, i am running on live android device .. The token is displaying but the issue is that i am not getting reports in logcat (android studio) why is that so ?

kushal
Автор

sir just question in class
GCMRegistrationIntentService
i got error that says cannot resolve symbol 'gcm_defaultSenderId'

AND where to put the downloaded json

vincentpusing
Автор

thnx for the tuts sir, where to use request code that got from google.i am getting java.io.IOException: SERVICE_NOT_AVAILABLE...how to clear this exception..

Manoj-qfzp
Автор

hi I have followed throughout the first part of your tutorial but I have found some problems with Androidmainfest.xml and then with R which is not recognized,
if I write your email maybe I can send you some screen
thanks

vincenzobombace
Автор

It ran on Bluestack but on my phone (marshmallow), the application stops before showing anything.
Is there anything that I need to correct? Is it because of marshmallow??

MrWarrior
Автор

hey tori I have setup the gcm servise in my app and it's showing success in sending message but the notification isn't displayed on my device [Moto G3]
Can you help me !!! ty :)

Shailendrasingh-cgjb
Автор

At this line,
InstanceID instanceID =

My InstanceID is not recognized why? 7:30

dinishugo
Автор

nice work, amazing ^_^
But why u use
compile
not the
compile

and where is part2
please
Thanks

mohamedalshaowesh
Автор

i have an error in my log after compiling it.
you declared this activity in menifest ..
help me get out of this..

AnkushKumar-yplb
Автор

Nice Work Bro
Please upload server side part ...
i need it urgently ...

JayGandhi
Автор

Do you have implementation for ios pushing?

enriqueyahcenteno
welcome to shbcf.ru