Anybody knows the procedures for signing MIDlet?I've already tried as the following steps.Please check for me whether I was right or wrong.But I can't run my application after downloading and installation into my phone.
I already add all of the Midlet permissions and set trusted domain in my application and create package.
A) Create keystore
keytool -genkey -alias [SignedMidlet] -keyalg RSA -keystore midlet.sks
Here we have to add info about us: Name, Company, etc
[midlet.sks was created]
B) Create certificate req:
keytool -certreq -alias [SignedMidlet] -keystore midlet.sks -file request.csr
we have sent that request.csr file to CA(VeriSign) and CA replied the file to us.So I name that one CERT_FILE.cer
C) Certificate returned from CA was imported:
keytool -import -file CERT_FILE.cer -alias [SignedMidlet] -keystore midlet.sks
Now with SUN Wireless toolkit we import the key pair:
Run Utilities from start menu -> Sign Midlet -> Import Key Pair -> Select 'midlet.sks'
Finally we can do:
Run Utilities from start menu -> Sign Midlet -> Sign MIDlet Suite -> Select out JAD
F)I send both JAD and JAR file to apachewebserver.
G)I download and install the application into my phone via http://myserver/myfolder/myapplication.jad
H)I can install the application but the application can not run
I) My application invoke GPRS.