Android GCM RegistrationID Error

view full story

http://stackoverflow.com – I have a device that is already registered with the GCM. I've tried searching, but I wasn't able to find any similar problems. Most users seem to have issues getting the getRegistrationId to return a non-empty string. Any ideas on why this causes an error? public class UploadOption extends Activity{ Intent extras = getIntent(); String optionid = extras.getStringExtra("KEY_OPTION"); String duration = extras.getStringExtra("KEY_DURATION"); String reward = extras.getStringExtra("KEY_REWARD"); @Override public void onCreate(Bundle savedInstanceState) { // TOD (HowTos)