blackberry-jde

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

Custom List Field click event

烂漫一生 提交于 2019-11-26 11:34:00
问题 i m writing one application in which i have created custom list field for displaying listview. my CustomListField contains one image and text in a row. i m gettiing field change listener on click of listfield row but i want to put fieldchange listener on image too.. can anyone tell me how can i do that. here is my code. public class CustomListField extends ListField implements ListFieldCallback { private Vector _listData; private int _MAX_ROW_HEIGHT = 60; public CustomListField(Vector data) {

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 =