Android Open Source - roborouter Authenticator Service






From Project

Back to project page roborouter.

License

The source code is released under:

Apache License

If you think the Android project roborouter 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.raycoarana.roborouter.sample.auth;
/*from ww w.j a va 2  s . c o  m*/
import android.app.Service;
import android.content.Intent;
import android.os.IBinder;

public class AuthenticatorService extends Service {

  // Instance field that stores the authenticator object
  private Authenticator mAuthenticator;

  @Override
  public void onCreate() {
    // Create a new authenticator object
    mAuthenticator = new Authenticator(this);
  }

  /*
   * When the system binds to this Service to make the RPC call
   * return the authenticator's IBinder.
   */
  @Override
  public IBinder onBind(Intent intent) {
    return mAuthenticator.getIBinder();
  }

}




Java Source Code List

com.raycoarana.roborouter.RoboRouterBuilder.java
com.raycoarana.roborouter.RoboRouter.java
com.raycoarana.roborouter.sample.LoginActivity.java
com.raycoarana.roborouter.sample.MainActivity.java
com.raycoarana.roborouter.sample.SampleApplication.java
com.raycoarana.roborouter.sample.WalkthroughActivity.java
com.raycoarana.roborouter.sample.auth.AuthenticatorService.java
com.raycoarana.roborouter.sample.auth.Authenticator.java