blackberry

"Tunnel Failure"

How do I fix the "tunnel failure" on my Blackberry Curve? ...

how to get a browser content as a string in blackberry???

I want to display the content of any given URL as a string..... Can any one give some sample code here? ...

add a music file in blackberry simulator

i am make a application that start and stop the music. how we add a file in music through simulator view. ...

BlackBerry AutoComplete field with white background?

I have a problem with changing the background of AutoCompleteField. No matter what I try, the background is gray all the time (isn't it strange it is gray by default in the first place...). Anyone knows how to make the background white (like it is for instance in BlackBerry email client)? Thanks in advance! ...

How to extract the song name from a live audio stream on the Blackberry Storm ?

HI I am new to Blackberry. I am developing an application to get the song name from the live audio stream. I am able to get the mp3 stream bytes from the particular radioserver.To get the song name I add the flag "Icy-metadata:1".So I am getting the header from the stream.To get the mp3 block size I use "Icy-metaInt".How to recognize th...

Mobile UI that works well for both iPhone and Blackberry Web Applications

Can someone recommend a good Mobile UI Javascript/jQuery framework that works well with both the iPhone and Blackberry? I'm developing the core app from ASP.NET. Thank you in advance. ...

HTTPS connection

Hello Every one i am using the following code for establishing Https connection HttpsConnection httpConnector = null; InputStream in = null; Document doc ; String content = ""; try { httpConnector = (HttpsConnection)Connector.open(url,Connector.READ_WRITE); ...

changing background color of browser field

Hi, I am passing some html content to a browser field. The content is getting displayed with white background and black text. But I want to set the background color to black and the text color to white. Can anyone guide me how to achieve it? Edit: I am getting the html data from rss feed. So, i cant really apply the css or anything......

[Blackberry/J2ME] How to draw a route between two locations on CloudMade

Hi, I'm trying to use CloudMade's route service. I want to display a Route between two locations in my standalone application, but there isn't any tutorial in CloudMade's website that handle this. How can I display the Route? Appreciate any help. ...

Problem with .cod deployment to simulator

Hi Everyone: This is a re-post of a topic on the Blackberry Development Forums, but I wasn't getting any answers there, so I thought I would try SO. I have an in-house library that I developed called Ichabod that is required by one of our applications, Spyder, which runs on the Blackberry 4.5.0 operating system (our original target was...

Can't align fields horizontally on custom pop up screen in Blackberry

What I want to achieve is to have a custom popup screen with specified width and height. On that screen I add two buttons which stay in one row and align center horizontally. public class CustomPopupScreen extends PopupScreen { ButtonField minimizeBf; ButtonField cancelBf; HorizontalFieldManager hfm; public CustomPopupScreen() { s...

Autofocus when scanning QR code

I'm working on a BlackBerry app, and one of the feature is QR code scanning (will be used in cafes/restaurants). Is there any way to make the camera autofocus the QR code? I did some Googling, and found this: FocusControl That looks like the one I'm looking for. Unfortunately, it's only available since OS 5.0. I wonder how to achieve...

who we use tha pause function

i am working on media player. we require the pause functionality in my code. who we create it. ...

Capture Signature on the BlackBerry Storm problem.

Details: I'm working on a BlackBerry app, and one of the feature is signature capture for that i am using the sample code giving here. i am facing one small problem. my application's screen consits header, 2 labels and SignatureField in vertical manager. message.getMovePoints(1, xPoints, yPoints, null); is giving absolute points...

pause the player

i want to pause the player. but over code only perform start and stop. how we pause the player. ...

Blackberry extrenal library problem (module not found)

I am using eclipse. When I add an external jar (import it.sauronsoftware.ftp4j.*;) it seems to be ok, I reference the external jar by right clicking project and the properties. When I instantiate an FTPclient opbject and run in the simulator I get "module not found". Somebody on a different forum suggested creating a new library and add...

Selecting Custom ObjectListField

Hello Every one I am using following code for generating custom objectlistfield its working fine, but the problem is , the screen where i am using this custom objectlistfield has 3 buttonfield, but when i click the buttonfield all the time the objectlist field is being selected, i dont no what is going wrong.. please help me out... it...

Blackberry Maps closing oddly. Not Google maps.

I'm having some trouble finding documentation on CLOSING a blackberry map. My map opens, albeit with some odd marker behavior, but when you close the map it displays a clear screen. The invoke code is quite simple, as the map request calls a new controller and within the constructor is this: String document = "<location-document>... et...

Minimum memory for RAR decompression

What's the minimum memory needed to run a RAR decompression algorithm? I want to port a RAR decompression algorithm to mobiles (iPhone, Android and BlackBerry) and want to know if there's a bare minimum of memory needed before starting. I've heard that RAR decompression requires much more memory than ZIP decompression. ...

Blackberry Maps does not set markers correctly.

I'm calling the BB Maps (not google maps) and trying to set multiple markers, but somehow the marker in position 1 always fails to label correctly. When I hover over the first item in the xml, it highlights the second element and draws the quote box for that item. Yet, the marker for item in position 1 is correct. The code below draws th...