This may be in the wrong forum but I don�t know really where to get the answer. I�ve installed games like Miki�s World and Racing Fever Deluxe on my N7650 just using the .jarfile. Now I�d like to install those games on my Motorola T720 and to get the phone to try to install the game I gotta to have to .jadfile. T720 also seems to need to know the main javaclass. It�s strange cause it seems that the 7650 was satisfied with the .jarfile.
Could you in some way find out which is the main javaclass and also how to crate a .jadfile?
Help with Javagames please
Usually the .jad comes in the same file.
Hmm, ok. But I can�t understand why it isn�t needed for the N7650. Anyone who�s got the .jad to Miki�s World or Racing Fever Deluxe? Or someone who knows how to figure out the main javaclass?
Under the J2ME spec you should really have a JAD file to make sure the jar will work with the device (i.e. certain devices can only run midlet's that are less than 32k) - Nokia's a bit naughty as they allow any jar file to have a go at running (that said, there isn't an upper size limit on what you can run).
You can quite easily write your own jad file - it's just a text file:
If you open the jar file with winzip or something similar you'll see a file called manifest.mf - this will have almost all the details you need in the jad
make yourself a new text file (using notepad) with the same name as the jar file but with a jad extension and copy the following stuff into it from the manifest.mf
MIDlet-Name: Show Properties MIDlet
MIDlet-Version: 1.0.1
MIDlet-Vendor: Core J2ME
MIDlet-Jar-URL: ShowProperties.jar
MIDlet-Jar-Size: 1190
MIDlet-Data-Size: 500
(note: example values put in here - yours will be different)
can't remember if the manifest.mf holds the sizes of the files - but you can find these using windows if you need to.
Not sure if I've got the above completely right - I'm at work at the moment - so if you have probs, tell us and I'll double check later
Thanks for the superb help. I�ll try this!