This Sample contains the flexible use of Volley Android library, and has included swipe fragment update sample. The volley library is updated. Also implementing the network calls and getting the response is became easier than ever for android. You can also find the file uploading..
SwipeVolley is hosted in the following web site
https://github.com/DearDhruv/SwipeVolley
If you think the Android project SwipeVolley listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
The following table is the detailed list of SwipeVolley.
Item | Value |
---|---|
Java File Count | 69 |
Supported screen sizes | [mdpi, xxhdpi, hdpi, xhdpi] |
Target SDK Version | 21 |
Minimum SDK Version | 11 |
Activity Count | 2 |
Fragment Count | 3 |
jar files used | android-support-v4.jar gson-2.2.4.jar httpmime-4.2.5.jar khandroid-httpclient-4.2.3.jar |
Required Permissions | android.permission.ACCESS_NETWORK_STATE android.permission.ACCESS_WIFI_STATE android.permission.INTERNET android.permission.WRITE_EXTERNAL_STORAGE android.permission.WRITE_INTERNAL_STORAGE |
There are 6 image files in SwipeVolley. The names of the image files are listed as follows.
camera_btn_2.png camera_btn_2_selected.png ic_action_upload_photo.png ic_image_err.png upload_btn.png upload_btn_selected.png
The following screenshort is generated from the image listed above.
SwipeVolley has the following Java source files.
com.android.volley.AuthFailureError.java com.android.volley.Cache.java com.android.volley.CacheDispatcher.java com.android.volley.DefaultRetryPolicy.java com.android.volley.ExecutorDelivery.java com.android.volley.Network.java com.android.volley.NetworkDispatcher.java com.android.volley.NetworkError.java com.android.volley.NetworkResponse.java com.android.volley.NoConnectionError.java com.android.volley.ParseError.java com.android.volley.Request.java com.android.volley.RequestQueue.java com.android.volley.Response.java com.android.volley.ResponseDelivery.java com.android.volley.RetryPolicy.java com.android.volley.ServerError.java com.android.volley.TimeoutError.java com.android.volley.VolleyError.java com.android.volley.VolleyLog.java com.android.volley.examples.toolbox.BitmapLruCache.java com.android.volley.examples.toolbox.ExtHttpClientStack.java com.android.volley.examples.toolbox.FakeImageCache.java com.android.volley.examples.toolbox.GsonRequest.java com.android.volley.examples.toolbox.MultipartRequest.java com.android.volley.examples.toolbox.MyVolley.java com.android.volley.examples.toolbox.SsX509TrustManager.java com.android.volley.examples.toolbox.SslHttpClient.java com.android.volley.examples.toolbox.updated.IJSONParseListener.java com.android.volley.examples.toolbox.updated.IParseListener.java com.android.volley.examples.toolbox.updated.IStringParseListener.java com.android.volley.examples.toolbox.updated.JSONMultipleImgRequestResponse.java com.android.volley.examples.toolbox.updated.JSONRequestResponse.java com.android.volley.toolbox.AndroidAuthenticator.java com.android.volley.toolbox.Authenticator.java com.android.volley.toolbox.BasicNetwork.java com.android.volley.toolbox.ByteArrayPool.java com.android.volley.toolbox.ClearCacheRequest.java com.android.volley.toolbox.CustomNetworkImageView.java com.android.volley.toolbox.DiskBasedCache.java com.android.volley.toolbox.HttpClientStack.java com.android.volley.toolbox.HttpHeaderParser.java com.android.volley.toolbox.HttpStack.java com.android.volley.toolbox.HurlStack.java com.android.volley.toolbox.ImageLoader.java com.android.volley.toolbox.ImageRequest.java com.android.volley.toolbox.JsonArrayRequest.java com.android.volley.toolbox.JsonObjectRequest.java com.android.volley.toolbox.JsonRequest.java com.android.volley.toolbox.NetworkImageTouchView.java com.android.volley.toolbox.NetworkImageView.java com.android.volley.toolbox.NoCache.java com.android.volley.toolbox.PoolingByteArrayOutputStream.java com.android.volley.toolbox.RequestFuture.java com.android.volley.toolbox.StringRequest.java com.android.volley.toolbox.TouchImageView.java com.android.volley.toolbox.Volley.java com.deardhruv.swipevolley.BaseApplication.java com.deardhruv.swipevolley.activities.ImageUploadActivity.java com.deardhruv.swipevolley.activities.MainActivity.java com.deardhruv.swipevolley.adapters.ItemDetailAdapter.java com.deardhruv.swipevolley.fragments.ImageListFrag.java com.deardhruv.swipevolley.fragments.ImagePreviewFrag.java com.deardhruv.swipevolley.model.ImageItem.java com.deardhruv.swipevolley.network.ServiceURL.java com.deardhruv.swipevolley.utils.ImageValidator.java com.deardhruv.swipevolley.utils.StorageUtils.java com.deardhruv.swipevolley.utils.StoreImageHelper.java