blackberry-jde

Checkbox on right side of text in ListField

感情迁移 提交于 2019-11-30 13:06:14
问题 I want listfield with images and checkbox on right side of text. I got the images on leftside but unable to get checkbox on right side. if possible checkbox should be invisible. only tickmark should be seen. I want to acheive Image text1 chechbox Image text2 Image text3 checkbox images should be same for all listitem. public final class ListfieldDemo1 extends MainScreen { private Vector _listElements; ListField list; private ListField _checkList; public ListfieldDemo1() { // Set the displayed

Blackberry kSoap2 & Soap Header

放肆的年华 提交于 2019-11-30 10:15:15
Trying to specify a custom soap header. Not sure how the SoapEnvelope.headerOut propery is to be populated. My code so far? String soapAction = serviceNamespace + "/SearchCustomer"; SoapObject rpc = new SoapObject(serviceNamespace, "SearchCustomers"); SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11); envelope.bodyOut = rpc; envelope.dotNet = true; envelope.encodingStyle = SoapSerializationEnvelope.ENC; rpc.addProperty("searchBy", searchBy); rpc.addProperty("groupBy", Integer.toString(groupBy)); Here is the header WSDL extract... <soap:Header> <MISHeader

Checkbox on right side of text in ListField

喜你入骨 提交于 2019-11-30 05:32:37
I want listfield with images and checkbox on right side of text. I got the images on leftside but unable to get checkbox on right side. if possible checkbox should be invisible. only tickmark should be seen. I want to acheive Image text1 chechbox Image text2 Image text3 checkbox images should be same for all listitem. public final class ListfieldDemo1 extends MainScreen { private Vector _listElements; ListField list; private ListField _checkList; public ListfieldDemo1() { // Set the displayed title of the screen super(Manager.NO_VERTICAL_SCROLL); add(new LabelField("Fruits List", LabelField

Is the BlackBerry code signing service down at the moment?

生来就可爱ヽ(ⅴ<●) 提交于 2019-11-29 18:13:50
My BlackBerry code signing has started to fail with an “Error connecting to web signer from proxy”. Searching the web seems to indicate this is a problem with the BlackBerry code signing service. Is anybody else hitting this at the moment? Wireshark indicates I am getting a response from www.rim.net with the error message in. Request: POST /Websigner/servlet/Runtime HTTP/1.1 Cache-Control: no-cache Pragma: no-cache User-Agent: Java/1.6.0_21 Host: www.rim.net Accept: text/html, image/gif, image/jpeg, *; q=.2, / ; q=.2 Connection: keep-alive Content-type: application/x-www-form-urlencoded

Blackberry kSoap2 & Soap Header

心不动则不痛 提交于 2019-11-29 15:19:42
问题 Trying to specify a custom soap header. Not sure how the SoapEnvelope.headerOut propery is to be populated. My code so far? String soapAction = serviceNamespace + "/SearchCustomer"; SoapObject rpc = new SoapObject(serviceNamespace, "SearchCustomers"); SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11); envelope.bodyOut = rpc; envelope.dotNet = true; envelope.encodingStyle = SoapSerializationEnvelope.ENC; rpc.addProperty("searchBy", searchBy); rpc

Is the BlackBerry code signing service down at the moment?

爷,独闯天下 提交于 2019-11-28 12:16:48
问题 My BlackBerry code signing has started to fail with an “Error connecting to web signer from proxy”. Searching the web seems to indicate this is a problem with the BlackBerry code signing service. Is anybody else hitting this at the moment? Wireshark indicates I am getting a response from www.rim.net with the error message in. Request: POST /Websigner/servlet/Runtime HTTP/1.1 Cache-Control: no-cache Pragma: no-cache User-Agent: Java/1.6.0_21 Host: www.rim.net Accept: text/html, image/gif,

Unable to connect to internet in Blackberry device?

早过忘川 提交于 2019-11-28 00:35:10
I am developing an app where i am using browser field to load html files in it. My code is as follows. Main.java //pushing screen to browser field page.. public Main() { // Push a screen onto the UI stack for rendering. pushScreen(new WebViewController()); } WebViewController.java BrowserFieldConfig bfConfig = new BrowserFieldConfig(); bfConfig.setProperty(BrowserFieldConfig.NAVIGATION_MODE, BrowserFieldConfig.NAVIGATION_MODE_POINTER); bfConfig.setProperty(BrowserFieldConfig.JAVASCRIPT_ENABLED, Boolean.TRUE); bfConfig.setProperty(BrowserFieldConfig.ALLOW_CS_XHR, Boolean.TRUE); bfConfig

BlackBerry - use own JAR file in own project

橙三吉。 提交于 2019-11-27 08:43:01
(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 applications. In each app, I add the SDK project to the build path. Eclipse handles the build perfectly,

Custom List Field click event

风流意气都作罢 提交于 2019-11-27 05:22:11
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) { _listData = data; setSize(_listData.size()); setSearchable(true); setCallback(this); setRowHeight(_MAX

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();