I need to execute HTTP Post request in Android, and show separate progress of sending request body and downloading response. This must be a determinate progress. Request body is JSON. One of it's attributes values is Base64 encoded String that represents image. The server response is also a JSON, containing Base64 encoded image. I need to show determinate progress bar for uploading request. Once it is sent but response isn't available yet - show indeterminate progress bar. Once response is ready - show determinate progress of downloading. I used to use RETROFIT REST client for networking. But now it seems that RETROFIT can't help...
I'm looking towards using AsyncTask. But not sure if it is possible to get progress of POST response downloading.