blackberry

Blackberry DatabaseOutOfMemoryException with SQLite

假如想象 提交于 2019-12-11 05:53:49
问题 I'm getting the following error: net.rim.device.api.database.DatabaseOutOfMemoryException When trying to update my DB. It seems to happen at random points in the code (of course these are always points where I interact with the DB). What does this error mean and how can I prevent this from happening?? By the way, I use transactions when using INSERT and UPDATE to speed things up. Any help at all would be greatly appreciated! Thanks!! 来源: https://stackoverflow.com/questions/12375065/blackberry

BlackBerry - Receive Push Message inside App

不打扰是莪最后的温柔 提交于 2019-12-11 05:44:23
问题 I have successfully developed a BlackBerry App that registers for BlackBerry Push Messaging Service and receives push message. The Push Message is received as a pop-up message. I am handling at the back end to show this message inside the App in a Chat Screen that I have created. The push message when sent to the device is stored in a database as well. The App has a timer running that queries the database for any new message and displays it inside the app. However this approach is not so

Problem in parsing xml in blackberry

眉间皱痕 提交于 2019-12-11 05:42:47
问题 I am using SAX Parser to parse XML data from a http url. I am creating a BlackBerry application, that shows direction data from a location to another location. My application parsed data for some locations very accurately but for some locations it gives me org.xml.sax.SAXParseException: End tag does not match start tag 'meta'. when i traced my application then i came to know that data which is coming from http url is not correct, although url contains correct xml data The XML data I am

Do I have to use J2ME for Blackberry development?

冷暖自知 提交于 2019-12-11 05:35:38
问题 I would like to begin developing for the Blackberry platform and, specifically, the Bold and also the Storm device which is coming out soon. Do I need to get into Java and J2ME or can I develop sites in ASP.NET and just keep utilizing the skills I already have? I am completely new to mobile platform development and have no idea what it will take to target these Blackberry devices. I am hoping to continue to use my ASP skills. 回答1: This question might help you. "Creating a mini-site in asp.NET

Paypal Integration in Blackberry?

血红的双手。 提交于 2019-12-11 05:34:29
问题 Do we hav Paypal API for Blackberry as like the iPhone and Android. I have android PayPal API here https://www.x.com/community/ppx/xspaces/mobile/mep. But i cant able to find it for Blackberry. Please help me whether paypal transfer can be made in Blackberry or not. 回答1: Try by using this sdk https://www.x.com/community/ppx/sdks#WSDL 回答2: As far as I know there isn't a BlackBerry specific Paypal API. So to get around this, we just launched the browser to the Paypal link. From there they could

Blackberry - single line BasicEditField with large text

。_饼干妹妹 提交于 2019-12-11 05:20:02
问题 I have created a customized BasicEditField with Border using Bitmap.Now while typing the text,it crosses the border of the BasicEditField . This is my code class customEditField1 extends EditField { Bitmap mBorder = null; customEditField1(Bitmap borderBitmap) { mBorder = borderBitmap; } protected void paint(Graphics graphics) { graphics.drawBitmap(0, 0, mBorder.getWidth(),mBorder.getHeight(), mBorder, 0, 0); super.paint(graphics); } } I want to create a BasicEditField which should hide the

How to use Soft Keys in Blackberry Application?

两盒软妹~` 提交于 2019-12-11 04:43:24
问题 My application in J2ME, I have just changed Emulator Platform to Blackberry JDE 6.0.0 and Device 9800. After applying above configuration in Netbeans I got MyApp.cod file. I have installed it on my device Blackberry but problem is I used mostly Canvas and I used softkeys for options. Trackball working with Left, UP, Down & Right it's fine. But my soft keys which I provided on canvas it's not working? What I have to make changes in my canvas to use soft keys of blackberry? Here is code ::

Blackberry Torch Simulator and EditField Problem

一曲冷凌霜 提交于 2019-12-11 04:14:56
问题 The Blackberry Torch is showing some wierd behaviour. I have subclassed EditField only for visual stylings. In the main application, I instantiate 2 of these custom EditFields and set the style bit to EditField.FILTER_REAL_NUMERIC in order to limit input to numbers. These EditFields are then placed in a custom GridFieldManager along with some label fields which are un-focusable. If I touch (in the simulator) directly on one these EditFields, the full qwerty key pad is displayed. At this point

Blackberry 6: how to detect a long click on track pad?

和自甴很熟 提交于 2019-12-11 04:05:45
问题 how do you detect a long click on a track pad please? I.e. on this thingy: I can detect a short click with: public boolean navigationClick(int status, int time) { // XXX return super.navigationClick(status, time); } And also I can detect a long click on a touch screen with: protected boolean touchEvent(TouchEvent event) { if (event.getEvent() == TouchEvent.GESTURE) { TouchGesture gesture = event.getGesture(); if (gesture.getEvent() == TouchGesture.HOVER) { // XXX return true; } } return super

How to make a custom TextBoxField with rounded border on Blackberry? [closed]

十年热恋 提交于 2019-12-11 04:01:07
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 7 years ago . I need make a textboxField on Blackberry with rounded border. I try make a custom textbox but it seem not good. Can anybody share me a class for good custom TextBoxField on Blackberry ? 回答1: final Bitmap header