06-23-2009 04:11 PM
i am trying to build blackberry application on NetBeans. Successfully done.
Now i want to build it with signature tools. Can someone please specify how do i go about it.
I have the signature tools registered. It works fine with ANT, but now i want to move to Netbeans.
Solved! Go to Solution.
06-25-2009 12:06 PM
I use Netbeans too, but I do not sign from Netbeans. I find the cod file created after a deployment build. Double clicking on that file brings up the Java Signature tool. Now click the request button and provide your password to sign that cod file.
06-25-2009 01:47 PM
This helps. Right now i am stuck very badly with invoking the blackberry simulator from Netbeans. I need to do this for debugging my blackberry application.
I followed the steps at http://www.netbeans.org/kb/55/blackberry.html#addr
Though its for Netbeans 5.5 while i am using Netbeans 6.5, but overall procedure can be understood.
After doing everything, i end up with this error,
Error preverifying class javax.microedition.midlet.MIDletMain
Please, help with any information you/anyone have in this regard.
06-25-2009 01:53 PM
In RIM API there is no such class exists javax.microedition.midlet.MIDletMain
It is the cause of the preverification problem.
Preverification checks your code that all classes/fields/methods have correct references in net_rim_api.jar (RIM API).
In RIM API there is no such class and because of that you get this error.
06-25-2009 02:17 PM
I'm on Netbeans 6.7M2 which was a beta version a while back. The simulator ran without any extra effort on my part.
These are the steps I took.
1) Installed Netbeans
2) Installed BB JDE 4.7
3) Installed plugin which adds BB support to Netbeans ( 1216539078247_org-netbeans-modules-mobility-plug
Just make sure your project properties has BlackBerry JDE selected under platform.
Note: I only program for the BB Storm, so I do not know if there would be issues with any other simulator.
06-25-2009 02:40 PM
Thanks Tbilisoft & Carm.
There are 3 plugins (with different numbers)available for netbeans module mobility for blackberry.
Is 1216539078247 specific for something?
06-25-2009 02:48 PM
That much I do not know. I think different people can submit similar plugins so you end up with more than one. Once again I am not really sure on that. All I can say, it's the one I installed and all is working well for me.
06-25-2009 05:26 PM
I tried working with JDE4.7 & IDE 6.7M2. No luck.
Did u use 'Add Platform' to create Blackberry JDE as a platform? Also, did u modify build.xml to invoke the simulator?
For creating project, Did u use JavaME category & Mobile application as project?