Tagged Questions
2
votes
1answer
10k views
Android: upload file with filling out POST body together
I do use MultipartEntity to send File to server, it appears correctly in $_FILES superglobal
But I need also fill in POST body to be read via php://stdin
How can I do that?
current snippet below:
...
4
votes
2answers
6k views
Library and examples of parsing multipart/form-data from inputstream
The response to one kind of HTTP request I send is a multipart/form-data looks something like:
--------boundary123
Content-Disposition: form-data; name="json"
Content-Type: application/json
...
12
votes
3answers
2k views
Android error : MultipartEntity , request sent by the client was syntactically incorrect
I am suppose to send song (mp3/wav) file and some data through secure restful web service. I am using MultipartEntity to make HttpPost request. but When I execute it through HttpClient, the server ...
2
votes
1answer
4k views
Upload file by HTTP POST
I want to upload a file (an image specifically) to a REST Server using HTTP POST. I have already imported/add to build path httpmime-4.3.1.jar and apache-mime4j-0.6.jar. And I am getting the follow ...
2
votes
2answers
4k views
Android HttpClient Post File MultipartEntity
I am trying to upload an image from an Adroid app to a php webserver using HttpClient and MultipartEntity.
Here is a snippet of my code :
protected Void doInBackground(Void... params) {
...
1
vote
2answers
1k views
MultiPartEntity along with plain text in android
I am trying to send MultiPartEntity to the server to upload an image.
I have to send data to the server with a MultiPartEntity, The following is a sample request.
{
"user": {
"id": "12345",
...
0
votes
0answers
402 views
How to compress a video to maximum level android
I am working on Android app.
I am compressing recorded video clarity to send it to server.
The maximum lenght of video is of 30 sec.
I am able to upload the video from the phones having 2 or 3 MP.
...