×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Oct 2007
    Posts
    1

    Signed Midlet for J2ME application

    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.

    Steps:
    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

    D)
    Now with SUN Wireless toolkit we import the key pair:
    Run Utilities from start menu -> Sign Midlet -> Import Key Pair -> Select 'midlet.sks'

    E)
    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.

    Thanks

  2. #2
    Regular Contributor
    Join Date
    Dec 2004
    Posts
    231

    Re: Signed Midlet for J2ME application

    It depends upon the root cert you have on your phone.
    Which is your model?
    You should find a list in the security settings of your phone.
    If the cert your CA returned to you is based upon one of them , it is ok. Otherwise it's not ok for your phone.


    Best Regards

Similar Threads

  1. To Nokia Experts (A problem in signed midlet)
    By Amr_Monsef in forum Mobile Java General
    Replies: 5
    Last Post: 2008-06-24, 21:44
  2. question on wma jsr 120 again
    By egc_33 in forum Mobile Java General
    Replies: 2
    Last Post: 2006-09-19, 00:27
  3. Signed midlet can't access IMEI number?
    By break10ose in forum Mobile Java Networking & Messaging & Security
    Replies: 8
    Last Post: 2006-06-23, 03:59
  4. Copying a signed MIDlet suite from one phone to another
    By maffeis in forum Mobile Java Networking & Messaging & Security
    Replies: 4
    Last Post: 2006-03-04, 17:19

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×