I want to consume rest webservice get and post method json format in android application. But I dont know how to consume and get the data from server can u please guide me to get and post the json data to server in android platform.
Asked
Active
Viewed 157 times
-1
-
The best solution is usin Retrofit you can see tihs toturial [Retrofit — Getting Started and Create an Android Client]https://futurestud.io/blog/retrofit-getting-started-and-android-client – FarshidABZ Aug 04 '16 at 16:51
2 Answers
1
The best thing to use on Android for this is the Retrofit library. See their how to to accomplish this pretty easily.

w.donahue
- 10,790
- 13
- 56
- 78
0
Google states on their Android Developers page to use Volley for HTTP Requests. About Volley: https://developer.android.com/training/volley/index.html Request: https://developer.android.com/training/volley/simple.html
You can use this Tutorial to implement your stuff (it provides more information): http://arnab.ch/blog/2013/08/asynchronous-http-requests-in-android-using-volley/

sascha10000
- 1,245
- 1
- 10
- 22