Step8: MIDlet signing
Hope you still have carbide.j tool window open from step5.
1. Go to “Sign MIDlet package” view and click “Import Certifiacte”
2. On prompt pick the P7b file created in step7.
3. On success it won’t say anything, but you’ll see the information getting added.
4. Finally – the big click – Click “Sign”
5. It will prompt for the .jad file – pick the jad file you created on step2 (MyMIDlet.jar, jad)
6. Click OK and it should say successfully signed.
If you are gotten this far, you’re 99% done !!
Step9: Verify your jad file
Step8 must have modified your jad file by adding the certificate information into it.
Now you should see lines like these in your jad file
MIDlet-Certificate-1-1: MIID8DCC….
MIDlet-Certificate-1-2: MIIGdzC…..
MIDlet-Jar-RSA-SHA1: SFvS0W…
Also make sure MIDlet-Jar-Size: field value matches with the actual size of your jar file.
Well, you have a signed MIDlet ready to install !!
Step10: Install the MIDlet on your handset
This is what you were waiting for. Cross your fingers
I did this – again – with the help of my little website. I tried Nokia’s PC suite, but it did not work. I wish I knew an easier way to do this. This is what you should do if you follow what I did.
Created a simple html file like this
HTML Code:
[head]
[title]MySignedMIDlet[/title]
[/head]
[body]
[a href=http://mywebsite/my_midlet_folder/mymidlet.jad] mymidlet.jad [/a]
[/body]
Note: apparently, replace all square brackets with angle brackets
* Save this HTML to -say- "mymidlet_installer.html" and mait it available to web.
* Copy the MyMIDLet.jar and MyMIDLet.jad files to a web folder as shown in the html script.
* Using your handset’s browser
* Browser will show the link and click on it.
* Handset should prompt whether you want to install the application.
* Click "yes" and - BOOM!! you installed your MIDlet.
Bookmarks