×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    May 2008
    Posts
    2

    Problems signing jar

    Hello everyone:

    I have some questions regarding certificates/signing jar files:

    - I have created this j2me application that access some local data and everytime I try to access the data, I get a warning message, asking me to confirm. So I'm trying to bypass this by signing the application, I'm using netbeans, and when I try the test certificate and run it on the emulator, the warning is still there, any ideas on how to disable this warning on the emulator?

    - As for the phone, when I install the jar on the phone with the test certificate, I get an error saying invalid certificate. Where can I buy a certificate that is guarantee to work?

    - Also, whenever I try to access the Documents folder on the phone, I get an access denied exception, is there any way to access this folder?

    Thanks.

  2. #2
    Regular Contributor
    Join Date
    Feb 2008
    Posts
    72

    Re: Problems signing jar

    Quote Originally Posted by goncode View Post
    Hello everyone:

    I have some questions regarding certificates/signing jar files:

    - I have created this j2me application that access some local data and everytime I try to access the data, I get a warning message, asking me to confirm. So I'm trying to bypass this by signing the application, I'm using netbeans, and when I try the test certificate and run it on the emulator, the warning is still there, any ideas on how to disable this warning on the emulator?

    - As for the phone, when I install the jar on the phone with the test certificate, I get an error saying invalid certificate. Where can I buy a certificate that is guarantee to work?

    - Also, whenever I try to access the Documents folder on the phone, I get an access denied exception, is there any way to access this folder?

    Thanks.

    hi

    As far as i know any application which has to be installed on the phone which access any kind of phone data needs to have a certificate which is recognized by the phone.... which you can know from the Certificate manager in your phone... if you are using nokia phone or sony erric or any other except motorola Certificates from Thawte, verisign will do.... hope this solves your problem

  3. #3
    Registered User
    Join Date
    Dec 2004
    Posts
    369

    Re: Problems signing jar

    hi,
    for emulator purpose and for removing the "warning" screen go to start->programs->wtk->preferences->security-> set your domain to manufacture or maximum.

    now for the phone the certificate you signed with netbeans is a test certificate it isnt recognized or valid for use on phones (unless you install it as a user certificate) but the best thing to do is get a verisign certificate and use that.

    BR

  4. #4
    Registered User
    Join Date
    May 2008
    Posts
    2

    Re: Problems signing jar

    I got the verisign certificate and I was able to sign my application fine, however when installing the app on the phone, i still get the warning message whenever I try to read data from the phone. The only way I can turn it off if i manually go on the application settings and manually change it.

    Is there any way to avoid this? that is, just sign the application and have not have any warning alerts when reading data.

    Thanks.

  5. #5
    Registered User
    Join Date
    Dec 2004
    Posts
    369

    Re: Problems signing jar

    no, the setting of this option must be manualy.
    signing the midlet just gives the user to choose this option otherwise it wouldnt be available.

Similar Threads

  1. Problems running obfuscated jar
    By creepymo in forum Mobile Java Tools & SDKs
    Replies: 4
    Last Post: 2007-04-27, 07:16
  2. SOS: I continue having problems whith signing MIDlets in NOKIA 9500!
    By Summerman in forum Mobile Java Networking & Messaging & Security
    Replies: 6
    Last Post: 2006-05-24, 20:48
  3. Several problems with NMIT 4.1 MMS
    By jtalviva in forum General Messaging
    Replies: 0
    Last Post: 2006-03-10, 11:03
  4. The correct meaning of MAX JAR size
    By bigrio in forum Mobile Java General
    Replies: 1
    Last Post: 2004-11-16, 10:30
  5. The correct meaning of MAX JAR size
    By bigrio in forum Mobile Java General
    Replies: 0
    Last Post: 2004-11-13, 11:03

Posting Permissions

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