I suggest you to use “Volley” library for android .It is for faster and better networking library by Google . Many examples of using volley :
http://arnab.ch/blog/2013/08/asynchronous-http-requests-in-android-using-volley/
0
solved How to fetch JSONdata in server through Android? [closed]