-1
嗨,大家我试图建立一个新的推送通知应用程序,我遵循教程,所以我: 1- Myphp服务器上的Mysql数据库 2- php项目使用Netbeans 3- Android应用程序使用googleplay自由和GCM使用eclipse推送通知Android,Php,MySql不起作用
我不知道我是否应该做一些事情,而不是在模拟器上运行应用程序,我应该运行php项目?
请人帮助我,当我在我的模拟器坠毁运行它,并得到这些错误
private boolean isGoogelPlayInstalled() {
GoogleApiAvailability api = GoogleApiAvailability.getInstance();
int resultCode = api.isGooglePlayServicesAvailable(this);
if (resultCode != ConnectionResult.SUCCESS) {
if (api.isUserResolvableError(resultCode)){
api.getErrorDialog(this, resultCode, REQUEST_GOOGLE_PLAY_SERVICES);
} else {
Toast.makeText(getApplicationContext(),
"Google Play Service is not installed",
Toast.LENGTH_SHORT).show();
finish();
}
return false;
}
return true;
}
请不要将错误发布为图片,尤其是裁剪后的图片。始终链接到您正在使用的教程。如果你无法根据教程获得工作,并且不知道该怎么做,那么可以获得更好的教程。 –
发表您的代码和MainActivity行92 .... –
@ helldawg13I编辑帖子...你可以找到92行是我的发布代码第二thine –