Course Content

Course Content


Including Volley Library


In this video we are going to see how to include Volley library in our project.

First step which we need to do is to create new project named as 'MyVolleyJsonObject1' and then click next. We will select specific activity which we need and than our project will be created.

From 'File' in top menu, we will select 'New module' option, and then choose 'Import Gradle Project'. After that we need to provide the source directory and then click next.

Now we will be able to see that how volley library is included and how we can use all the files in it.

Now we need to sync project with gradle files after changing in 'build.gradle' dependencies.

Now our project application is ready to work with volley.

After all this we will open the manifest file 'AndroidManifest.xml' and add the INTERNET permission to it,

<uses-permission android:name="android.permission.INTERNET"/>

Now we will design the layout, in which we have two layout file, 'activity_main.xml' and 'content_main.xml'.

In 'activity_main.xml' we are using Coordinator layout and set the basic properties of it. And in other layout file which is 'content_main.xml' we have used Relative Layout and a Textview.


Recommended Courses

Share With Friend

Have a friend to whom you would want to share this course?

Download LearnVern App

App Preview Image
App QR Code Image
Code Scan or Download the app
Google Play Store
297K+ Downloads
App Download Section Circle 1
4.5 Rating
App Download Section Circle 2
10K+ Reviews
App Download Section Circle 3
  • Learn anywhere on the go
  • Get regular updates about your enrolled or new courses
  • Share content with your friends
  • Evaluate your progress through practice tests
  • No internet connection needed
  • Enroll for the webinar and join at the time of the webinar from anywhere