02-06-2013 07:15 AM
For Mobile app, we are using the back end salesforce service to get data, server had a service to receive data from the client in the body of the http request. Here to send data from the BlackBerry to the body of the http, we need to make use outputstream of the http connection as below code, whereas in android we can use of apache http client library to send data in the body of http using *setentity* method. i request you to provide me any library like apache http lib or any solution to achieve this either in client or in server.
byte  bodyBytes = getBodyBytesFromSomewhere();
OutputStream out = httpConnection.openOutputStream();
02-06-2013 10:35 AM
Check out this link:
and look for the POST example.
Also, I recommend you try and use the search box in the forum as this question was asked many times and there are several examples.
Hope that helps,