07-29-2008 02:36 PM
I am trying to build a blackberry application which uses web services. I am using my own web service client implementation since most of the mobiles does not support RPC or JSR 172. So I am not using net_rim_jaxrpc module of blackberry. I tried to deploy the application in Pearl 8130(Verizon) and Curve 8320(T Mobile). It works fine in Pearl but it throws "Module net_rim_jaxrpc not found" error in curve 8320. I looked for the software versions of both the phones. Pearl has a 4.3 version and Curve has a 4.2 version. i know that 4.2 version does not have a net_rim_jaxrpc module, so it throws the error message. I looked into the JAD file and it has an entry for net_rim_jaxrpc in 'RIM-COD-Module-Dependencies'. My question is, since I am not using net_rim_jaxrpc API why is it putting this entry in the JAD. I even tried removing this entry in the JAD but curve 8320 still throws the error message. So its configuring 'RIM-COD-Module-Dependencies' in some other place inside the COD file. If its doing so, why is it doing so even when I am not using the API. And how to remove this entry for dependency. I am using eclipse 3.2 for development.
Anyone please help me on this.
Solved! Go to Solution.
07-30-2008 09:25 AM
This type of error is generally caused by building with an unsupported version of the BlackBerry JDE or BlackBerry JDE Component Pack. Please see the following link for more information.
What Is - Appropriate version of the BlackBerry JDE
Article Number: DB-00537
This is configured in the BlackBerry JDE Plug-in for Eclipse by going to the Window menu, Preferences, expanding BlackBerry JDE and clicking on Installed Components.
07-30-2008 09:42 AM
Thanks for your reply. I am using JDE 4.3 for development. The software version on my handheld is 4.2. I will try to build the application using JDE 4.2. Hope that should work fine.
07-30-2008 11:49 AM
07-31-2008 01:46 PM
The issue is resolved. Problem is not with development version. Problem is with import statement. There was a import statement for 'javax.xml.rpc.Stub' and i didnt notice it. But when i changed the development JDE to 4.2, it started to show a error message for unknown variable in the IDE. I changed the import to my own Stub class and everything seems working fine.
Thanks to all you guys!!!!!!
I have another question. I have a custom button and on clicking, it opens the BB browser. On focus i need the button to look like a hyperlink with the hyperlink symbol(a hand symbol). Can anyone suggest me something on this? Do I need to do something in the drawFocus or onFocus of the Custom button?
07-31-2008 02:16 PM
You could create the images for your buttons and make use of a BitmapField. The following link shows how to switch between images during a focus change.
How To - Show focus changes using BitmapField
Article Number: DB-00427