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.
How to implement dynamic page curl in android?
Can I create multiple account with same ip in google play console?
How to make Level as per total no?
when doing query for parseUsers and shoing them in listFragment, while switching fast from fragment to fragment the app crashs
Use a cursorloader from another activity
creating listview using a local database has Error copying database android
what's the meaning of Free Memory for Android APP?
Change the Arrow Icon in the Drawer Menu?
How to load image from file into the memory in android?
Multiple instances of an app
Error message: Field requires API level 11 (current min is 8): android.os.AsyncTask#THREAD_POOL_EXECUTOR
Android Studio Not Recognizing HTC One
How to implement Touch listener on Multiple button?
When should I close the ServerSocket opened at app startup?
Override UP button in action bar
How can I control external USB light?