Android :: Syncadapter Using Google Account And App Engine
Oct 6, 2010
I am writing a syncadapter using google account and app engine. The account appears in account and sync, but when I try to select the account for syncing, I am getting a hard database error. I am trying to figure if this error is on mobile or the app engine. Further, what can be causing this error. Another error that I am getting is failed to find provider info.
View 1 Replies
May 31, 2010
I have written a SyncAdapter that takes a "com.google" account and performs a sync with an appengine web service. Testing this with the dev tools sync tester (on the emulator), this sync appears to work just fine.
The problem is, it's not syncing by default. And going to the account in "accounts & sync" shows my google account to be blank - as if there's no sync services available.
I suspect that in order to get my sync shown in the "accounts & sync" menu, I'd need to implement my own AccountAuthenticator that would do exactly the same thing as what I presume google's AccountAuthenticator must already do. This is not an exciting job, and it seems very unnecessary. So:
Is there a way to add an entry to the "accounts & sync" menu that uses my SyncAdapter but relies on a google account? or to add a sub-menu to google accounts that enables sync of my appengine service? if not,is there a way I can re-use google's AccountAuthenticator from within an AccountAuthenticator I write?
View 1 Replies
View Related
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
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
Aug 26, 2010
I have spent two days trying to decide on a way to upload and download data to the Google App Engine. Do I use REST or simple HTTP post/get? Do I use JSON or XML? Do I use java or Python. I am thinking probably use python and probably use REST. But which one out there? There are so many to choose from. None seem to work out-of-the-box, but need faffing around with bits of code from here and bits of code from there. And is not clear at the outset what am taking on or what the limitations are.
View 4 Replies
View Related
Dec 20, 2009
I would like to write a client application for Android that uses the Google App Engine as a database backend. My Android client would connect to the App Engine to save information, then it would connect later for reports. Is it possible to use the App Engine as a backend like this?
View 5 Replies
View Related
Feb 14, 2010
A REST XML (not JSON!) Web Service should exchange XML Schema specified XML between a Google App Engine and an Android app. I wanted to use XStream for both, however, I could not get it to work for the Google App Engine, therefore to me Apache XMLBeans is the next best choice (JAXB does not work on both).
However, with Google App Engine there is no problem, but on Android, I get several severe exceptions (eg. due to the usage of the Stax API with its javax.xml.* packages). So, Is there any other XML-binding possibility to stream XML documents on GAE and Android? If not, is it possible to patch Apache XMLBeans to work with Android?
View 2 Replies
View Related
Dec 31, 2009
I need to write an application that sends data to the Google App Engine from Android. The data that I would like to send can be described by a typical database record. Each record has some integers, strings, dates, etc. I would like to keep the connection details hidden/secured so that someone can't create false data in the datastore, if it it's not too involved. My question is: what is a good way to get this data from Android devices into the GAE datastore? If you could post a link to the appropriate Android libraries, or a link to how this has been done in the past, that would be really helpful.
View 3 Replies
View Related
Nov 14, 2010
I am trying to post data to the Blob Store on google's app engine, this code runs without throwing any exceptions, but on the blobstore end there is no log on the post request at all. The server side stuff works when i post using a form (albeit with mime data). I have allowed my android app to use internet. This is a stab in the dark but if any of you folks might have had an issue like this before perhaps the problem i am having might ring a bell
View 1 Replies
View Related
Nov 17, 2010
How to do I de-bing and make google my primary search engine? Also will this be corrected when the 2.2 update is available?
View 18 Replies
View Related
Aug 19, 2010
Droid X - Configured with a Google Apps Premiere, working great. Attempting to add a personal GMail account. Go to the GMail app, select add account, fill in the metrics and then...... "Needs to communicate" message for ~ 3 minutes, then bombs out with - "Can't establish a reliable data connection to the server". 3G is fine, on a wifi connection that is fine, web browser works fine..... Google Apps account works fine.
View 3 Replies
View Related
Mar 11, 2014
I have two gmail accounts, each with their own Google Voice account. Account 1 is my primary account, and I have even ported my phone number to this account. I'm using this account on my phone (nexus 5), and have 0 issues with this account. All texts, voicemails, etc come through with no issues. Account 2 is largely not used. I would like to use account 2 on my nexus 7, for texts, and maybe making calls if I don't want to give out my real number to someone.
My issue is when I'm logged in to account 2 on my nexus 7, I'm getting text notifications for account 1 on my nexus 7. But if I were to open Google Voice on the nexus 7, once GV refreshes, the texts disappear. It doesn't happen the other way around. If I get a text/vm to account 2, it does not notify my phone, which is logged in to account 1.
I've checked the settings in both GV accounts, and neither account is linked to the other, or to send copies of texts/vm notifications to the other. How do I stop notifications from GV account 1 to stop displaying on account 2? I have cleared cache, data, uninstalled the app. The only thing i have not done, is a reset of the nexus 7.
I was initially logged in to account 1 on my nexus 7, but I would have thought removing the app from the device would have essentially erased all traces of the account 1 on the nexus 7. I even signed out of hangouts, to make sure Google was not treating this like my phone, and sending it both places.
View 4 Replies
View Related
Dec 14, 2009
I've implemented a SyncAdapter correctly registered through the application manifest which allows to sync contacts with our backend. The sync requests are correctly sent to the SyncAdapter but actually I have a couple of dubts:
1) How a client (the object which calls requestSync of a specific authority) can be notified about the current status of the sync request, e.g. if the request has been correctly performed, is still pending, or is aborted for any reason?
2) I saw the addStatusChangeListener method in ContentResolver class but there is no documentation about that. Can someone clarify the correct usage of this? What kind of events can I listen?
3) What is the SyncContext ??
Onother issue is that after I've added my custom account to the device I saw that when the user selects to add a contact to that account, only the name fields are present in the "new contact" activity, no phones emails etc. Can someone tell me if (and how) it is possible to show all the standard fields that are actually showed to the user, even if no accounts exist on the device?
View 5 Replies
View Related
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
Sep 8, 2010
What we are doing currently? We have some structured, textual data on a server which is exposed using web services(RESTful). My application polls this server regularly(AlarmManagerService) to fetch the data and save it on local database(sqlite). Also, a user is authenticated and authorized beforehand for access.
Questions: There is a SyncAdapter/AccountManager class in the SDK and I was wondering if it can be of any use in my application to achieve the syncing mentioned above? If yes, what sort of infrastructure is needed at back end to support a sync set up using this adapter? Links to articles etc. that give details of using this adapter and other info is appreciated.
View 1 Replies
View Related
Oct 30, 2010
Is it possible to use a google account for features such as google contacts and latitude? I know this is not possible for Android market, but would it be possible for other google products? I saw it is possible on this Android 2.0 review: Android 2.0 Review: Almost Human Did they remove this feature from the 2.1 that Hero uses, or can't I just find it?
View 8 Replies
View Related
Apr 5, 2010
Actually i tried the SampleSyncAdapter (Sample Sync Adapter examples), its working fine for me. but i am not able to edit/delete the synced contacts. Is this possible to edit those contacts ? please let me know.
View 3 Replies
View Related
Jun 23, 2010
I was wondering if a custom sync adapter would be appropriate when syncing "normal" application data that is tied to a Google account. For example, I'd like to sync some data to a Google docs spreadsheet in this case. Would a sync adapter be the right choice for this use case or should I handle the sync in the app?
View 5 Replies
View Related
Nov 8, 2009
I use Google hosted apps with my own domain for e-mail, calendar, chat, etc. and I use the e-mail address from that with my main Google account as well. So, both my Google account and hosted apps account use the same address. I had no problem setting up my account on my phone when I got it Friday, but I've been running into a few issues. First off, every time I try to buy an app in the Market, it asks me to set up a Google account to associate it with, even though I already have. Also, when I try to use Google Listen, it asks the same thing. Is there a way around this, or will I have to create a separate Google/GMail account?
View 1 Replies
View Related
Jun 8, 2010
I go there and goto buy an app and it asks me to log in to google. No problem, except I log into the account already joined to the device and it just keeps going back and saying "add google account". Yes, tht account is setup on google checkout.
View 3 Replies
View Related
Sep 3, 2009
Im currently trying to combine android and google apps engine for a real neat application, not unlike http://3banana.com/. However I want to enable the user to login to his google account without opening the browser. I have made some attempts to just simulate the http-posts done, but to no avail. Are there any nice way of doing this google account login in android code? For example, to make my own loginscreen, and then send user/pass to the google apps server and get an aknowledgement if the login information was correct.
View 2 Replies
View Related
May 3, 2010
I managed to get oauth token and Token secret from google, after the user login and grant access to the web site. after that I want the user's ID, first name, last name, and other available information about login user's.How can I achieve it.
View 1 Replies
View Related
Sep 11, 2010
I was trying to buy the paid app Better Keyboard. It then sent me to a screen telling me to add a google account. I already linked a Google Account to the phone when I first set the phone up, so I just tried typing that into the 'sign in' option, and it looks like it's doing something for a good 3 minutes, saying "Your phone needs to communicate with Google servers to set up your account. This may take up to five minutes." Now, I would be fine with it taking 5 minutes, except it brings up a page saying "Cannot establish a reliable data connection to the server: This could be a temporary problem or your phone may not be provisions for data services (it is, because you're required to have a data plan to activate a smartphone on Verizon)." I have a 3G signal and I'm connected to a wi-fi network as well, although I've tried it not connected to wi-fi, and still no dice.
View 4 Replies
View Related
Jun 5, 2010
just got my desire this morning and i don't really know what i'm doing with it, i've never had a smart phone before. i've set up my hotmail account as the email account on the phone but, call me paranoid, i'd rather not have it on there at all. if i delete the account on the phone will it have any detremental effect on the actual email account?
View 4 Replies
View Related
Apr 2, 2009
My company has a team of developers and testers working on product for Andriod phones. The normal developer account can only order a single ADP1. We would like to get a couple more of them. Is there a corporate developer account that would give us access to more of them? Or do we need to create multiple accounts, one for each phone?
View 2 Replies
View Related
Mar 4, 2010
This is driving me insane. When I setup my Hero I had to setup a gmail account, even though I have a Google Account. I setup a gmail account to get the phone setup. I now want to make my gmail account something that makes a little more sense to me. I am not using my gmail account but apparently it shows on Google Latitude to my friends, etc. My question is how does one unlink a gmail account and add a new one? When I go to my Google Accounts to delete gmail it says it will take about 2 days. I wait 2 days and nothing happens. If I attempt to add Gmail back to my Google Account is hows my old address and will not allow me to create a new one. Is it not possible to change the linked gmail address to your google account??
View 14 Replies
View Related
Jul 7, 2009
I want to get the email address of the Google account tied to the phone (the one the user enters upon setup). I need it to uniquely identify the user of my app - however I do not want their password as it would, understandably, scare most users away from using the app. So I need a way of getting the email address without having to include permissions that suggest I am accessing account info etc...
View 2 Replies
View Related
May 27, 2010
I'm using the 2.2 Android emulator. How do you enter your google account details? I would like to test a new app called chrome to phone which uses 2.2's new C2DM api. This seems to require being able to add google account details.
View 4 Replies
View Related
May 11, 2010
I have been researching "remove second google account" on my incredible and nothing but factory format. Is this only way to delete/remove second google account from my phone? I'm using google Apps Standard Edition which is using my own domain name. Everything is ok till I add second gmail account like xxxx@gmail.com. I would like to remove it but, it said "This accont is required by some applicatins. you can only delete it by resetting the phone to factory defaults" Try kill all programs and try to remove it but, it didn't work. Call verizon and spoke with them two hours. they transfer me here and there and no solution but do a factory format.
View 4 Replies
View Related
Jul 29, 2009
Is it currently possible for developers to access account credentials, for specific services, namely Google Reader?
View 2 Replies
View Related