// Path: app/src/main/java/com/testerhome/nativeandroid/views/UserLoginActivity.java
// public class UserLoginActivity extends BackBaseActivity {
// 
// }


import android.accounts.AbstractAccountAuthenticator;
import android.accounts.Account;
import android.accounts.AccountAuthenticatorResponse;
import android.accounts.AccountManager;
import android.accounts.NetworkErrorException;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import com.testerhome.nativeandroid.views.UserLoginActivity;
package com.testerhome.nativeandroid.auth;



/**
 * Created by vclub on 15/10/13.
 */
public class UserAccountAuthenticator extends AbstractAccountAuthenticator {
    private String _tag = "UserAccountAuthenticator";
    private Context _context;

    public UserAccountAuthenticator(Context context) {
        super(context);
        _context = context;
    }

    @Override
    public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) {
        return null;
    }

    public Bundle addAccount(AccountAuthenticatorResponse response, String accountType, String authTokenType, String[] requiredFeatures, Bundle options)
            throws NetworkErrorException {
        Log.d(_tag, accountType + " - " + authTokenType);
        Bundle ret = new Bundle();

// Path: app/src/main/java/com/testerhome/nativeandroid/views/UserLoginActivity.java
// public class UserLoginActivity extends BackBaseActivity {
// 
// }


// Path: app/src/main/java/com/testerhome/nativeandroid/auth/UserAccountAuthenticator.java
import android.accounts.AbstractAccountAuthenticator;
import android.accounts.Account;
import android.accounts.AccountAuthenticatorResponse;
import android.accounts.AccountManager;
import android.accounts.NetworkErrorException;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import com.testerhome.nativeandroid.views.UserLoginActivity;

package com.testerhome.nativeandroid.auth;



/**
 * Created by vclub on 15/10/13.
 */
public class UserAccountAuthenticator extends AbstractAccountAuthenticator {
    private String _tag = "UserAccountAuthenticator";
    private Context _context;

    public UserAccountAuthenticator(Context context) {
        super(context);
        _context = context;
    }

    @Override
    public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) {
        return null;
    }

    public Bundle addAccount(AccountAuthenticatorResponse response, String accountType, String authTokenType, String[] requiredFeatures, Bundle options)
            throws NetworkErrorException {
        Log.d(_tag, accountType + " - " + authTokenType);
        Bundle ret = new Bundle();

        Intent intent = new Intent(_context, UserLoginActivity.class);