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?

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


Android :: Using Calendar Api - VerifyError Com.google.gdata.client.Service

May 26, 2010

I am trying to integrate the application I am developing with google calendar. The code I wrote for the calendar integration works in a java standalone project.

The problem is that I am getting an error when in my app I do the actions that uses the code that "talks" to the calendar api. I have created a "libs" folder in the root of my app project to put all the libraries I need. Then add jar from the build path config screen (in eclipse).

The error: 05-26 14:18:54.512: ERROR/AndroidRuntime(3522): *java.lang.VerifyError: > com.google.gdata.client.Service*

View 3 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 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]

View 4 Replies View Related

Android :: Access Calendar's Entries Without Using Gdata-java-client?

May 11, 2009

Is it possible to get the calendar's entries from the phone offline? It seem the only way is to use gdata-java-client.

View 4 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 :: Use GData And Google Analytics On Droid?

Apr 19, 2010

I am wondering what my options are for using GData and specifically the analytics api on android to build a small widget. After searching around for a while I couldnt come up with any libraries with decent examples.

Are there any dedicated libraries with some decent examples / doco to do this sort of thing? I would like to target 1.5 but if the are 2.0 only I guess that is fine too.

View 1 Replies View Related

Android :: Need Twitter Client To Handle Multiple Accounts

Jan 8, 2010

So I've poked around a bit, and am mildly disappointed with what I've found so far in my search. I need a Twitter client that can actually reliably deal with two accounts, and not mix them up. I tweet for an organization as well as my own account, and cannot have it bugging up and switching accounts as I've heard that Twidroid does. FYI, I'm using the free version of Twidroid now, and have no complaints about it thus far, but I have not been wowed by it either. Does anyone have any experience with any other clients, or should I just suck it up and throw down for Twidroid? I don't mind paying for an app, as long as it functions solidly.

View 7 Replies View Related

Android :: Yahoo IM Client That Handles Linked Accounts?

Jun 19, 2010

Does anyone know of a Yahoo IM client that handles linked (AKA Aliases) accounts? I have tried the following clients:
- Meebo
- Palringo
- IM +
- eBuddy
- Nimbuzz
- Hi Yahoo
- Yahoo Droid

They all have the same issue which is: I have linked yahoo accounts (a primary with other accounts linked). When I log into a yahoo account with the above clients and I receive an IM to a linked account, I receive the IM just fine, but when I respond to the IM, it will send from the primary (or logged in) account and NOT the account that IM was sent too. What SHOULD happen is the IM should be sent from the account that the IM was sent too just like the desktop app works.

View 1 Replies View Related

General :: Unable To Configure 2 Exchange Accounts In Stock Email Client

Jun 6, 2012

I have a Galaxy Nexus with Stock 4.0.4 ROM and a Transformer Prime also with the stock ASUS firmware (4.0.3), The company where I work has a mail server that supports exchange (Kerio Connect) At that server I have (because I need it that way) 2 different accounts, I need one of those accounts to synchronize everything; contacts, mail, calendar, and the other one to synchronize only calendar appointments.

If I configure the first account everything works just fine. But, when I configure the second account, I start receiving login errors for both accounts every certain time, the apps shows me the option to update my account credentials and when I do it works for the moment but after a while it fails again. If I delete whichever of the two accounts the other works fine.

I have not tested this scenario against other email servers, so I'm not sure if this a problem with my server or if this is an Android problem.

Both accounts are configured as Exchange accounts from Settings menu.

View 9 Replies View Related

Android :: Easy Way To Authenticate POST Requests / From Google Android Client To Google App Engine?

Jul 9, 2009

I'd like to be able to send a POST request from an Android app to App Engine and have it linked to the user's Google account.I read that you need to obtain an authentication token and send it with the POST request. Does Android provide a way to request this token?And how would GAE process it?I feel like this should be easy and I'm missing something obvious.

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 :: 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 :: 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 :: Google Data APIs Client Libraries

Jun 13, 2009

Has anyone had success using Google Data APIs Client Libraries. I can't seem to successfully use the GData Java client libraries in an Android app. I notice that there used to be some GData access classes in the Wireless packages that have been removed. Should I be using some map data classes in the com.google.android.maps classes I'm not seeing? I started to go down the path of accessing data through raw http calls, but it's a beating.

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

