Communication between Django nonrel (GAE) and Android

94 views
Skip to first unread message

Blue

unread,
Sep 20, 2011, 7:01:47 AM9/20/11
to Google App Engine
Hi!

I'm building an application that has Android client application and
uses Django nonrel (GAE) as server. There will be some kind of web
based client application also, but it will do only basic stuff (some
kind of viewer).
Any recommendations how can i connect those two platforms?

Thanks for answers!
With kind regards,
Gregor

G Heslop

unread,
Sep 21, 2011, 7:27:14 AM9/21/11
to google-a...@googlegroups.com
You can expose an API through Django where you specify a number of URL's (like /api/domything/) which will return a JSON payload (using
simplejson.dumps etc)
 for use in your app or perform whatever actions you need. This will allow you to drive your GAE app with your API. Take a look at posts like http://webcloud.se/log/AJAX-in-Django-with-jQuery/ for a push in the right direction.

Blue

unread,
Sep 21, 2011, 7:55:48 AM9/21/11
to Google App Engine
Reply all
Reply to author
Forward
0 new messages