March 2016
Intermediate to advanced
428 pages
9h 2m
English
Since JavaScript Object Notation (JSON) is probably the most common data-interchange format, you'll likely find yourself needing to call a JSON web service. (If you are unfamiliar with JSON, review the link at the end of this recipe.) This recipe will demonstrate how to make a JSON Request using Volley.
Create a new project in Android Studio and call it JSONRequest. Use the default Phone & Tablet option and select Empty Activity when prompted for Activity Type.
This recipe will be using the Volley setup as described in Getting started with Volley for Internet requests. Follow steps 1-5 to add Volley to your new project.
With Volley added to your project as described previously, follow ...
Read now
Unlock full access