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

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -