I'm working on a "dinky" little app for a robotics team that I'm mentoring - just a little Java ME app to better facilitate scouting the other teams. The problem is that while I can load it using just the JAR file onto my PDA, I'm getting a 906 when I'm trying to load it using the JAD... and that means I'm not able to snag it on my cellphone. Any thoughts?
Specifically, my PDA's telling me that it can't see the MIDlet-Name attribute. :roll: So at least that's a start, but it looks standard...
Theodore Jonathan Casser
SCJP/SCSNI/SCBCD/SCWCD/SCDJWS/SCMAD/SCEA/MCTS/MCPD... and so many more letters than you can shake a stick at!
Your jad file seems ok indeed. The only thing I can suspect is the difference between the Midlet-name and Midlet-1 values, which I think should both be ScoutMIDlet. Have you tried loading your application from an emulator using the jad and jar files?
No difference, unfortunately. :-\ I'm still getting missing MIDlet-Name attribute when I try to load it into J9 on the PDA, and a 906 on my phone. Just very strange, if you ask me.
I had tried trimming the value for MIDlet-Vendor and MIDlet-Description as well on concerns they were too long, but that doesn't seem to have done any good. [ March 07, 2006: Message edited by: Theodore Casser ]
Kind of like I was saying in your J9 Bluetooth thread. Devices don't implement the spec too well, and that can relate to JAD files. Some devices might need more in the JAD file, where some want less. They have differences with what is mandatory and what isn't.
This is where J2ME Polish comes in. It has an XML file with all that info, so that when you compile and make the jad and jars it does it right for your device.
Which is funny, since I'm planning on going the J2ME Polish route eventually, but just haven't had the time yet to deal with it. I've been more worried lately with just getting the app up and running before I worry about those kinds of things.
I have to admit, for as much as I like the idea of Java ME, I'm really beginning to notice that as I get into it, it's falling flat. It's very discouraging.