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
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
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
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
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
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
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
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
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
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
Oct 18, 2010
I'm interested in developing an android application that will display a globe of some sort like Google Earth. I've never used opengl or have any experience with graphic programming so I'm here to learn some basics. Now, I know there are things like the Unity or Ogre that help facilitate graphics but what exactly do I gain from using these engines as opposed to just using opengl api to render graphics? Why do you use engines like Ogre as opposed to straight up opengl?
View 2 Replies
View Related
Dec 26, 2009
I've been working for the past couple of days to allow users to login to an android app with their gmail account and pass the authentication token to my app hosted on app engine - so i can download xml from my web services hosted on app engine as if the user logged into the app directly. There is a lot of info on ways to get the google auth code and the auth cookie and then pass the cookie in the header of an http request - but no info out there on doing all of this from android and going as far as to add the cookie to the remaining http requests. So, now that's it's working, i thought i'd compile it all together and post the solution here in my blog - enjoy.
View 3 Replies
View Related
Aug 16, 2010
I'm just starting into Android game development, and I'm looking into using an open-source game engine as the foundation of some of my ideas. Does anyone have any favorites? So far, AndEngine looks the most promising...I've also looked at Rokon. Any other notable engines I should be looking at.
View 2 Replies
View Related
May 7, 2010
I am trying to implement text to speech by following this article on the Android Developers Blog. It suggests the following code for installing text to speech data if it is not supported.
CODE:...........
This throws an Exception:
ActivityNotFoundException: No activity found to handle Intent
However, I am using the code here to determine the the intent is actually supported. Here is the list representation:
[ResolveInfo{43cc5280 com.svox.pico.DownloadVoiceData p=0 o=0 m=0x108000}]
Why doesn't this work?
Update
I don't know why, but it seems to work now.
View 2 Replies
View Related
Aug 16, 2010
In general, I'm very impressed with Android's default text to speech engine (i.e., com.svox.pico). As expected, it mispronounces some words (as do I) and it therefore occasionally needs some pronunciation guidance. So I'm wondering about best practices for phonetically spelling out those words that the pico TTS engine mispronounces. For example, the correct pronunciation of the bird Chachalaca is CHAH-chah-LAH-kah. Here is what the TTS engine produces: mTts.speak("Chachalaca", TextToSpeech.QUEUE_ADD, null); // output: chuh-KAL-uh-KUH mTts.speak("CHAH-chah-LAH-kah", TextToSpeech.QUEUE_ADD, null); // output: CHAH-chah-EL-AY-AYCH-dash-kuh mTts.speak("CHAHchahLAHkah", TextToSpeech.QUEUE_ADD, null); // output: CHA-chah-LAH-ka mTts.speak("CHAH chah LOCKah", TextToSpeech.QUEUE_ADD, null); // output: CHAH-chah-LAH-kah Here are my questions. Is there a standard phonetic spelling recognized by the Android TTS engine? If not, are there some general rules for making custom pronunciation spellings that will make the spellings more likely to be correct in future TTS engines/versions? It appears that the Android TTS engine ignores text case. What is the best way to specify emphasis?
View 2 Replies
View Related
Jan 18, 2010
LinkUp's "Job Search Engine" application bring the web's highest quality, fastest growing job search engine to your Android. The app allows you to search job listings that are found exclusively on company websites. As a result, the jobs on LinkUp's "Job Search Engine" app and LinkUp.com are always current, often unadvertised, and never fake.
The app features:
Basic & advanced search
Saved search history
Email job alerts
RSS-bookmarking of favorite jobs
Download the application with this QRCode:
View 2 Replies
View Related
Apr 29, 2010
I've just released version 0.2 of Gamine, an open source 3D game engine for Android devices: This release adds lots of major features, including particle effects, OBJ file import, picking, text rendering, transparent rendering, and more. Although it's still a very early version, I believe it is now complete enough to be used for real games. So give it a try, and I'd really appreciate any feedback about it.
View 3 Replies
View Related
Oct 5, 2009
I am working on an app that uses the SoundPool class to play sounds. Basically every n milliseconds I need to play up to 16 sounds and I need this to be as steady as possible. The best solution I found so far is to use a java.util.Timer and the scheduleAtFixedRate method (setting also a THREAD_PRIORITY_URGENT_AUDIO in the TimerTask run method), the result is pretty good but it is still not perfect and sometimes the executions get slightly delayed. Is there some other way I should try to play sounds _exactly_ every n milliseconds? Different threads, some kind of optimization, stuff like this?
View 3 Replies
View Related
Aug 17, 2009
Can anyone suggest good chart engine for Android?!
I did a small research and found several engines: - Java4Less (http://java4less.com/charts/chart.php?info=android) - Chart4J (http://code.google.com/p/charts4j/) - BlueChart (http://code.google.com/p/bluechart/) is it a port of jFreeChart?! - aChartEngine (http://code.google.com/p/achartengine/) - aiCharts (http://www.artfulbits.com/Android/aiCharts.aspx)
Somebody try them?! Any pros and cons?! Which one is the best for Android?!
View 2 Replies
View Related
Apr 25, 2008
Mages is multiplayer client/server game engine for Android and other mobile devices (currently Android and J2ME devices are supported, development for Windows Mobile in the progress). It allows developers to create internet multiplayer games by implementing only core game logic and GUI by using powerful engine API.
View 11 Replies
View Related
Aug 5, 2010
How do you improve the position of an app in Android Market search results? The apps don't seem to be sorted on downloads.
The scope of this question is limited to working with the Android Marker search engine, of which there's little or no information. I changed the title to make it clearer.
View 3 Replies
View Related
Aug 17, 2010
I'm on my way with my first game, all design and that stuff are done, just coding left.I have successfully watched tutorials around the world wide web with information about Graphics and how to create a successfully thread-synchronization within it. Like now I have a SurfaceView-class and a Thread-class. The thread-class have this constructor to receive the Game Engine from my SurfaceView-class.
Simple code from Thread-class constructor: Code...
View 1 Replies
View Related
Jan 7, 2010
It seems to me that the method "speak" of class TextToSpeech only works in method onInit or on Utterance Completed. However, onInit and onUtteranceCompleted don't have any parameter for passing strings. In the following code, I tried to define a global string arraylist outside the methods and used the arraylist for string input.For some reason , it didn't work out.But the engine did speak "did you sleep well". public class TTS extends Activity implements OnInitListener,OnUtteranceCompletedListener,Runnable ArrayList<String> content=new ArrayList<String>();
int MY_DATA_CHECK_CODE=50;
private TextToSpeech mTts;
public void onCreate(Bundle savedInstanceState) {
content.add("test");
content.add("another test");
super.onCreate(savedInstanceState);
setContentView(R.layout.splash);
Intent checkIntent = new Intent();
checkIntent.setAction(TextToSpeech.Engine.ACTION_CHECK_TTS_DATA);
startActivityForResult(checkIntent, MY_DATA_CHECK_CODE);
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
if (requestCode == MY_DATA_CHECK_CODE) {
if (resultCode == TextToSpeech.Engine.CHECK_VOICE_DATA_PASS) {
// success, create the TTS instance
mTts = new TextToSpeech(this,this);
} else { // missing data, install it
Intent installIntent = new Intent();
installIntent.setAction(
TextToSpeech.Engine.ACTION_INSTALL_TTS_DATA);
startActivity(installIntent);
} public void onInit(int status){
if(status==TextToSpeech.SUCCESS){
mTts.setLanguage(Locale.US);
mTts.setOnUtteranceCompletedListener(this);
String myText1 = "Did you sleep well?";
mTts.speak(myText1, TextToSpeech.QUEUE_FLUSH, null);
for(int i=0;i<content.size();i++){
mTts.speak(co
View 1 Replies
View Related
Jul 6, 2010
I´m new on Android 3D game development. I would like to know if there any engine/ API/ platform about 3D development that I could use. Or any tip which you could give me, like where I could start looking for.
View 6 Replies
View Related
Oct 24, 2010
I am a newbie "thinking" of writing a physics game app. I did see some engines, but most of them have no good demos or docs. So can you guys please point me to any physics engine with lot of demos/sample codes?
View 2 Replies
View Related
Mar 15, 2010
Any idea which JS Engine is used in Nexus one? JSC or V8?
View 2 Replies
View Related