i have an android app which uses data stored in an google appengines datastore. Every user has his own data. Im searching for a good way to use a google account for authentication and as a primary key in the database.
Can i use the AuthToken generated by the AccountManager? What is the best way to do this?
Thx a lot, Ray
Once the other Google account is added, open the “Google Play” app. button located at the upper-left corner of he screen. Select the small arrow next to your google account, then choose the other account listed. > “My apps” to download and install the apps that are purchased under the other account.
1.1 Set up your work account On your Android device, go to your account settings. Add your Google Workspace account and follow the instructions. After you finish, you see a message that says your account sign-in was successful. Choose which products you want to synchronize to your device.
This wikiHow teaches you how to add another Google account to an Android phone or tablet. Open your Android’s Settings . You’ll usually find this app in the app drawer, but you may also be able to find it in your Android’s notification panel. Scroll down and tap Accounts. Tap Add Account. It’s at the bottom of the menu. Tap Google.
1 Open a Google Play app. 2 At the top right, tap your profile picture or initial. 3 Tap the Down arrow . 4 Select an account. See More...
On your Android phone or tablet, open your device's Settings app Google Manage your Google Account. At the top, tap Security. Under "Signing in to other sites," tap Signing in with Google.
It’s just as easy to work with multiple Google accounts on a mobile device. Let’s use the Hangouts mobile app as an example. Click the triangle to the right of the currently logged-in account. Click “ Manage Account ”. You can see all the accounts you can use, and click “ Add another account ” to log in with a different one.
You can follow Nick Johnson's approach: http://blog.notdot.net/2010/05/Authenticating-against-App-Engine-from-an-Android-app.
And yes you can use AuthToken from AccountManager.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With