Vote count:
0
The Registration ID is not being passed. Thus, i cannot proceed to push the message. This Source code is directly taken from Amazon SNS Push Notification Service.
String token;
try {
token = gcm.register(getString(R.string.project_number));
Log.i("registrationId", token);
}
catch (IOException e) {
Log.i("Registration Error", "mesgerror " + e.getMessage());
}
return true;
}
}.execute(null, null, null);
}
public IBinder onBind(Intent arg0) {
return null;
}
}
asked 58 secs ago
Why the registration ID is not being passed?
Aucun commentaire:
Enregistrer un commentaire