This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.google.android.gms.common.AccountPicker; | |
import android.accounts.AccountManager; | |
public class MyActivity extends Activity { | |
// a number to distinguish this startActivityForResult from any others | |
private static final int GET_GOOGLE_ACCOUNT = 1; | |
@Override | |
protected void onCreate(Bundle savedInstanceState) { |