How to send big size image to a server in android?
I have to send a DNG file which has a size around 30 mb to my server and then I have to process DNG file in matlab and after that I need to get the results back from matlab to android device. I am new to sending images to a server and I do not know if is there any special way for big size images. I saw similar questions but I could not understand what to do for sending images to a server. Could you please help me which steps should I follow respectively and which methods or libraries do I need to use ? Thanks.
If you'd like to send big files using HTTP, chunks are the way to go. You would need a backend server supporting this kind of operation (either with some homemade recipe or with a standardized implementation). You'd basically need an API to create the file description (including the expected size) which would return a handle on this future file (at least an ID). Then use PUT or PATCH and send the chunks until one by one.
Getting NullPointerException in custom ListView
rendering video on a texture in LibGDX
android - WrapPanel equivalent?
Save gps-location to sqlite continuously
Children of my custom layout won't re-layout and re-measure correctly
Android Mono '/data/data/Mono.Android.DebugRuntime/lib/libmonosgen-2.0.so' not found
Android layouts design for tablets and devices
How to set different width in textView
How does Android establish data connection with a invalid APN?
How to disable the Bluetooth in android? [duplicate]
Android Dynamic EditText boxes + getText
How to make transparent a bitmap corner
How to get json respose using jsonp
Android - view failed to instantiate in edit mode. NullPointerException
Renamed app causing errors in emulator
How to use multilevel inheritance in android