blackberry

Set text highlight colour of Blackberry RichTextField

Does anyone know how to set the background colour of just a section of text within a RichTextField on the Blackberry? I already use the offsets, attributes and fonts arrays to make changes to the appearance of certain sections of the text, but I would like to add a highlight colour to the background of one section too. I know there is ...

Blackberry setting the position of a RichtextField in FullScreen

I am writing an application in BlackBerry, where I want to do some custom painting at the top portion of the screen in the paint method of FullScreen and at the same time, I want a RichtextField positioned at the lower portion of the screen. I tried using setPosition methods in the Field class, but to no avail. So how do I set the positi...

Creating BlackBerry method stubs using wscompile on WSDL from ColdFusion

I have been working on a BlackBerry application that consumes web services from ColdFusion 7. The Java ME SDK and the Java Wireless Toolkit both require that the generated WSDL be of the document/literal type. Fortunately, I have input on the web service development so I tried setting 'style="document"' in the cfcomponent tag. This gene...

How to solve this JVM error in Blackberry simulator?

Dear friends,I am getting error ("JVM Error 545 incompatible or corrupt file system") while building the application in blackberry simulator and I am using the blackberry jde 4.6. I could not even see the first screen of the simulator. Can any one tell me what is the reason for this error and how to solve this error. regards, s.kumara...

Issue using SocketConnection with a Blackberry using MDS

I am currently writing an app on the Blackberry to do a simple send and receive of some raw data to another TCP based device on my network. I am having the same problem in the Blackberry simulator w/ an MDS simulator running and using a physical phone talking to my company's MDS server. Note this problem does not happen when using wifi d...

Blackberry debugging with Intellij IDEA 8.0?

I have building a Blackberry project using bb-ant-tools working just fine. However, I cannot attach to the simulator. It says it is connected, but the simulator keeps saying "Debugger Attaching" and never finishes. Has anyone gotten this to work? ...

Mobile Devices get HTTP 504 Error

I am trying to debug why a mobile device trying to connect to my embedded web server is getting a "HTTP 504 Error: Gateway timeout". A PC can connect just fine, it's just the Blackberries and mobile phones that get this error. What does a 504 error mean? What can I do about it? ...

Is there a way to programmatically override "Incoming Call" screen on Blackberry for incoming calls?

Is there a way to programmatically override "Incoming Call" screen on Blackberry for incoming calls? Basically, pop up a different screen that would show call information in better layout and allow to answer or hang-up call. ...

Proper app architecture for integrating with built-in apps.

I would like to receive mail message data via a menu item from the messenger application. I understand how this works with the RIM API. After registering a menu item with the RIM app, when a user clicks on the menu item, a new process of MyApp gets started and passed the appropriate object. I'd like to know the best way to pass the in...

JDE Eclipse plugin or Blackberry JDE?

Just getting started with Blackberry development... I have used eclipse before and like it. What do you all recommend and why? Thanks! ...

How to set the Componenets in Horizontal Manager in Blackberry?

Hi friends, Can any one tell me how to set a componenets in a particular position in horizontal layout manager in blackberry.If u can provide me some code snippet. regards, s.kumaran. ...

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

Blackberry - animation in a same BitmapField during some process

Actually i want to show an animated picture motion in PopupScreen when some process is going on in the background like password checking or nwtwork connection. I dont know where to call the repaint or invalidate method and how to implement thread . Please write a simple program with required code. ...

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

How can I add a contact to Blackberry web application using JavaScript (if possible)?

I need to develop an application, which adds telephone numbers to existing or new contacts in Blackberry. The application is preferrably a web application. Is it possible to add and read contact information on Blacberry devices using JavaScript? If yes, a code sample would be appreciated. ...

Blackberry setting a clipping region/area

In J2ME we have the clipRect() and setClip() to clip a region in the Graphics area. What is the equivalent apis available in BlackBerry and how do we use it? ...

How to get a focus on editfield in blackberry?

Dear Friends,Can any one help me how to get a focus on editfield in blackberry which is placed in a horizontalfield manager.Actually i am having two customeditfield and one button all these are placed in one horizontal field manger and button is in the last position while running the program.focus only goes to button and no edit field is...

How to fast-forward and rewind audio in j2me / blackberry (midp) application ?

Hi, I want to fast-forward and rewind recorded audio in a j2me and Blackberry application. Is there any sample code available? How do I do it? Please help. Thanks in advance. ...

problem in accessing Inner class while crating BitmapField & adding it in HorizontalFieldManager

Hi all, I m creating a inner class in a method. After that I am accessing some statements like, public class Test extends MainScreen { HorizontalFieldManager hfm; Bitmap bitmap[] = new Bitmap[100]; BitmapField[] bitmapField = new BitmapField[100]; int countBitmap = 0; Test() { VerticalFieldManager vfm_Main = new Ver...

Unable to debug application VS2008 blackberry Plug-in

I am using blackberry plug in for Visual Studio 2008. I have created a "Hello World" application but I am not able to debug at any point. I have set the breakpoints every where right from function main{} inside Program.mds. When I hit f5 i.e. run a program, an instance of Black Berry 8310(4.5) simulator opens and when I tries to perform ...