Skip to content

arcchang1236/Android_Volley_tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Android Volley Tutorial

Goal

Connect to MySQL database and operate on Android phones

My Tools

Volley

  • HTTP client library published by Goolgle

  • Improved some old ways like:

    • HttpClient : was removed at Android 6.0
    • HttpURLConnection : need to use and handle the thread
  • Provides three requests for loading data:

    • StringRequest
    • JsonObjectRequest
    • ImageRequest
  • Provides Cache for improving performance

    • However, in a large of data transmission, the performance of volley is very bad

Gradle

compile 'com.mcxiaoke.volley:library:1.0.19'

Permission for AndroidManifest.xml

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

For more details

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published