Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Android and Google App Engine

 
Rogerio Kioshi
Ranch Hand
Posts: 690
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you mean by "integrate" in this context? Android runs on smartphones and tablet computers - where does GAE fit in?
 
Rogerio Kioshi
Ranch Hand
Posts: 690
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 436
2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 228
Android IntelliJ IDE Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic