[android-developers] HttpPost and byte[] on Android?
Hello,
I am dealing with http post method on Android. I have successfully
send simple string pairs using HttpClient and HttpPost class with the
NameValuePair as entity. However now I want to send a simple array of
bytes[]. Unfortunately the only entities I have found for the HttpPost
class are the NameValuePair and FileEntity. However my byte[] is not
from a file. Wirting it to a file and then sending by the FileEntity
seems to be pointless and stupid. How can I send this array using
default HttpClient and HttpPost class??
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home