BlackBerry – use own JAR file in own project

I have managed to solve the problem so have edited the question, and placed the final procedure, with notes, down here: 1) Change the SDK project to be a MIDLET application as per this link (Richard Schilling’s Professional Weblog) The BlackBerry support forum has a post (Working with Libraries) erroneously advises the developer to set … Read more

Http POST in BlackBerry

What type of a POST do you use? If you are just passing key-value pairs, then it should be a POST of a “application/x-www-form-urlencoded” content-type. So, what lacks youe code is: 1). Set a proper content-type on your connection: httpConn.setRequestProperty(“Content-Type”, “application/x-www-form-urlencoded”); 2). Prepare the content to be sent to the server via the POST: URLEncodedPostData … Read more