Android json parsing tutorial in hindi

In this video tutorial we will learn how to make get request to API and parse the JSON response which we get from server. We are using HttpUrlConnection to make connection to the api and processing this network request in AsyncTask. This video tutorial is related to my previous video tutorial. So do not forget to watch them.



Reference URLs:

The movieDb: https://www.themoviedb.org/

JSON: http://www.json.org/

JSON Formatter chrome extension: https://chrome.google.com/webstore/detail/json-formatter/bcjindcccaagfpapjjmafapmmgkkhgoa?hl=en

Before starting please visit https://www.themoviedb.org/ site. Login there and then click on your username. Then click on api and copy the example api. You can also use api which i used in my example for testing purpose. Do watch Android networking tutorial in Hindi #21 for more information about Movie database site and its api.

MainActivity.java code:

Code of activity_main and AndroidManifest.xml are same from previous tutorial. Please copy code of these files from there.

Comments

Popular posts from this blog

Android Sudoku Game Project With Source Code