• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Android and Google App Engine

 
Ranch Hand
Posts: 701
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 701
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.



 
Rancher
Posts: 436
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ^^.
 
Ranch Hand
Posts: 231
Android IntelliJ IDE Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
They worship nothing. They say it's because nothing is worth fighting for. Like this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic