blackberry-jde

Blackberry java show recieved push message

♀尐吖头ヾ 提交于 2019-12-08 04:13:33
问题 After referring tons of tutorials finally somehow I managed to develop java push client for Blackberry OS 7.0 (registering in RIM and server side are completely ok, this is the server script). Now the program running on the device and when new push massage revived there is a little arrow blinking on right up corner of the device, but I haven't that much knowledge to show that message in a label field or any other UI component. Please tell me how to show the revived push message in a screen. I

How to programatically reboot a BLACKBERRY device?

最后都变了- 提交于 2019-12-08 03:52:59
问题 Is there an API that will allow you to reboot the blackberry device? 回答1: Look at using the requestPowerOff() method in the Device class. Edit: Ok, here's some sample code. To get the device to turn on again you have to schedule another application to run at some point in the future. You'll probably want to write an application that doesn't show anything to the user and schedule that. However, I happened to have the module name for the video recorder on me so I bring that back up. Device

is it possible to run blackberry OS 10 in blackberry OS 6,7 and 7.1

不问归期 提交于 2019-12-07 18:56:28
问题 I am new to blackberry development; please let me know is it possible to run blackberry OS 10 apps on blackberry OS 6,7 and 7.1 ? Or vice versa ? Also i want know how to develop a flip board type application for blackberry OS 10, or OS 6 and 7. 回答1: BB OS 10 and BB OS 7,6,5 are not compatible. Thers is no such thing like binary code compatibility between BB 10 and BB RIM OS 7.x and older devices. But there's a workaround. Use HTML5/WebWorks to implement an application and compile it for every

Regular Expression in Blackberry?

做~自己de王妃 提交于 2019-12-07 15:36:17
问题 How to validate email by using Regular Exprssion in Blackberry. There is no Pattern class in Blackberry API. Is there any other way to validate. Thank you 回答1: There is no Regex in the current Blackberry API. Try this: http://code.google.com/p/regexp-me/ 回答2: Here is a good example using Regexp-me to validate the email address in Blackberry JDE. 来源: https://stackoverflow.com/questions/6212172/regular-expression-in-blackberry

Error while running web service on blackberry simulator

↘锁芯ラ 提交于 2019-12-07 12:01:08
问题 I am trying to access a webservice from a BlackBerry application that I developed. However, when running the app I get " App Error 104 Uncaught: NullPointerException " I am unable to debug, for some strange reason my debugger auto-closes as soon as I start debugging. Any suggestions on what could be the reason? I would like to mention that I have received the three .csi signature files from BlackBerry, but whenever I try to sign the application it fails: The Signature information in the code

How to get a list of background processes on BlackBerry

不问归期 提交于 2019-12-07 07:14:47
问题 I'm looking for something corresponding to net.rim.device.api.system.ApplicationManager.getVisibleApplications(), but including applications that might not/do not have a UI. Any ideas? Unreasonably complicated work-around solutions welcome, I'm growing slowly more sure that there's not a simple single call to do this... 回答1: If you know the application name you can detect if it is running or not by checking the size of the array containing all AppDescriptor actually running this app. int

is it possible to run blackberry OS 10 in blackberry OS 6,7 and 7.1

亡梦爱人 提交于 2019-12-06 16:04:19
I am new to blackberry development; please let me know is it possible to run blackberry OS 10 apps on blackberry OS 6,7 and 7.1 ? Or vice versa ? Also i want know how to develop a flip board type application for blackberry OS 10, or OS 6 and 7. BB OS 10 and BB OS 7,6,5 are not compatible. Thers is no such thing like binary code compatibility between BB 10 and BB RIM OS 7.x and older devices. But there's a workaround. Use HTML5/WebWorks to implement an application and compile it for every platform. In this case this application will work on BB 10 and will work on legacy RIM OS devices (7.x, 6.0

How to run BlackBerry application in Background

巧了我就是萌 提交于 2019-12-06 15:12:59
I am working on a BlackBerry Application which requires the application be running once its sent to the background also. I would really appreciate it if someone could guide me to any tutorials related to running background services in BlackBerry. BBdev Background Application is a kind of process so you should extend Application instead of extending Uiapplication . In your main class implement all your code. You can also see this StackOverflow question for an example: Blackberry - Running Background Application Ashish Agarwal RIM has posted an article about running applications in background on

Error while running web service on blackberry simulator

佐手、 提交于 2019-12-05 21:18:48
I am trying to access a webservice from a BlackBerry application that I developed. However, when running the app I get " App Error 104 Uncaught: NullPointerException " I am unable to debug, for some strange reason my debugger auto-closes as soon as I start debugging. Any suggestions on what could be the reason? I would like to mention that I have received the three .csi signature files from BlackBerry, but whenever I try to sign the application it fails: The Signature information in the code signing register request is not of appropriate length . Could this error be due to signing the

avoid showing menu on button click

偶尔善良 提交于 2019-12-05 08:06:18
In my application there is a button and when the button is clicked the context menu pops up. How can I avoid having the context menu show up? protected void makeMenu(Menu menu, int context){ menu.add(_imageMenuItem); super.makeMenu(menu, context); } class ImageMenuItem extends MenuItem { ImageMenuItem() { super("Login Screen", 0, 0); } public boolean onMenu(int i) { return false; } public void run() { UiApplication app = (UiApplication) getApplication(); app.pushScreen(new LoginScreen()); } } Adil Soomro have you added style to the ButtonField via the constructor? ButtonField button = new