Android Open Source - google_oauth2_android_example Main Activity






From Project

Back to project page google_oauth2_android_example.

License

The source code is released under:

Apache License

If you think the Android project google_oauth2_android_example listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.example.oauth;
//from  w w w.  j a v  a2s .  com
import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;

public class MainActivity extends Activity {

  @Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);
    
    Intent i = new Intent(this, GoogleLoginActivity.class);
    startActivity(i);
  }
  
}




Java Source Code List

com.example.oauth.GoogleLoginActivity.java
com.example.oauth.MainActivity.java
com.example.oauth.fragment.SelectAccountDialogFragment.java