blackberry

BlackBerry 5.0 causing full menu to show on navigationClick

I have a BlackBerry app that is built for 4.5.x SDK. The first page of the app shows a list of fields and each field can be highlighted and clicked. The click action shows a new view with additional information about the field. This all works fine in 4.5, 4.6 and 4.7 and on the sim with 5.0. On a real 9000 running 5.0, when clicking th...

How to do Marquee Text in Blackberry Simulator?

Hi, I want to marquee a text in blackberry simulator. If it's possible, how can it be done? Regards Rajapandian ...

How do I add another row of bitmap image

class Scr extends MainScreen { public Scr() { TableLayoutManager outerTable = new TableLayoutManager(new int[] { TableLayoutManager.USE_PREFERRED_SIZE, TableLayoutManager.SPLIT_REMAINING_WIDTH ...

How to develop a multi screen Blackberry application?

I need to develop an application where I am able to change screens using menu items previous and next. Can u give me a rough idea about how to implement it? Thanks ...

How to use Custom Background image on screen or custom Background colors?

I want to change the background screens of one of my Blackberry app and put something like a company logo. Any idea how to change the background of the screens. And yes can we also change the color of the title label fields or the buttons? Can I also change the font color? ...

BlackBerry JAR file problem

I made a simple application for blackberry the jar file doesn't get created ? when the application is build following files get created in the main folder .cod, .cso, .debug, .jad, .jdp, .rapc except the .jar file. ...

BlackBerry - Is it possible to change the status of the BlackBerry messenger programatically?

Hi Is it possible to change the BB Messenger's status programatically? As of now I could just find how to get contacts from the BB Messenger instance. Thanks for any help ...

How to fire click event on new app. icon set using HomeScreen.updateIcon(bitmap) ?

Hi all, I m changing the app. icon using HomeScreen.updateIcon(bitmap) when app. is in background. Now how to fire click event when I click on this new app. icon like when I click on previous app. icon (which is set through Project Properties-> Resources) main() is invoked. I have set my main project as CLDC app & m using an alternati...

How to make an image as transparent in BlackBerry?

I am new to BlackBerry Java application development. My scenario is: In my application a gallery list of images will be displayed in a small icons. If I click on any image it will display in a large mode. Here I need to provide controls like front and back buttons. On clicking on those buttons the background image should change. In addit...

Blackberry - how to send email with attachment?

In my application, I allow the user to create an image. I then want to give the ability to email that image. The concept is simple, but the execution is a bit more complex. My first thought was to create my own email screen and send the email myself. I understand how to accomplish this, but I don't like re-inventing the wheel and wou...

Blackberry - error on open Google Maps in browser

The Google Map doesn't render in the BlackBerry Simulator. My application has a "View Map" button which on click calls a Google Map web URL. The error is "ThrownValue in ExecuteScript ReferenceError:GMap2 is not defined in BlackBerry" I did enable the JavaScript support in the Browser configuration Device Target:Up to Bold Blackberr...

Getting DNSException: Error trying to resolve?

I am trying to publish a post to my Twitter account...for this i am making a call to url: con=(HttpConnection)Connector.open("http://twitter.com/statuses/update.json"); I am able to publish to my Twitter account from the simulator but the problem occurs on device...I am getting Getting "DNSException: Error trying to resolve.."... I ...

How to check network connection type in Blackberry?

Hi All, In Blackberry application I want to check what type of network connection is being used on particular phone, whether it is BES/MDS,BIS-B or Direct Tcp. Is there any way to find out this? Many applications like Jive,Opera and many more are doing this kind of check. Please help. ...

Query related to Connection type BIS-B Socket in Blackberry application

Hi all, I am trying to establish BIS Socket connection. I am able to establish BIS Http connection from my service provider. I have downloaded one chat application that checks network types supported by my device/service plan which has following list: 1)BIS-Http : OK 2)BIS-SOCKET :OK 3)BES-HTTP : NA 4)BES-SOCKET : NA 5)TCP-HTTP : BAD D...

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...

How to give blackberry application all the available permission?

I'm developing using JDE 4.5 which doesn't contain the PERMISSION_RECORDING, and it's denied by default in 4.6 and higher devices. So I want my application to have this permission or all the possible permissions that it can get. Thanks in advance. ...

Publishing on Facebook user's wall

Hi all... i am developing an appon blackberry platform in which i hve to publish a message on users wall...i am able to get session id...but dont know how to proceed further... i am doing something like this... enter code here URLEncodedPostData post = new URLEncodedPostData(URLEncodedPostData.DEFAULT_CHARSET, false); post.append("m...

BlackBerry - ButtonField with centered Bitmap

Hi, I have a class that extends from ButtonField : class BitmapButtonField extends ButtonField { private Bitmap _bitmap; private int _buttonWidth; private int _buttonHeight; BitmapButtonField(Bitmap bitmap, int buttonWidth, int buttonHeight, long style) { super(style); _buttonWidth = buttonWidth...

JSR 177 Support on Blackberry

I have been trying to interact with SIM application through APDU exchanges. For exchanging APDUs, I had to create an APDUConnection through Connector.open() API, but this particular API throws up an IO exception stating "JSR 177 is not supported on this platform", I dont know whether this happens because I test this on simulator or wheth...

Can a native Blackberry application (not MIDlet) use MIDP Push Registry?

If I am writing a MIDlet, and if the device supports SMS push registration (i.e. supports WMA 1.1 spec), I will be able to send push messages to the application that is installed on the phone and is listening to SMS messages at the assigned port. However, if I am writing a Blackberry application, can I still go ahead and use the proced...