Skip to main content

Building Android Applications with Google App Engine


It's been very exciting time for programmers these days with lots new stuffs to play around with. Today I'm going to try out building and android application and with Google App Engine as the backend.Download and install the GPE for Juno .  I've already written the blog entry till this point. Next my aim is to do the steps instructed in the link below. I'll scribble down things to note as and when it happens.
http://devthots.blogspot.in/2012/07/building-awesome-android-apps-with.html

More than this link. I'll be focusing on this video they did during Google I/O 2012.


Here is the secret link to download all the codes of Google I/O 2012 .
https://code.google.com/p/google-api-java-client/source/browse?repo=samples

1. I installed mercurial in my Ubuntu to clone the codes I found at the repo link given above.
    To install mercurial in Ubuntu just type in "sudo apt-get install mercurial" in the terminal.

2. Google does a wonderful job of generating most of  the boilerplate codes and jars 3 times when we do this project. It helps to keep the development simple and fast for the programmer.

3. Something missed out in the video : at 38:30, you need to
    Right Click Note.java -> Google -> Generate Cloud Endpoint Class  to generate the  NoteEndpoint.java file

4. If you have an error "com.google.android.gsf package couldn't be found"
Open the Android SDK Manager --> Extras -- > Google Cloud Messaging Library for Android , install this.

Comments

Popular posts from this blog

Building Autonomous Drone with Raspberry Pi and APM 2.8

I am a total newbie to hardware and was pushing my limits to see how far I can reach on with hardware projects (which sparked my interest lately). I have set out on a very ambitions mission  to control a drone from raspberry pi .I began the research for this around 2 months ago and had brought a raspberry pi, drone body kit and apm flight controller. The key difference of this project from common drone projects is that I'm trying to avoid the use of and RC and instead use the raspberry pi to control it.  Hardware Ins tallation Setup: I am using APM 2.8 and Mission Planner. I am using RPi 3 to control the APM 2.8 via Telem port of APM I am planning to power the apm via the battery to ESC (Electronic Speed Controllers) Now, documenting my steps below: Day 1 Watch Tutorial To get started with APM flight controller, I watched this video tutorial [1] which gives a gentle introduction about APM board.  Setup APM board and Calibrate Sensors I downloade...

Adafruit GFX - How to change line spacing in text?

  You may want to update the line spacing to be a little lower than default due to small screen size on IoT devices. I faced this challenge while working on a Watchy hobby project. You may have used a font generator or just using the default fonts and got a *.h file that has the details of the font. In that case just change the last integer value in the PROGMEM variable.

Data Mining & Analytics with R : Running R Scripts and Data Mining Techniques - Day 2

Warning: These are my messy study notes, much better legible notes can be found here  http://onepager.togaware.com 1. A Tour Thru Rattle Transform Tab ( by no means near to the full power of underlying R) Data Mining Tabs - Cluster, Associate Model Log Tab  - Capture the corresponding R command Working from Left to Right on Tabs  Remember to Click Execute Button 'Save' -> Projects save the current state, all models etc. 'Open' Projects can be restored at a later time You can even load it back to R  2. First R Program Load rattle and ggplot2 library(rattle)  # Provides the weather dataset  library(rattle)  # Provides the ggplot() function ggplot -> Grammar of Graphics : Just like english grammar or grammar of a computer language. A result of Hadley's Phd . Look him up to learn more details. Then produce a plot using ggplot() # handsondatascience.com - tips on elegantly writing repeated code ds ...