blackberry-eclipse-plugin

Http POST in BlackBerry

十年热恋 提交于 2019-11-27 02:11:36
Greetings, I am trying to setup a server connection from my BlackBerry Application . I was able to get a response code on the status of the server. Now i have a few values which i have to POST to the server Its like a registration page values(username, password, age ) have to be sent to the server . ConnectionFactory connFact = new ConnectionFactory(); ConnectionDescriptor connDesc; connDesc = connFact.getConnection(url); if (connDesc != null) { HttpConnection httpConn; httpConn = (HttpConnection)connDesc.getConnection(); try { final int iResponseCode = httpConn.getResponseCode();

BlackBerry - use own JAR file in own project

痞子三分冷 提交于 2019-11-26 14:16:42
问题 (I have solved my problem, so have edited it to look more like a blog post - the final working solution has been placed as an "answer" below.) Aim I want to package our BB libraries (v4.5 OR v5.0) into JAR format, so we can give application source code to clients WITHOUT giving library source code. Workaround Currently, I have my SDK, and my apps, all setup with source code, as different projects in the same workspace. All projects compile. My SDK is setup as a library project, my apps as

Http POST in BlackBerry

两盒软妹~` 提交于 2019-11-26 10:00:27
问题 Greetings, I am trying to setup a server connection from my BlackBerry Application . I was able to get a response code on the status of the server. Now i have a few values which i have to POST to the server Its like a registration page values(username, password, age ) have to be sent to the server . ConnectionFactory connFact = new ConnectionFactory(); ConnectionDescriptor connDesc; connDesc = connFact.getConnection(url); if (connDesc != null) { HttpConnection httpConn; httpConn =