blackberry

vb.net code for Android app

↘锁芯ラ 提交于 2020-01-06 08:23:08
问题 I am working on a BlackBerry app. This app has already been developed in Android in "Basic4Android" program. The code for the android app is written in vb.net. I need to write the exact same code for BlackBerry. I am trying to understand this method but I am unable to since I am not an expert with vb.net. I will not paste the entire method but only parts which I need to clarify: Sub HEX_T24_SHORT_GPS(latitude_decimal_degrees As Double, longitude_decimal_degrees As Double, speed_knots As Int,

How to create DialogBox in blackberry tabOS & how call next screen after click on button using Adobe flex4.5?

99封情书 提交于 2020-01-06 08:15:06
问题 i am new to Blackberry application development. now i am trying to make new app using adobe flex4.5 for Blackberry TabOS.. can anyone please guide How to create dialog box and how to call another screen by clicking on button????can anyone give sample code for the same...? i am trying this code: private function showLoginDialog():void { login = new LoginDialog(); login.title = "Device is locked"; login.message = "Please enter your username and password:"; login.addButton("OK"); login.addButton

How to create DialogBox in blackberry tabOS & how call next screen after click on button using Adobe flex4.5?

六月ゝ 毕业季﹏ 提交于 2020-01-06 08:14:21
问题 i am new to Blackberry application development. now i am trying to make new app using adobe flex4.5 for Blackberry TabOS.. can anyone please guide How to create dialog box and how to call another screen by clicking on button????can anyone give sample code for the same...? i am trying this code: private function showLoginDialog():void { login = new LoginDialog(); login.title = "Device is locked"; login.message = "Please enter your username and password:"; login.addButton("OK"); login.addButton

How to navigate to another tab from one tab(pane manager model) in blackberry?

拟墨画扇 提交于 2020-01-06 07:27:17
问题 I have created 3 tabs in my blackberry application.The first tab allows the user to select a particular date range and search for entries.The search button is on first tab.The results are fetched from a sqlite database and displayed on grid view of third tab. This is the main code i have used for creating tabs: // setup the tab model with 3 tabs PaneManagerModel model = new PaneManagerModel(); model.enableLooping( true ); // setup the first tab VerticalFieldManager vfm = new

BlackBerry push client application subscription

倾然丶 夕夏残阳落幕 提交于 2020-01-06 04:36:30
问题 I have few things to be clarified in BlackBerry push client applications. I have developed an push-enabled application which can receive push messages from the sample push initiator application installed on a publicly accessible location (through BIS). I have now run into a question about sending personalized messages to each device. For that matter I need to use subscription API that comes with BlackBerry push SDK. This question is similar to what has been posted here, but it contains no

Blackberry BrowserField error in Simulator

与世无争的帅哥 提交于 2020-01-06 03:36:25
问题 I am new to Blackberry development and Im trying to simple get a BrowserField working. I get this errormessage: Tried reinstalling JDE etc. etc. but the app always gets an error when I run it on the simulator.. Any ideas? Here is my code: package mypackage; import net.rim.device.api.browser.field2.BrowserField; import net.rim.device.api.ui.UiApplication; import net.rim.device.api.ui.container.MainScreen; /** * This class extends the UiApplication class, providing a graphical user interface. *

Java Beginner - Coding on Macbook Pro (Blackberry App building)

ぃ、小莉子 提交于 2020-01-06 02:37:04
问题 I'm just beginning to teach myself Java coding, in hopes of building a few blackberry apps. I assume I should: learn the basics. buy a blackberry app building book - learn the ropes acuqire necessary software - here's where my questions begin... Do I use Eclipse as the IDE? What about the Java API? Remember, I'm a complete newb, so my jargon may be somewhat...well...wrong. But, I think these two peices are initial steps, no? And most importantly, should I even be trying to code on my Macbook

hh:mm aa (12 hour format ) convert in HH:mm (24 hour format)

。_饼干妹妹 提交于 2020-01-06 01:50:09
问题 I have String time="02:30 PM" means 12 hour format and i want to convert this time in 24 hour format . I want this o/p: 14:30 . so how can i convert this ? 回答1: I don't know anything about berries, but in case the API is missing a proper formatting function, you can always get your hands dirty with the string itself: static String convert(String time){ boolean pm = "PM".equals(time.substring(6).toUpperCase()); int h = Integer.valueOf(time.substring(0,2)); if (h!=12) h+=pm?12:0; else h=pm?h:0;

How to set different row height in listfield?

南笙酒味 提交于 2020-01-05 11:03:46
问题 Closed. Please refer to here. Thanks 回答1: There is undocumented method setRowHeight(int row, int height) . But no one guarantees that it will be there with next OS update. More details here. Modify you TableRowManager like this: private class TableRowManager extends Manager { private int row; public TableRowManager(int row) { super(0); setRow(row); } public void setRow(int row) { this.row = row; } ... ... public int getPreferredHeight() { return getRowHeight(row); } } 来源: https:/

Blackberry AES encryption error

徘徊边缘 提交于 2020-01-05 09:23:26
问题 I have implemented AES encryption in BlackBerry using code from the Knowledge Base Article "How to - Use Advanced Encryption" I keep getting error: Module 'net_rim_crypto' not found. In the code I have imported net.rim.device.api.crypto.*; package, but I can't find the package net.rim.crypto. Do I need to add any external jar for that? 回答1: You should install JRE 4.6 and set the API level to 4.6 and OS of the target device should be higher than JRE version. 回答2: If you have problem with