コード例 #1
0
        public override void onReceive(Context context, Intent intent)
        {
            bool isConnected = intent.getBooleanExtra("isConnected", false);

            Log.d(TAG, "Connected : " + isConnected);

            Toast.makeTextuniquetempvar.show();
        }
コード例 #2
0
		public override void onReceive(Context context, Intent intent)
		{
			bool isConnected = intent.getBooleanExtra("isConnected", false);

			Log.d(TAG, "Connected : " + isConnected);

			Toast.makeTextuniquetempvar.show();

		}
コード例 #3
0
        protected internal override void onStart()
        {
            base.onStart();
            Intent intent  = Intent;
            bool   signout = intent.getBooleanExtra("SIGNOUT", false);

            if (signout)
            {
                signOut();
            }
            else if (!mGoogleIntentInProgress)
            {
                // auto sign in
                mGoogleApiClient.connect();
            }
        }