google cloud messaging - Does GCM need a Phonenumber? -


hi i'm creating gcm application

on normal galaxy s4 works, on dev phone (galaxy s1, 2.3.3, without sim, own google account) keep getting error

java.io.ioexception: service_not_available @ com.google.android.gms.gcm.googlecloudmessaging.register(unknown source) 

my register code

if (gcm == null) {     gcm = googlecloudmessaging.getinstance(context); } regid = gcm.register(sender_id); 

any hints why?

gcm not need phone no. not require have sim installed in device.

it requires internet connection, google account setup in phone, google play store present , should linked same google account.


Comments

Popular posts from this blog

c++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

VBA function to include CDATA -