Android :: Com.google Authenticator For New Android.accounts.AccountManager API

Nov 12, 2009

I am working on writing (and eventually releasing on the Android marketplace) a Google authenticator that will authenticate with Google and return a Google Auth Token (see: http://code.google.com/apis/gdata/docs/auth/overview.html). The ultimate goal is to have this authenticator mirror the behavior of the com.google authenticator that comes with the Motorola Droid.

This will hopefully allow developers to have such an authenticator available to them on the SDK emulator as well as end-users with any phone running Android 2.0 that does not have the official Google version of the authenticator (ie: custom ROMs, future phones that don't get the full Google package, etc.).

Also, since there is no word on how long before any phones besides the Motorola Droid get Android 2.0, this will hopefully allow developers to start leveraging the new AccountManager APIs sooner rather than later (ie: via the SDK emulator).

I have created an open source project for this endeavor (see link below) that contains the first bit of work I have done on getting the Authenticator writen. If you are interested in contributing let me know, I am definitely open to the help or if you can offer insight as to the proper use of the new AccountManager API or some place I am using it wrong it would be much appreciated. Worst case scenario I'll plug away at this in my free time and at least people can use it as a reference for writing their own Authenticators in the future. [url]

Android :: com.google Authenticator for new android.accounts.AccountManager API


Android :: AccountManager Authenticator Only Runs Once Per Emulator Restart

Nov 24, 2009

I have written a simple Authenticator service to work with the new AccountManager API introduced in 2.0. When I launch a test app that uses the authenticator the authenticator service is launched (as expected) and it's onBind method is called. However, if I run my test application a second time in the same emulator (without restarting the emulator) my service is not launched and onBind is not called.

So far the only way I have found to get my service to launch and onBind to call again is to restart the emulator, which is a very time consuming process. I have looked at the Devices view in Eclipse and ensured that all of my processes have been killed, just in case one of them was just being rebound to or something.

View 2 Replies View Related

Android :: Official Way To Authenticate For Google Data API On Android Using AccountManager Accounts?

Aug 16, 2010

I'm trying to use the Google Data API for an installed application on Android 2.1. I don't want the user to have to enter their credentials if he already has an account configured on the device. Thus, I'm using the AccountManager with Account type "com.google".

But where to go from there? There are no samples from Google on how to do Google authentication (authTokenType etc.). There's a project trying to do it (http://code.google.com/p/google-authenticator-for-android) in a general way but without any success, yet.

This is really keeping back applications like Google Reader clients which have to ask the user for their Google credentials (which hopefully nobody gives them).

View 2 Replies View Related

Android :: Com.google.gdata.client.GoogleService.setUserToken - Android.accounts.AccountManager.getAuthToken?

Jan 8, 2010

I've got working code that uses the gdata to retrieve feeds from my user's Google Finance portfolios, but I had to use setUserCredentials(username,password). What I'd like to do is avoid asking the user for their username/password since the Android device already has access to their Google account.

I believe I should be able to do this with setUserToken(String), but I can't figure out how to get the appropriate token from Android. I've tried AccountManager.get(context).blockingGetAuthToken() but that's either not the correct call or I'm passing it the wrong arguments. Has anyone gotten gdata working with the user's existing Google credentials on the phone?

View 1 Replies View Related

Android :: AccountManager And Google App Engine

Nov 5, 2009

I'm currently working on a project that uses Google App Engine as a server. I see that prior to the Android 2.0 SDK there was no way to directly access a user's Google Account information for the purposes of authentication. Do the new Account Manager APIs now make it possible to automatically log a user into a GAE app? Is anyone else working on something like this? Are there any publicly available examples on how to accomplish this?

View 2 Replies View Related

Android :: Google Apps And Google Accounts Merging - Android Impact?

Jul 5, 2010

According to: What's changing : About the conversion - Accounts Help, Google will be merging Apps Accounts and regular accounts. Anyone know how this might impact Android? I currently use an Apps account and a regular account both with a myname@mydomain.com login. Once I got the hang of which services used apps vs, regular vs. both (and how to tell which one I was using for what), this seems to work OK on the desktop. But on Android certain services like Checkout seem to only work with @gmail.com accounts. I wonder if this change will make things more or less confusing on Android.

View 13 Replies View Related

Android :: AccountManager Without A SyncAdapter?

Jun 21, 2010

I'm trying to use AccountManager to store account information and have implemented an authenticator, but I keep getting exceptions like the below that crash the phone. Comparing with sample code this seems to be because I don't have (or particularly want) a SyncAdapter and associated service. Is there a trick to using AccountManager without adding a SyncAdapter?

CODE:.................

View 4 Replies View Related

Android :: LVL And Google Apps Accounts

Oct 20, 2010

The primary account on my N1 is a Google Apps account. I added code to one of my apps to support the LVL. Now I am trying to test it on my N1. Since the address associated with my market publisher acct is an @gmail address and not my Google Apps account the license check fails every time. I tried adding my Google Apps account to the list of "test" accounts in my profile. It continues to fail. Has anyone else encountered this? Has anyone been successful using a Google Apps account as a test account?

View 3 Replies View Related

Android :: Sync With 2 Google Accounts

Apr 15, 2010

I have one gmail (personal) account, and one google account (for work, not email, just google services account).My main account is my gmail one on android and it's fine.But I would also like to see my work contacts and calendar.I added it to my "accounts & sync settings" but it always said "Sync is OFF", no way to turn it on for this account.Just to make it clear, my work account is NOT a gmail account, I use my work email address as a log-in for all other google services (mainly calendar and contacts)

View 2 Replies View Related

Android :: Setup For Multiple Google Accounts?

Jul 9, 2010

Here's the deal: I will be upgrading to the Droid X very soon. I know that when you setup the phone you have to tie it to a Google/gmail account, but what if my wife wants to check her email and stuff as well? She isn't going to have a smartphone of her own. Is there a way to designate an app or widget for her Google account on my smartphone? Or will she have to go through the browser every time and log-in?

View 2 Replies View Related

Android :: Syncing Two Google Calendars On Different Accounts Possible?

Aug 18, 2010

Is there any way to sync multiple google calendars on multiple accounts. I would like to have both of our calendars synced so we don't double book things. She has her own Android so we only want to sync the calendar.

View 4 Replies View Related

Android :: Switching Accounts In Google Talk?

Oct 20, 2010

I did a search and found some old (4-11 months old) threads but I'm hoping there's been some updates.I just decided to give Google Talk a whirl and it looks great, but the first account I added to my phone isn't the account I primarily use (which has the majority of my contacts). Is there a way to switch accounts in Google Talk so I have all the contacts from my main account?If not (that'd be something they need to address in a GTalk update) is there an app that will allow me to use the other?

View 3 Replies View Related

Android :: Can't Buy Applications Because Google Accounts Poorly Designed

Dec 11, 2009

My main Google account is a "Google Apps For Your Domain" (GAFYD) account. I have my Gmail, Calendar, etc. on this account. Unfortunately, GAFYD doesn't include Google Voice. Following the Google recommended method, I set up a regular Google Account for Google Voice (see here: Using your Google Apps address with Google Voice - Google Voice Help) that has the same username (but remains a distinct account). I do not have Gmail on this account because that would create issues. I set my phone up with my GAFYD account, as per this link: Android and G1 Forums, Mods, Hacks, News, Downloads, Skins, Themes, and more! | ModMyGphone - View Single Post - Primary Google Account in conjunction with Google Apps Account on Android Phone

Most functionality is there. In particular, Google Voice works with Gizmo and Sipdroid. However, there are some problems. Here's a thread discussing some of them: Anyone else having issues with your Google Apps for Domains account on the Droid? - Google Mobile Help

1. Cannot buy paid apps in the market.
2. Unable to use my maps layer in maps app.
3. Cannot login to google finance app.

I want to solve problem #1 - Cannot buy paid apps in the market. Many people are solving it by using another regular Gmail account. However, that's not working for me. I do have another regular Gmail account and I have been using it on my desktop computer for Check Out. However, Android on my Motorola Droid will not accept this account. I assume because it uses the same username as my GAFYD account (which is the way Google recommended doing it!). I have all my purchase history and credit card info in that account already. Creating YADGA ("yet another d*** Google account") is not an option.

View 2 Replies View Related

Android :: License Verification Library And Multiple Google Accounts

Aug 12, 2010

Does the Android License Verification Library support a device logged in to multiple Google accounts?

Does it use the first Google account to determine who purchased an app?

View 1 Replies View Related

General :: Browser Sign-in Method For Adding Google Accounts In Android?

Apr 16, 2012

Android 3 and 4 have a new option that allows the user to add new a Google Account to the phone by using the Browser Sign-In. The option is available when you try to add a new Google Account to Android (see screenshot).

Use Browser Sign-In with SAML based Single Sign-On? It is not working with our SAML setup.

View 1 Replies View Related

HTC Incredible :: 2.2 Google Accounts

Jul 28, 2010

It seems that 2.2 locks google talk into the first google account you sign up with.I thought on 2.1 I could sign in to the account I wanted to use, however it appears that's not the case now.I use gmail (for google checkout) however my main "google" account is an apps account.So I believe for the market to be associated correctly with my gmail account, that one needs to be created first.Any way to get google talk to use my apps account, or any way to play with the accounts (create, clear/remove, re-add) to get them setup so the market works with my gmail account but gtalk uses my apps account?

View 1 Replies View Related

HTC EVO 4G :: EVO Syncing To Google When There Are TWO Accounts

Sep 1, 2010

I've read and re-read and (still) read some more about this topic, but I am getting no where... Perhaps If I post the question, some one can PLEASE assist?I have a Gmail addy for a side business, and I created that account on my (EVO) phone "initially". I originally did a sync with it. However, after some thought, I decided to create a personal Gmail account and wanted ALL of my phone's contacts to sync with THAT newly created personal Gmail account. No can do.Although I have the original Gmail account's settings on "off" (not to sync at all), when I sync the phone to Google, all calendar events are there on the new G account, but NOT the contacts. They are simply not coming over?

View 6 Replies View Related

Samsung Galaxy S :: Why 2 Google Accounts?

Sep 21, 2010

I just got the Galaxy S yesterday and so far I love it.But when I added my Google account for syncing purposes, it sync'd my contacts and calendar twice.It's really annoying.So I get 2 email notifications for the same email and I see 2 of the same entries in my calendar.When I go into SETTINGS -> Accounts, I see 2 Google accounts. One has the Google symbol in Blue, the other is in Black.

View 1 Replies View Related

General :: Setup Two Different Google Accounts To Stream Music From Google Music?

Oct 8, 2012

Any way to setup two different google accounts to stream music from the google music service minus using two different devices. Is it even possible.

View 2 Replies View Related

Samsung Fascinate :: Multiple Google Accounts

Sep 26, 2010

I bought a Fascinate yesterday and I have two google accounts.The primary one works fine. However the second one has a calendar that's not being picked up by my phone.Under 'Accounts and sync 'Manage accounts there only 'Sync contacts' and 'Sync Gmail' but no 'Sync Calendar' like I can with my primary account.I set up the calendar in Google and got the mobile part registered and received the code and it says it's working...the phone just isn't realizing it's there.

View 8 Replies View Related

Motorola Droid :: TWO Google Voice Accounts?

Jan 13, 2010

I have two google voice accounts. On the first one, I did not choose a Google number, I ported my Verizon number instead.On the second one, I chose a Google number to get maximum benefits from it. So, the question is, if I give my Google number to some people (business associates), and give my Verizon number to others (family, friends, etc.), can I still receive calls and texts to both numbers on the same phone?

View 7 Replies View Related

Sprint HTC Hero :: Multiple Google Accounts?

Jul 22, 2010

So here in the land of 2.1 on the Sprint Hero we're supposed to be able to have multiple Google Accounts. It says so straight up when you go to Settings Accounts & sync -> Add Account -> Google ("You can use more than one Google Account on your phone...").When I try to add the 2nd account I get the issue that other people report when trying to replace their first account, or if they skipped account setup when activating the device. This is the "unable to connect to network" / "unstable network connection" issue detailed here: [Fixed]I Want To Use a Different GMail Account

View 4 Replies View Related

Sprint HTC Hero :: Changed Google Accounts

Mar 25, 2010

when i first set up my hero at bestbuy she had me set up my gmail. Well this being my first time using a touch screen i typed it wrong! basically i use my name for my email anyways my last name is OROSCO and i accidently typed OROSCP! so my email readed xxxxxxxoroscp@gmail.com. This didnt bother me till i began to use my gmail account as my main email acccount so i decided to change it BUT when i deleted the mispelled account i forgot that my paid apps were linked to that account so now i cant update my paid apps cause it does not recognize my gmail account as the one that purchased it am i screwed or is there anything i can do? Also im afraid when 2.1 comes out i might lose my paid apps and will not be able to get them back! anyone?

View 5 Replies View Related

General :: Way To Merge Google Play Accounts?

Jan 6, 2013

Any way to merge Google Play accounts? I have two email accounts on my phone, I wish to take that down to one but there are purchased apps in both accounts at Google Play. I looked into this some time ago and Google told me back then that they could not merge accounts -- which I thought was rather ridiculous. Doesn't Google have the (sometime scary) power to do just about anything? Anyway, they told me that I'd have to contact each and every paid app maker that I'd purchased from and see if they'd give me a new download under a different email addy since I'd already paid once. I finally gave up and just re-purchased the most important apps.

View 3 Replies View Related

HTC EVO 4G :: Titanium Backup - Doesnt Have Up Google Accounts - Synced

Jun 12, 2010

I used Titanium backup last night, I realized that it doesn't have up google accounts that I have synced to my phone. it doesn't seem to backup anything by applications. Is this right?

View 9 Replies View Related

Sony Ericsson Xperia X10 :: How To Change Google Accounts?

Nov 25, 2010

As you all know you need a gmail account to use alot of the apps on the X10. And recently my gmail account was hacked so I had to delete it and get a new one but how do I put the new one on my phone?

View 4 Replies View Related

Samsung Moment :: Multiple Google Voice Accounts

Nov 11, 2009

I have two different google voice numbers, one for business and one for personal.I was wondering if there is an app or a certain way in which you can chose between which number you would like to call from without logging out and logging back in under each different account.

View 4 Replies View Related

HTC Eris :: Won't Sync Google / Facebook Or Twitter Accounts

Nov 21, 2010

My Eris won't sync my Google, Facebook, or Twitter accounts. It last did so last Monday, 11/15. I have had emails, messages, tweets, etc. sent to me, but they never sync to my phone, I have to go online to get my Gmail (refreshing within the app does nothing), but refreshing manually from the Facebook and Twitter apps does work. Going into Settings > Accounts & Sync > Sync Now does nothing, and all of the settings here are correct.I've tried rebooting and pulling the battery, but it still does it. Haven't installed anything new recently, since my internal storage is full.

View 3 Replies View Related

Sprint HTC Hero :: Google Accounts And Email Sync

Apr 2, 2010

I am new to the Android Universe (Picked up my Sprint HTC Hero yesterday)I have a question about google accounts and email sync.

1st, On my previous phone (Windows Mobile) I had my gmail account set up so that my email is "pushed" to my phone. I thought that the android phones were automatically set up to do that, or do I have to do something to get this to work. I only ask because it seems to take a while to receive emails on my phone.

2nd, Before I got the phone I was reading up on the features, and a lot of the posts I read made it seem like I could access my google reader section, saved maps, sync bookmarks, and anything else I had with my google account. But, I can't seem to figure out how to do this. The most I have figured out on the maps is latitude, and nothing else with reader, bookmarks, etc.

View 5 Replies View Related

HTC EVO 4G :: Add Multi Google Voice Accounts On Single Phone?

Jul 12, 2010

Can you add more than 1 Google voice account to a phone and would it require more than 1 gmail account?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved