File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Android and Google App Engine Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Android and Google App Engine" Watch "Android and Google App Engine" New topic
Author

Android and Google App Engine

Rogerio Kioshi
Ranch Hand

Joined: Apr 12, 2005
Posts: 689
Hi,

I'd like to know how to integrate applications written in Android with those developed under Google App Engine (Java). Are there patterns to do that?

Thank you

SCEA 5 (part 1), SCBCD, SCWCD, SCJP, CLP, CLS
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42596
    
  65
What do you mean by "integrate" in this context? Android runs on smartphones and tablet computers - where does GAE fit in?


Ping & DNS - my free Android networking tools app
Rogerio Kioshi
Ranch Hand

Joined: Apr 12, 2005
Posts: 689
Ulf Dittmer wrote:What do you mean by "integrate" in this context? Android runs on smartphones and tablet computers - where does GAE fit in?


I mean integration in the following sense: let's suppose I write an application that runs under GAE and I want some (or maybe the whole) of the application features to be available when I access it from my smartphone that runs Android. Or I write an Android app and I want to call it from my GAE app.



Hauke Ingmar Schmidt
Rancher

Joined: Nov 18, 2008
Posts: 433
    
    2
Google App Engine is a hoster for web applications; Java or Python based, free, somehow limited.

Android is an operating system for mobile devices and a runtime environment for "Java" apps.

How could they integrate? The GAE could be used as storage for central data, e.g. a highscore list. Maybe as an intermediatary server; IIRC GAE supports XMPP. You would just integrate it as you would do with any other web resource. You could write a REST based server or a classic Webservice or some home-grown protocol. Or an XMPP client. I don't think there are any specialities compared to other apps interacting with web apps.

Or you could just write a web app that runs in the Android browser. But then there is no need whatsoever for Android at the device itself ^^.
James Elsey
Ranch Hand

Joined: Dec 21, 2007
Posts: 228

I asked a similar question recently on StackOverflow

What I was looking for is a place to host android applications, but then I realised, if I wanted to host my app for free, why not just put it on the marketplace as a free listing...

If you still need GAE in the scenario, create a java web app that exposes its features via REST, and create an android application to use those REST web services


Kind Regards, James. OCPJP 1.6 || My SCJP / OCJCP Study Notes
Interested in : SCJP, Google App Engine, Stripes, Android;|| My Bite-Size SCJP Study Blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Android and Google App Engine