I recently purchased a copy of Practical Android Projects. Chapter 8 talks about how to use Google App Engine with Android. It gives as an example (source code available here in the folders PracticalAndroidProjectsSourceCode/Projects/08_GameManager and 08_GameService) an Android application which consumes a web service from an App Engine application.
I haven’t been able to get the example App Engine application (which provides the service) to run correctly. The problem is that the application expects JSON libraries which aren’t available. I’ve tried downloading JSON libraries from elsewhere on the web as JAR files and including them in the application. (See discussion.) This hasn’t worked, because none of the JSON libraries I’ve tried seem to be fully compatible with the libraries it’s expecting.
I’m new to Android and GAE development, and as such these problems are daunting to me; I’ve spent days trying to find a solution. Anybody want to take a crack at this problem? If I do find a solution, I will post it here so anybody else who purchased the book will be able to run this example!
Are you able to run this example on your machine? I’m using Eclipse as my IDE.
You should include a JAVA JSON library in your web project under under
WEB-INF/lib.Have a look to these libraries: