0

As I read, HttpClient is deprecated since Android API 22. That's why I don't want to use it. I need to upload file vie POST request with possibility to track upload progress. Is there way to do it?

Community
  • 1
  • 1
Dropper
  • 159
  • 13
  • 2
    If prefer Volley, you can take a look at [my topic here](http://stackoverflow.com/questions/32240177/working-post-multipart-request-with-volley-and-without-httpentity) or search HttpUrlConnection, OkHttp or Retrofit multipart POST request, many topics available in StackOverflow – BNK Oct 06 '15 at 15:20
  • iirc, Android has OkHttp bundled since a few versions. – Leandros Oct 06 '15 at 15:25

1 Answers1

0

You can use HttpUrlConnection with Asyctask to show progress.

Also you can refer this link for the same.

prat
  • 597
  • 8
  • 17