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.
On-demand downloading of vector data for mapsforge
Why is this sqlite database column not being created?
How can i write these items for constructor in a for-loop?
Custom Spinner's context menu
Resources$NotFoundException: Resource ID #0x0 issue
Symbol '%' causes crash when used in android:summary tag
Could not find com.google.android.gms:play-services:7.0.0
Write NFC Tags to a perform basic android tasks
Empty space after setVisibility GONE a row in bindView
ExpandableListView.addHeaderView() did not retain layout parameter
After Login with Facebook Android -Other Activity
In Android, Where to load SoundPool? In Oncreate or need to create a separate method?
Common java code for different android flavors
How to make the textview content HORIZONTAL
Is it possible to decode and analyze HDMI in on Android devices?
Can´t see the actual crash in Fabric using Timber and a custom Reporting Tree