We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
private void imageUpload(final String imagePath) { SimpleMultiPartRequest request = new SimpleMultiPartRequest(Method.POST, apiUrl, mListener, mErrorListener); request.addFile("photo", imagePath); request.addMultipartParam("body", "text/plain", "some text"); RequestQueue mRequestQueue = Volley.newRequestQueue(getApplicationContext()); mRequestQueue.add(request); mRequestQueue.start(); }