Get android mobile token for Push notifications

D_R picture D_R · Dec 26, 2012 · Viewed 7.4k times · Source

I have a android application which sends to my PHP script the following information: mobile_id, os_version, app_version.

Is it possible to retrieve the android device token from those parameters? I've heard you should connect to google somehow to get it..

But, I couldn't find any information about..

I'm newbie to android applications. any help will be appreciated:)

Answer

Pratik Sharma picture Pratik Sharma · Dec 26, 2012

You need to implement GCM to do so.

Please follow this link for details explanations.

Google Cloud Messaging

Thanks.