Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • How do I "implement the POST request to accept multi-part uploading from client side"? Could you point to some resources? Also, since you're reading from a file in RequestBody.create(MEDIA_TYPE_PNG, new File("website/static/logo-square.png")), does that mean I'll have to save the image taken to a file before proceeding to upload? Commented Jun 1, 2016 at 6:55
  • That's code snippet was an example to post with OkHttpClient, you can adjust to have that on Android app. Commented Jun 1, 2016 at 7:03
  • And yes, you have to save in on your storage first. It is to avoid keeping all the data on your memory which may cause OutOfMemory issue (you don't want this issue, right?) Commented Jun 1, 2016 at 7:05