Android :: Where To Find Google Talk Phone Client Source Code

May 14, 2010

I found an app called I'M in Android's trunk on git, but that doesn't look like the Google Talk app that comes installed on Android phones.

Does anyone know if that source code is even published?

View 2 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

Android :: Use Gdata For Mobile Calendar ?

Apr 27, 2010

I want to add, delete, update mobile Calendar events. may i use gdata for it. if yes then my code is

CODE:.......

I am using gdata 1.41.1 and google android api level 3 exception in line number 1 is java.lang.VerifyError: com.google.gdata.client.Service

reason of using gdata is http://stackoverflow.com/questions/2713652/android-problem-deleting-event-in-calender

View 1 Replies View Related

Android :: Gdata Calendar Not Working

Jun 29, 2010

I am using Android API level 3. Using g-data 1.41.3 version. i am using Calendar Sample.

My code is follows:

CODE:........

From different forum i concluded that g-data only provide me to insert, delete and update Calendar. But i am facing problem that i mention above.

Is it possible to delete, insert and update Android Calendar and Events?

View 3 Replies View Related

Android : Installing GData API In Eclipse

Oct 5, 2010

I am trying to work with the Google Docs API in an application for Android. I can find plenty of documentation on the API and how to use it, but I can't seem to figure out how to get the dependencies into Eclipse. I followed the instructions I found here: http://code.google.com/p/gdata-java-client-eclipse-plugin/wiki/Installation and could not get the EMF to install. I got the Google Data Feature to install and can now seem to get resolution to com.google.gdata.data.* and com.google.gdata.util.* , but most of the stuff I need is in com.google.gdata.client.Can someone PLEASE help me figure out Eclipse?! I have been searching the web for an answer and beating my head against the wall for a week now!

View 2 Replies View Related

Android :: No GData - Dalvik Java - Calendar ?

Apr 1, 2010

I'm working on a program whose job is to parse a schema from a course at university (html) and synchronize it with a calendar in Google Calendar. A must-have requirements from the author is that the user must enter their user information (x...@gmail.com) then connect via the Calendar API to calendar services. ** The smartphone calendar via Intent is not okay to use **

The main problem is that there is no GData (Dalvik Java) for Android. But I checked on GitHub and found that there seems to be something going on com.google.wireless.gdata: http://android.git.kernel.org/?p=platform/external/gdata.git,a=summary Searched around and found some packets like simply-android-GData and GData on code.google.com, but none of them help with the structure of calendrar, and they can login to retrieve data rss, json, atom.

So my question is then whether someone has a solution that works quite well as a possible. next update of the SDK will provide, a full GData API?

Is it possible to compile a custom SDK from git and get with the functionality of git://android.git.kernel.org/platform/external/gdata.git?

Minimum functionality: View Calendars View Events Add Events Delete Events

View 4 Replies View Related

Android :: NoClassDefFoundError For Gdata CalendarService Class

Mar 13, 2010

I'm writing an android 2.1 application that writes an entry to my Google calendar.

The relevant part of my application code looks like this:

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

This code compiles with no errors, using Eclipse on MacOS, using external jar files from the Google gdata project: gdata/java/lib/gdata-calendar-2.0.jar gdata/java/lib/gdata-calendar-meta-2.0.jar

I export the application through Eclipse to generate the .apk file which I install on my N-1 phone. However the application cannot find the CalendarService class, giving me the following runtime error:

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

When developing other android applications the "external jar files" always seem to be cross-compiled and packed into the apk file - so I do not understand why the app cannot find the CalendarService class.

View 14 Replies View Related

Android : Way To Get List Of Blogs From Blogger Api / Gdata?

Mar 17, 2010

I have been looking for a solution, but the only format that I can get a response to the profile API is in HTML. That is not very reliable for getting something like a list of the blogger's reading list. I have been able to get the default/blogs with my auth token and have the result returned in JSON. I then used that to get the author's blog-id .. and then .. the profile (which has the reading list). Howver, when I request it in JSON (i.e., ?v=2/alt=json) at the end of the URI, it still returns HTML. Is there a better way?

View 1 Replies View Related







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