请在此处帮助我。我在注册c2dm服务时收到了authentication_failed错误。我已在我的模拟器中登录开发者帐户。注册时出现Android C2DM AUTHENTICATION_FAILED错误
Intent registrationIntent = new Intent("com.google.android.c2dm.intent.REGISTER");
registrationIntent.setPackage("com.google.android.gsf");
registrationIntent.putExtra("app", PendingIntent.getBroadcast(this, 0, new Intent(), 0));
registrationIntent.putExtra("sender", "[email protected]");
startService(registrationIntent);
在BroadcastReceiver类中,我得到了authentication_failed错误。请指导我在哪里我错了。
这个“[email protected]”与你的android手机同步吗? – MobiDev 2012-03-13 07:06:24
我手动同步.. – Neela 2012-03-13 13:22:49