Android :: Authenticating To App Engine

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.

Android :: Authenticating to App Engine


Android :: Authenticating With Youtube - ClientLogin?

Feb 27, 2010

I'm writing an Android app that, among other things, uses the GData libraries to upload videos shot with the camera to Youtube (code below). However, I'm a bit confused about how to authenticate my users. Can I simply assume that they are already signed in to Youtube, since they're using Android? Or do I need to ask them to authenticate? In which case, should I use ClientLogin? There seems to be little example code on how to use ClientLogin in Android, and since it's using people's Google account passwords, it obviously needs to be secure. I'm a bit concerned at the prospect of writing my own authentication code without much guidance, and at the extra step required from users.

It seems odd that I have to ask people to authenticate for a Google service, given that they are using Google phones and the inbuilt Google apps don't require external authentication. Why is this? It seems to put my app at a disadvantage to Google's own apps.

Here's the code that I have, below:.....................

View 4 Replies View Related

Android :: Authenticating App With Http Server?

Jul 19, 2010

I wonder if it's possible to authenticate an app with a http server. THe server API does not require user name or password, but I'd like to expose the server API to a particular app only (so that it cannot be abused by other program). At this point I think it's impossible but figure it won't hurt to ask.

View 2 Replies View Related

HTC Desire :: Wifi Authenticating - Pages Won't Load

Oct 6, 2010

However my phone will connect to my wifi at home no problems, it automatically switches when it's in range, but after about 20-30 minutes it stops working (pages won't load etc or get an error message saying I need to be connected) and when I go into wifi in settings it says 'authenticating' instead of connected. It doesn't change back if left you have to turn it off and back on and then it works fine for 20-30 minutes and back to the same problem again. I have never had a problem with the internet connection and there is no interuption to it or anything.

View 1 Replies View Related

Android :: What Does 3D Engine Do?

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

Android :: Best Game Engine?

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

Android :: IntentNotFoundException For TextToSpeech.Engine

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

Android :: Best Practice For Specifying Pronunciation For TTS Engine?

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

Android :: Job Search Engine App From LinkUp.com

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

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 :: Gamine Game Engine 0.2

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

Android :: Sound Engine Performance

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

Android :: Good Chart Engine?

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

Android :: Connect To Google App Engine

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

Games :: Multiplayer Android Game Engine

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

Android :: How Does Market Search Engine Work

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

Android :: Create A Simple Game Engine

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

Android :: String Input For Speech Engine

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

Android :: Engine / API / Platform For 3D Game Development?

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

Android :: Physics Engine With Great Demos

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

Android :: Java Script Engine In Nexus One

Mar 15, 2010

Any idea which JS Engine is used in Nexus one? JSC or V8?

View 2 Replies View Related

Android :: Best 2d Engine And Tools For Create Game?

Mar 30, 2010

I'm a newbie to android and I want to develop my first 2d game..:) I read about engines ..but what do you advice me to go with<--for 2d game and what is the best tools I need to create the sprites or characters in addition to the map or the background?

View 11 Replies View Related

Android :: A Good Droid Rendering Engine?

Sep 9, 2010

What is a rendering engine? Is there any for Android?

View 1 Replies View Related

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

General :: Internet Explorer Engine (not UA) For Android?

May 20, 2013

i wanna access websites which are internet explorer specific sites, they don't open correctly in firefox, chrome, safari, opera or any other browser,and i don't want just to change User Agent to desktop, it doesn't work. even on desktop pc those sites only work correctly on internet explorer.

so is there anything to access those sites?one example of those sites is my phone network's free sms sending website, which can only be accessed correctly from internet explorer, so i can't send sms through my mobile from that site, i need to use internet explorer on my pc

View 1 Replies View Related

Android :: TTS Engine Output Connected Bluetooth Headset

Dec 14, 2009

Using Android 2.0 SDK. Is it possible to direct the TTS engine's output to a connected BT headset? I've tried with KEY_PARAM_STREAM set to all of the available stream types but the speech is still output by the speaker on the phone.

-- "An engineer's definition of done is the perfect set of code, and left to his own devices, an engineer will endlessly improve the code on the mythic journey to done." --

View 2 Replies View Related

Android :: Opengl ES Tiling Engine - Smooth Scrolling

Jan 31, 2010

Following this : http://stackoverflow.com/questions/2125354/best-approach-for-oldschool-2d-zelda-like-game

I got a simple 2D tiles generator working, im reading an int map[100][100] filled with either 1's or 0's and draw tiles according to their tile id, 0 is water, 1 grass.

Im using some basic Numpad control handler, using a camIncr (32.0f), i set the camera position according to the movement :

CODE:.......

In my draw loop, im just drawing enough tiles to fit on my screen, and track the top left tile using cameraOffsetX and cameraOffsetY (its the camera position / tile size )

Im using a GLU.gluOrtho2D for my projection.

Here is the draw loop inside my custom renderer :

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

my tiledBackground draw function :

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

The waterTile and grassTile .draw function draw a 32x32 textured tile, might post the code if relevant.

Everything is fine, i can move using numpad arrows, and my map 'moves' with me, since im only drawing what i can see, its fast (see http://stackoverflow.com/questions/2129125/android-opengl-es-simple-tile-generator-performance-problem where Aleks pointed me to a simple 'culling' idea)

I would like my engine to 'smooth scroll' now. I've tried tweaking the camIncr variable, the GLU.gluOrtho2D etc, nothing worked.

View 2 Replies View Related

Android :: How To Get Physics Engine Runs Smoothly In Phone?

Mar 30, 2009

Does anyone know of, or have implemented, a physics engine which runs smoothly in Android? I have spent the last couple of days trying Phys2D and JBox2D, however both perform very poorly - I am struggling to get even a few objects to simulate smoothly as frequent garbage collection spoils it. One question I do have is will these run smoother on an actual G1 device or is the performance of the emulator accurate?

View 1 Replies View Related

Android :: Game Engine Deployment Strategy For Phone?

Apr 15, 2010

In college, my senior project was to create a simple 2D game engine complete with a scripting language which compiled to bytecode, which was interpreted. For fun, I'd like to port the engine to android. I'm new to android development, so I'm not sure which way to go as far as deploying the engine on the phone. The easiest way I suppose would be to require the engine/interpreter to be bundled with every game that uses it. This solves any versioning issues. There are two problems with this. One: this makes each game app larger and two: I originally released the engine under the LGPL license (unfortunately), but this deployment strategy makes it difficult to conform to the rules of that license, particularly with respect to allowing users to replace the lib easily with another version. So, my other option is to somehow have the engine stand alone as an Activity or service that somehow responds to intents raised by game apps, and somehow give the engine app permissions to read the scripts and other assets to "run" the game. The user could then be able to replace the engine app with a different version (possibly one they made themselves). Is this even possible? What would you recommend? How could I handle it in a secure way?

View 1 Replies View Related

Android :: Search Engine App In Perst 4.0 Embedded Database?

Jan 26, 2009

Looking for a way to integrate full-text search and fast, lightweight data management with your Android applications? The new Perst 4.0 open source, object-oriented embedded database system brings native full-text search capability to Android and builds on this feature to provide a sample search engine application for contact data residing on mobile phones.

To provide search, the database stores an inverse index of keywords, with parsing and stemming of indexed text performed either by user- defined code or by Perst's default simple parser and stemmer. The feature supports logical operators and calculates relevance of search results to a query. The new sample application, ContactsIndex, stores and indexes contact information, and could be extended to provide search capabilities for PDF, word processing, HTML and other stored files. The example applications are included with complete source code in the Perst 4.0 for Java distribution..............

View 3 Replies View Related







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