blackberry

BlackBerry - Creating custom Date Field

对着背影说爱祢 提交于 2019-12-18 03:44:42
问题 i want to create a field that looks like this ....can any one tell me how this could be done which field could i use where in i can select values by using the trackball/wheel or in case of storm i could slide... 回答1: It could be simple Label or Bitmap Field extention, with navigation event handling. You will need to hold String array with values which will be changed in circle on horizontal navigation. If such custom Field is focused, draw Up and Down arrays. So, there will be one such Field

getting started in Blackberry application development [closed]

女生的网名这么多〃 提交于 2019-12-17 22:57:11
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . Can you please suggest steps for beginners to get started with Blackberry development. 回答1: first of all visit BB Dev Getting Started

Is there a way to get the stack trace of an exception in form of a String in Blackberry?

瘦欲@ 提交于 2019-12-17 20:13:57
问题 I want to log the stack trace of exceptions into a file. Is there a way that I can get the stack trace in form of a String , or somehow make ex.printStackTrace() print the trace into a stream or a file? I know that there is a way to do this in Java standard edition, but I want this in Blackberry. 回答1: BlackBerry only provides stack traces when you catch a Throwable. So you should be able to use printStackTrace and friends if you change the catch type. EDIT Sorry, I misread your question --

Blackberry - application settings save/load

萝らか妹 提交于 2019-12-17 19:12:10
问题 I know two ways to save/load application settings: use PersistentStore use filesystem (store, since SDCard is optional) I'd like to know what are you're practicies of working with application settings? Using PersistentStore to save/load application settings The persistent store provides a means for objects to persist across device resets. A persistent object consists of a key-value pair. When a persistent object is committed to the persistent store, that object's value is stored in flash

Blackberry - application settings save/load

前提是你 提交于 2019-12-17 19:09:26
问题 I know two ways to save/load application settings: use PersistentStore use filesystem (store, since SDCard is optional) I'd like to know what are you're practicies of working with application settings? Using PersistentStore to save/load application settings The persistent store provides a means for objects to persist across device resets. A persistent object consists of a key-value pair. When a persistent object is committed to the persistent store, that object's value is stored in flash

Blackberry - How to add border to BasicEditField?

天涯浪子 提交于 2019-12-17 18:43:43
问题 I used BasicEditField in my Blackberry program,the BasicEditField doesnot display any border.So i want to customize the BasicEditField to display with border.please give some code snippets. 回答1: If it's 4.6 RIM OS, why don't you use Border: BasicEditField roundedBorderEdit = new BasicEditField(); XYEdges padding = new XYEdges(15, 15, 15, 15); int color = Color.CRIMSON; int lineStyle = Border.STYLE_DOTTED; Border roundedBorder = BorderFactory.createRoundedBorder(padding, color, lineStyle);

installing BlackBerry Eclipse JDE plugin on Mac OS X

安稳与你 提交于 2019-12-17 18:39:45
问题 Is it possible to install BlackBerry Eclipse JDE plugin on Mac OS X? I tried to install the plugin through the eclipse update and also by downloading the zip file from the BlackBerry site. This is the most unintuitive process for getting set up in development environment. BlackBerry site does not make it easy. 回答1: The supported Blackberry development arena is very Windows centric. The compiler (rapc) is a windows executable. I have zero Mac experience so I can't tell if this will help but

Blackberry - How to use notification icon in statusbar

雨燕双飞 提交于 2019-12-17 17:26:58
问题 In RIM Blackberry OS 4.6+ there is a new feature - ability to show notification icon in statusbar. Integrated application use it to give quick and informative information for user: Dealler - missed calls, Messages - unread messages etc. removed dead ImageShack link Possible use of notification icon: missed events RSS updates object status (ex. weather/app activity/gps signal strength) other I would like to post a howto guide for this feature. 回答1: ApplicationIndicator class To add/modify

How to show our own icon in BlackBerry Map?

我的未来我决定 提交于 2019-12-17 14:52:18
问题 I want to know how to use our own logo to show the particular place in BBMap? Can anyone knows how to do this ? 回答1: BlackBerry Map It's not possible in Blackberry Map to show custom icon for POI. Things you can include in Location on Blackberry Map: The latitude of the location * 100,000. South is negative. The longitude of the location * 100,000. West is negative. The label to be displayed beside the location. The description displayed when the BlackBerry smartphone user selects details.

Parse XML file on BlackBerry

半世苍凉 提交于 2019-12-17 09:46:19
问题 I want to know how to parse XML data on a BlackBerry. I read somewhere that JSON is good method to parse xml data. Are there any tutorials to parse XML data using JSON, or any other mechanism? 回答1: Parsing XML in Blackberry Simple API for XML (SAX) was developed by the members of a public mailing list (XML-DEV).It gives an event based approach to XML parsing. It means that instead of going from node to node, it goes from event to event. SAX is an event driven interface. Events include XML tag