01-08-2012 05:15 AM
Developed an app in Java that works fine on a nokia trying to port it across toa blackberry and test on a curve.
I'm mainly using netbeans with the rim plugin dor writing it and jde5 to build the jar and jads. Here is a copy of the jad file..
RIM-COD-SHA1: 90 00 49 a8 e1 81 40 c1 ef 02 3e 36 f3 66 4d aa 4f ee bf 12
I get error messages on the device ( ok in emulator) saying invalid midlet version number or invalid midlet 1 . In the jde5 whuch is the best option to build as a blackberry application or a midlet. If I do the first one I get the errors above . If I do the 2nd one I get an error reference to a completely different midlet not in the jar or jad!. Any help would be grateful. thanks ad2apps
01-10-2012 11:28 AM
If your application extends Application or UiApplication, set your project as a BlackBerry Application. If it extends MIDlet, set the project type to MIDlet.
It sounds like you have a MIDlet application. What is the exact error you get when choosing MIDlet?
01-10-2012 04:32 PM
I think I've fixed it now the proprties file ..
Where it said name it had put a previous project name in that and when it built the project the jad referenced this other project! .. This was using the blackberry plugin for netbeans 7!