blackberry

BlackBerry barcode scanning library?

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-19 09:17:30
问题 Anyone got a good handle on a barcode scanning library that can be used to read in UPC-A, EAN-13 or other major barcode formats based on input from the digital camera? Does RIM have a standard library already available for this? I know that BlackBerry Messenger has 2D barcode scanning built-in so I'm guessing there must be something available, though not sure if it's proprietary or not. Update: I'll go with the zxing library for now and see how that pans out since there aren't any official

BlackBerry barcode scanning library?

旧时模样 提交于 2019-12-19 09:17:23
问题 Anyone got a good handle on a barcode scanning library that can be used to read in UPC-A, EAN-13 or other major barcode formats based on input from the digital camera? Does RIM have a standard library already available for this? I know that BlackBerry Messenger has 2D barcode scanning built-in so I'm guessing there must be something available, though not sure if it's proprietary or not. Update: I'll go with the zxing library for now and see how that pans out since there aren't any official

Blackberry - Custom size EditField

試著忘記壹切 提交于 2019-12-19 04:56:26
问题 I am trying to put together a dialog that should look like this: Fill in the below fields _______________ likes ____________________ where the "_" lines are the EditFields. I am sticking all the fields in a HorizontalFieldManager, which I add to the dialog. Unfortunately, the first EditField consumes all the space on the first line. I have tried to override the getPreferredWidth() method of the EditField by creating my own class extending BasicEditField, but have had no success. Surely there

BlackBerry - How to add content to the Home Screen?

自古美人都是妖i 提交于 2019-12-19 04:50:18
问题 In the Windows Mobile world you can create a so-called Today plugin that adds content to the phone's main screen -- the one where you see the number of missed calls, unread sms and upcoming events. Is it possible to do something similar on the BlackBerry? I'd like to show some important info there, so that they are as visible and as easily reachable as possible. 回答1: To provide some information on the Home Screen you can use App Icon: Add a notification icon at the status bar in BlackBerry

Blackberry Listfield with variable height for each row?

半腔热情 提交于 2019-12-19 04:07:49
问题 I need to implement custom ListField which has height variable for every each row. Selected row should has different height then other rows. 回答1: Well you need to look your self in the mirror and answer "Are Undocumented Methods OK?" if the answer is yes use "ListField.setRowHeight(index,height)" this is available in 4.2.1 4.7 and 5.0 atleast. hope that helps. 来源: https://stackoverflow.com/questions/2737643/blackberry-listfield-with-variable-height-for-each-row

Issue in PopUpScreen

╄→гoц情女王★ 提交于 2019-12-19 04:07:48
问题 OnClick of an image I am popping up a screen which has dropdown code, where I have to select the data and pass it to the screen from where it was popped up, after selecting the data from the dropdown the popupscreen should disappear passing the selected ocf value to the firstscreen. I am not able to hide the popupscreen after selection and am not able to pass the data back to the first screen This code will call a popup screen if (field==bitmapField1) { UiApplication.getUiApplication()

Push Notifications through BES/BIS , BlackBerry

爷,独闯天下 提交于 2019-12-19 03:57:23
问题 I am trying to use push notifications for OS < 7.X . I downloaded the sample server / client code. I deployed the client code on my device and the low-level-sample code on the tomcat provided. For the record , when i registered for push notifications here i registered using the BIS option. Now that i was actually given a blackberry i was informed it is using BES ( i dont think though this is the root of the problem that i am going to describe..). On the device , in the sample application i

UI compatibility across all BlackBerry devices

萝らか妹 提交于 2019-12-19 03:21:26
问题 I wrote a simple app for the BlackBerry and tested with the 9630 simulator. How do I get a UI design that is compatible with all the simulators? 回答1: Your UI has to make as little assumptions as possible on things like display size, physical keyboard etc. On touchscreen devices the screen size actually "changes" when the device is rotated. And to second @Michael, testing, testing, testing :) 回答2: testing, testing, and testing If you need your app to work on all the simulators, then get all

Create an application which will lock another application event

一曲冷凌霜 提交于 2019-12-18 18:32:35
问题 Actually I want to make an application which will getGlobalEvent and control that event through another custom application. Is there any way to do so. Can i get global event from a particular application? Its like an application which will lock custom application in your blackberry, if you add following application in that locking app list and put password to access then when u try to open that application, it will ask for a password which u set in the locking app. 回答1: Common advices this

Horizontal Scrolling and TextField Error

♀尐吖头ヾ 提交于 2019-12-18 12:27:14
问题 I have created a CustomTextField which scrolls itself towards left when i type text which are extra than the width of the TextField for which a HorizonalFieldManager is used But now the problem is if i Right click with my mouse and scroll it it goes on to inadequate length but does not stop to the last word i type What is the problem here ?? Is it a bug I just need that to disable HorizontalScrolling when it reaches the last word It should be able to scroll just between the start and end of