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
Post a Comment