I am new bee in Android , so the knowledge regarding android is not so vast, Ok lets come to the point, I need to make a login by username and password, for that I have to make http requset by JSON and in return the response will also come in JSON. So can anyone can HELP me please in it. THANKS.
相关问题
- Angular RxJS mergeMap types
- Jackson Deserialization not calling deserialize on
- How can I create this custom Bottom Navigation on
- How to maintain order of key-value in DataFrame sa
- StackExchange API - Deserialize Date in JSON Respo
I guess it is more the other way 'round: you send JSON data over HTTP.
Have a look at
HttpURLConnection
and theorg.json.*
classes.Have you looked at Volley and/or Retrofit? If login is not only operation you need to make they can be of much help.
Try out this code