Added comments and improved code for HTTP connection to REST service
Added comments and improved code for HTTP connection to REST service

Added a User-Agent (which is optional)
Removed unneeded code
closed the connection

UO-CIS/CIS399AndroidDemos