Questions tagged [rim-4.5]

24 questions
4
votes
2 answers

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" +…
Ashraf Bashir
  • 9,070
  • 12
  • 50
  • 79
3
votes
1 answer

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…
rramirez
  • 33
  • 3
3
votes
1 answer

BlackBerry - Simulate a KeyPress event

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…
Orr Matarasso
  • 751
  • 1
  • 7
  • 17
3
votes
1 answer

In Blackberry, setting Trackball Sensitivity has no effect?

I use the following code to set the sensitivity of the trackball public class Main extends UiApplication { public static void main(String[] args) { Main theApp = new Main(); theApp.enterEventDispatcher(); } public…
Ashraf Bashir
  • 9,070
  • 12
  • 50
  • 79
2
votes
1 answer

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…
Ashraf Bashir
  • 9,070
  • 12
  • 50
  • 79
2
votes
1 answer

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 ?
Ashraf Bashir
  • 9,070
  • 12
  • 50
  • 79
2
votes
2 answers

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

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…
Shreyas
  • 209
  • 1
  • 7
  • 16
2
votes
1 answer

Blackberry - can we change theme using our application?

Is it possible to change theme programatically using JDE 4.5 ?
Jessu
  • 1,999
  • 1
  • 14
  • 19
2
votes
2 answers

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...?
Jessu
  • 1,999
  • 1
  • 14
  • 19
1
vote
1 answer

UDP connection test on BlackBerry Simulator

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…
iOSDev
  • 3,607
  • 10
  • 49
  • 90
1
vote
1 answer

Scrolling problem in Blackberry application

I am not able to scroll through the application screen using trackball. I am using Blackberry Pearl 8100 simulator. Please help. Thanks in advance.
iOSDev
  • 3,607
  • 10
  • 49
  • 90
1
vote
2 answers

BlackBerry Device Date/Time Update Listener?

Is there a listener in RIM API which can detect that the user has changed the Date/Time settings of his Blackberry device ? I need to catch this event how could i do this ?
Ashraf Bashir
  • 9,070
  • 12
  • 50
  • 79
1
vote
3 answers

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 ....
Ashraf Bashir
  • 9,070
  • 12
  • 50
  • 79
1
vote
3 answers

Blackberry - how to define screen title height?

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
Lyubomyr Dutko
  • 4,186
  • 7
  • 29
  • 39
1
vote
1 answer

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,…
Shreyas
  • 209
  • 1
  • 7
  • 16
1
2