> It is my Web server, so I can rewrite it to accept a PUT request. Are
 you suggesting that I do something like this, for each 1MB of the
 data?

    HttpPut httpPut = new HttpPut(url);
    httpPut.setEntity(new StringEntity(data));

I'd use ByteArrayEntity.

what about streaming it with InputStreamEntity?

ideally you'd never have those 2mb cached at one time.


--
jason.vp.engineering.particle

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to