The android application can connect to back end REST service I have
modified the code a bit to test the transfer of data.
(Note: RESTful service must be running, database should exist and then 
you will be able to test)
Happy coding :-)