Win a copy of High Performance Python for Data Analytics this week in the Python forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Jj Roberts
  • Carey Brown
Bartenders:
  • salvin francis
  • Frits Walraven
  • Piet Souris

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: 43016
76
  • 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: 228
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
 
So I left, I came home, and I ate some pie. And then I read this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic