SBNTT SBNTT - 1 month ago 19
Android Question

How can i get android notification on youtube video upload?

I'm coding a youtuber's android application.
It's almost done, but I would like to show a notification when a video has been uploaded (just like official youtube app do).
I don't wan't to frequently wake up the app and check if a new video is available...
I found that (push notifications), but don't understand how to implement it into my app...

Can someone explain me how to achieve that ?

Thanks !

Answer

I'd use the youtube push notifications in coordination with GCM to achieve this: https://developers.google.com/cloud-messaging/android/client

Use the GCM server to in coordination with the youtube API to get the new video information, and then publish the notification about the new video to the application.