rim-4.5

Getting gps data from blackberry (pearl) directly from usb interface

Has anyone researched how to access the gps chipset on a blackberry over usb so that it is unnecessary to transmit this data over the cell carrier's data network? Is it possible to access the GPS chipset, store information in a buffer, and open an interface connection (over the usb charging port), for access? Not sure if J2ME allows f...

Scrolling problem in Blackberry application

Hello, I am not able to scroll through the application screen using trackball. I am using Blackberry Pearl 8100 simulator. Please help. Thanks in advance. ...

UDP connection test on BlackBerry Simulator

Hi, I am trying to send data using UDP (datagram). I am not able to test application on simulator. I tried running MDS first and then simulator,but it did not work. The error is displayed as Port 8080 already in use on BlackBerry simulator console. How do I change port in simulator? The UDP port to which I am connecting is localhost:501...

BlackBerry LongClickListener implementation

I need to implement OnLongClickListener for BlackBerry platform. It may be used for user input (ex phone keyboard implementation) or other functionality (navigation, rewind control, zoom control, etc). There are requirements: target control to listen - custom ButtonField it should be version compiliant with 4.5 and 4.6, so no touchEv...

How Can I use SQlite with Blackberry 4.5?

I am using Persistent Storage in Blackberry,now i want to use SQlite Database with Blackberry 4.5.But i didn't get any tutorial for that.Can i use SQlite with Blackberry 4.5 or i need any other version of Blackberry. ...

BlackBerry - Simulate a KeyPress event

Hello, I have a BlackBerry application that needs to take pictures from the camera and send them to a server. In order to do this i invoke the native camera application and listen to the filesystem. Once an image is captured and saved as a new jpeg file i get notified, resume foreground control and go about my business. The problem start...

net_rim_cldc not found

Hi, I am getting error as : module net_rim_cldc not found while debugging application on real device. I am using device Pearl 8100 with v4.5.0.81 and eclipse JDE plugin with component pack 4.5. I have read on forum that if there is difference between device software and development ide then this error occur, but i am using same versio...

SOAP Request fails with "Invalid service URL" error

Hi, My BlackBerry application consumes axis2 web services. SOAP POST HTTP request constantly fails with this error "Invalid service URL". I launch my app in 8800 simulator with ";deviceside=false" option specified. MDS is running. I can't test my app on real device for now. Any help? ...

Blackberry - background image/animation RIM OS 4.5.0

Please help me, how to set a background image for screen and How to do animations on any-field or on text? Thank You.... ...

When I am trying to align fields vertically, they aren't behaving what I expected?(Blackberry JDE4.5.0 eclipse)

I am using Eclipse & JDE 4.5.0 plug-in. How to align fields vertically. Can we align fields like LEFT_BOTTOM,RIGHT_BOTTOM, LEFT_VCENTER, RIGHT_VCENTER, CENTER(vertically & horizontally), BOTTOM_CENTER, etc...? Please help me.. Thank You... ...

Blackberry - can we change theme using our application?

Is it possible to do? can we change theme programatically using JDE 4.5? if possible give any link, or example. please help me. ...

Notification Service for Blackberry OS 4.5 application

Hi, I am developing an application similar to email application. Whenever new message is received my notification service should indicate change to user...by updating icon, also, the notification service should continuosly listen to server for incoming events. How do I achieve this? I am developing in os version 4.5. Please help. Tha...

Communication Handling using Service in Blackberry 4.5

Hi all, I am developing an app. (like google talk) which at phone boot-up starts a background service which is continuously running. This service interacts with UI (means any request to server is first sent from UI to service & from service to server) & any response is sent to UI through service. What i know to start background service...

Add a notification icon at the status bar in BlackBerry JDE 4.5.0

I'm writing a Java application in BlackBerry JDE 4.5 that will start listening for some event at the start up. I want to display a small icon at the status bar. I know its support in version 4.6.0 of the BlackBerry API set with ApplicationIcon, ApplicationIndicator and ApplicationIndicatorRegistry classes but which classes are there in...

Blackberry - how to define screen title height?

Hi, is there a possibility to define somehow title's height? The main problem is a separator that is located under the actual title. So, possibly there is possibility to define somehow the separator's height. API 4.5 Thanks ...

How to follow a "page auto-redirection" to get the response code ?

I use the following code to get the returned response code of an aspx page HttpConnection connection = (HttpConnection) Connector.open("http://company.com/temp1.aspx" + ";deviceside=true"); connection.setRequestMethod(HttpConnection.GET); connection.setRequestProperty(HttpHeaders.HEADER_CONN...

Blackberry 4.5 - How to click on a .jpg image?

Hi all, I m displaying a .jpg image in a BitmapField & adding it in a VerticalFieldManager. It is getting displayed but I cannot click on it. I m doing it like.. Bitmap bitmap = Bitmap.getBitmapResource("image.jpg"); BitmapField bitmapField = new BitmapField(bitmap , BitmapField.FOCUSABLE) { protected boolean nav...

how to change a color in an image programmatically ?

I have a .PNG image with a transparent background and a drawing in it with a black color, how could I change the "black drawing color" in this image to any color i want programmatically; using rim 4.5 API ? THANKS IN ADVANCE .... ...

Blackberry How to play sound (short[]) using the speaker of the device ?

I am using Alert.startAudio to play an array of short values, I want the same short[] to be played using the phone speaker, how could I do this ? ...

RichTextEdit with multicolored text ?

How do I create a RichTextEdit using RIM 4.5 API that contains text with multiple colors? For example I want to create a RichTextEdit as follows: The Text is "Hello BB world" "Hello" should be blue "BB world" should be red "BB" should be ITALIC "Hello" should be BOLD The main problem is getting colors, not the bold and italic. I ha...