title: Facebook Login button for login in android app
body: <p>I've created a Facebook login Button in my application. This is my Java code, my activity extends <code>FacebookActivity</code>:</p>
  
  <pre><code>public void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_login);
                  loginButton = (LoginButton) findViewById(R.id.authButton);
          loginButton.setUserInfoChangedCallback(new  LoginButton.UserInfoChangedCallback() {
              @Override
              public void onUserInfoFetched(GraphUser user) {
                  LoginActivity.this.user = user;
  
              }
          });
  }
  </code></pre>
  
  <p>With this code I'm getting the facebook login. Now I want to start an activity after successful login. Also I want to store the login id entered by the user for login.</p>
  
  <p>currently I'm trying to override onComplete method in my activity. Which is giving me error, <code>The method onComplete(Bundle) of type LoginActivity must override or implement a supertype method</code>. I'm using facebook-android-sdk-3.0.2.</p>