Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • you moved the code from jsonparser to mainactivity is there any benifir? and please provide the further steps! after creating list, what to do? Commented May 3, 2016 at 5:55
  • No,I am not moving your code anywhere,I am suggesting that you should send your post request like the above code.After the request on your postExecute Toast a message thar your Login is successfull.@Sarvesh Commented May 3, 2016 at 6:00
  • As per my knowledge NameValuePair are in apache.http package which is removed Commented May 3, 2016 at 14:07
  • There is a shortcut method,which I use you can use Retrofit 2 library.The library is very easy to use and works very fast. @Sarvesh Commented May 4, 2016 at 9:46