An example/Tutorial code explaining how to properly implement REST in Android