How to upload a large file on android? -


recently have been working on app , requires files on phone uploaded server. these file may either images or videos. used asynctask networking on background.

however if file size greater 45 mbs file upload fails...it works fine other-wise

what should use instead of async tasks? should go sync adapters or volley library? know nothing in either of these.

you can use retrofit typedfile approach upload file in multi-part.

for reference : https://futurestud.io/blog/retrofit-how-to-upload-files/


Comments

Popular posts from this blog

swift - Button on Table View Cell connected to local function -

dns - Dokku server hosts two sites with TLD's, both domains are landing on only one app -

c# - ajax - How to receive data both html and json from server? -