Sunday, March 4, 2007

Signing Midlets

Our group got together yesterday to work on Tuesday's assignment, only to find that getting the certificate signing is a long and tedious process. We followed the instructions and altered the .jad for a HelloWorld program that already worked, but with both certificates, the phone rejected the application when we tried to upload it from midway (Failed. Invalid File.). Do you have any ideas about what could be going wrong?

Thanks,
Mark

2 comments:

Frank said...

Some common mistakes are having newline characters in the MIDlet-Certificate-1-1 or MIDlet-Jar-RSA-SHA1 lines of the JAD. If you're still having problems, email me the JAD and JAR and I'll take a look at it.

Also note that you don't have to sign the MIDlet for network access (although if you don't sign it, you'll get an annoying pop up when you open a socket).

If we can't figure it out over email, we can take a look at it in class on tuesday.

Frank said...

Please refer to the new keyfile that I sent out this morning. This should fix the problems that you were seeing.