相关疑难解决方法(0)

onConnectionFailed:ConnectionResult.getErrorCode()= 4

在这里我正在做google + integartion.i我正在使用以下代码,但我面临的错误是:onConnectionFailed:ConnectionResult.getErrorCode()= 4.所以请任何人帮助我,告诉我在这段代码中我做错了什么为我提供解决方案.我将非常感谢你.我搜索了很多但没有发现任何东西.我正在使用Google plus的快速样本.还有另外一个问题我不能像生日那样的个人信息码.

 public class GooglePlus extends FragmentActivity implements
            ConnectionCallbacks, OnConnectionFailedListener, View.OnClickListener {
        String fb_userId, fb_username;
        SharedPreferences pref;
        SharedPreferences.Editor editor;
        private static final int STATE_DEFAULT = 0;
        private static final int STATE_SIGN_IN = 1;
        private static final int STATE_IN_PROGRESS = 2;

        private static final int RC_SIGN_IN = 0;

        private static final int DIALOG_PLAY_SERVICES_ERROR = 0;

        private static final String SAVED_PROGRESS = "sign_in_progress";

        // GoogleApiClient wraps our service connection to Google Play services and
        // provides access to the …
Run Code Online (Sandbox Code Playgroud)

android google-plus

6
推荐指数
1
解决办法
5919
查看次数

标签 统计

android ×1

google-plus ×1