这个方法一直返回0。根据开发者文档,如果设备已经获得了最新版本的 Google Play,则此方法应该返回类似于“SUCCESS”的结果。有人知道如何使用它吗?
@Override
public void onResume() {
super.onResume();
GooglePlayServicesUtil.isGooglePlayServicesAvailable(getApplicationContext());
System.out.println("henkie: " + GooglePlayServicesUtil.isGooglePlayServicesAvailable(getApplicationContext()));
}