×

Discussion Board

Page 1 of 2 12 LastLast
Results 1 to 15 of 16
  1. #1
    Regular Contributor
    Join Date
    Feb 2005
    Location
    Kista, Sweden
    Posts
    267

    "Invalid application. Delete?" on S40 devices

    The following error message is displayed: "Invalid application. Delete?" when my Java apps are installed on S40 devices. It works on all the other devices, like S60 and Symbian 3. I sell the apps on OVI and this error didn't happen before. I have searched for the reason, but can find the cause for the problem. Maybe it is because I use CLDC-1.1? I can't change to CLDC 1.0, as I describe in this thread:
    http://discussion.forum.nokia.com/fo...740#post777740

    Or maybe it is because it is signed with a Verisign cert? Here is the JAD file, I replaced the cert info with "xxx".

    MIDlet-1: Astral 3D Worlds,/res/icon.png,AstralEffects
    MIDlet-Certificate-1-1:xxx
    MIDlet-Certificate-1-2: xxx
    MIDlet-Certificate-1-3: xxx
    MIDlet-Jar-RSA-SHA1: xxx
    MIDlet-Jar-Size: 751803
    MIDlet-Jar-URL: Astral3DWorldsTrial_EN_v1_2.jar
    MIDlet-Name: Astral 3D Worlds
    MIDlet-Vendor: Mobile Visuals
    MIDlet-Version: 1.2
    MicroEdition-Configuration: CLDC-1.1
    MicroEdition-Profile: MIDP-2.0

  2. #2
    Registered User
    Join Date
    Sep 2007
    Location
    Bangalore
    Posts
    868

    Re: "Invalid application. Delete?" on S40 devices

    Hi MobileVisuals,

    Try this guide to installation problems.
    http://wiki.forum.nokia.com/index.ph..._MIDlet_Run%3F

  3. #3
    Regular Contributor
    Join Date
    Feb 2005
    Location
    Kista, Sweden
    Posts
    267

    Re: "Invalid application. Delete?" on S40 devices

    I read the guide and checked everything under "Invalid JAR File", but I can not find the cause of the problem. Could it be because I use CLDC-1.1? It is only on the S40 that the problem occurs. This is my manifest file:

    Manifest-Version: 1.0
    Ant-Version: Apache Ant 1.8.1
    Created-By: 1.6.0_21-b07 (Sun Microsystems Inc.)
    MIDlet-1: AstralEffects,/res/icon.png,AstralEffects
    MIDlet-Vendor: Mobile visuals
    MIDlet-Name: AstralEffectsUI
    MIDlet-Version: 2.2.2
    MicroEdition-Configuration: CLDC-1.1
    MicroEdition-Profile: MIDP-2.0

  4. #4
    Registered User
    Join Date
    Sep 2007
    Location
    Bangalore
    Posts
    868

    Re: "Invalid application. Delete?" on S40 devices

    Hi MobileVisuals ,

    In which phone you are installing your jar ? Check the device specification in https://www.forum.nokia.com/Devices/...s/?filter1=all by selecting the phone . whether it supports the which version of the cldc.

  5. #5
    Regular Contributor
    Join Date
    Feb 2005
    Location
    Kista, Sweden
    Posts
    267

    Re: "Invalid application. Delete?" on S40 devices

    Thanks, I checked the specification for 6300, which is one of the devices that didn't pass OVI's tests due to this issue. It has CLDC 1.1, so this shouldn't cause the problem. I also get the "Invalid application. Delete?" message when I run the app on the S40_6th_edition SDK. I can run it on other emulators without any problem. Do you know what the reason for this could be?

  6. #6
    Registered User
    Join Date
    Sep 2007
    Location
    Bangalore
    Posts
    868

    Re: "Invalid application. Delete?" on S40 devices

    Hi MobileVisuals ,

    Your jad file looks fine . You can try removing the certificates and try to install and see what happens . And check the jar file which is there in the jad and the actual one are same or not.

  7. #7
    Registered User
    Join Date
    Sep 2007
    Location
    Bangalore
    Posts
    868

    Re: "Invalid application. Delete?" on S40 devices

    Hi ,

    The manifest file and your jad files are not matching .
    Like midlet name in jad file is different from the manifest file.
    and Midlet-1: name as well.

    Check these things as well.

    One more use full link http://discussion.forum.nokia.com/fo...wn-j2me-midlet

  8. #8
    Regular Contributor
    Join Date
    Feb 2005
    Location
    Kista, Sweden
    Posts
    267

    Re: "Invalid application. Delete?" on S40 devices

    You were right about the cert! I removed it from the JAD. I could run the app on the emulator then, so this must have been caused by the cert. I will ask Verisign about this.

    Sorry, I posted the wrong JAD file. It should be this one instead and I think it matches the manifest.

    MIDlet-1: AstralEffects,/res/icon.png,AstralEffects
    MIDlet-Jar-Size: 209328
    MIDlet-Jar-URL: AstralEffects_Nokia_EN_v2_2.jar
    MIDlet-Name: AstralEffectsUI
    MIDlet-Vendor: Mobile visuals
    MIDlet-Version: 2.2.2
    MicroEdition-Configuration: CLDC-1.1
    MicroEdition-Profile: MIDP-2.0

  9. #9
    Registered User
    Join Date
    Sep 2007
    Location
    Bangalore
    Posts
    868

    Re: "Invalid application. Delete?" on S40 devices

    Hi MobileVisuals,

    Good to hear that . Ok how have you signed your application ? Which tool you have used . Search in forum nokia wiki section or in forum nokia for how to do the signing.

  10. #10
    Regular Contributor
    Join Date
    Feb 2005
    Location
    Kista, Sweden
    Posts
    267

    Re: "Invalid application. Delete?" on S40 devices

    I used Netbeans for the signing. I have contacted Verisign and they are investingating the issue now.

  11. #11
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395

    Re: "Invalid application. Delete?" on S40 devices

    You might want to re-post this as a "signing" question, then traud (local signing guru) might answer. There seem sometimes to be issues surrounding which MIDlet-Certificate-1-n items you have, and sometimes removing the "1-3" item fixes problems...?

  12. #12
    Nokia Developer Champion
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192

    Re: "Invalid application. Delete?" on S40 devices

    There is also this known issue, but I do not know if that's related...
    http://wiki.forum.nokia.com/index.ph...Pack_1_devices

    Hartti

  13. #13
    Regular Contributor
    Join Date
    Feb 2005
    Location
    Kista, Sweden
    Posts
    267

    Re: "Invalid application. Delete?" on S40 devices

    I don't think it caused by the issue in the link, because that is just for the S40 5th edition devices and my problem occur on all S40's. I have opened a new thread about this here:

    http://discussion.forum.nokia.com/fo...163#post820163

  14. #14
    Nokia Developer Champion
    Join Date
    Mar 2003
    Posts
    4,105

    Re: "Invalid application. Delete?" on S40 devices

    MobileVisuals, please, check this list. If you passed every step, the last item tells you how to cross-check with another MIDlet like Opera Mini or the one of Forum Nokia. On your Nokia 6300, change the date for the latter. For Opera Mini, make sure to use the VeriSign-only variant. If everything was checked and worked so far, the signed MIDlet works on other Java platforms, I would rather buy technical support from Nokia rather than opening a case at VeriSign – perhaps it is a bug.

    By the way, the certificates are no secret. x-1 contains the name of your company. Consequently, do not shorten them and post them in a code tag. Perhaps I see an issue. If you do not like to post them to the public, send me a private message or an email.

    By the way, if you want to pass the Ovi Store process, ask its team about a Java Verified certificate. You will get one for ‘free’. Well, it comes at the cost to pass the UTI criteria.

  15. #15
    Regular Contributor
    Join Date
    Feb 2005
    Location
    Kista, Sweden
    Posts
    267

    Re: "Invalid application. Delete?" on S40 devices

    Verisign's support found the reason for this problem. It was the MIDlet-Certificate-1-3 tag that caused the problem. It worked on the S40's when I removed that tag from the JAD.
    MIDlet-Certificate-1-3 contains the root cert, which probably caused some conflict on the S40's.

    Thanks for the advice, but I want to continue to use my Verisign cert. It saves me time, because I don't have to go to the OVI signing process and I can keep the same versions for all appstores.

Similar Threads

  1. Replies: 3
    Last Post: 2011-10-07, 06:39
  2. Invalid Application, "delete"
    By msandeep in forum Mobile Java General
    Replies: 6
    Last Post: 2011-09-30, 12:42
  3. Replies: 7
    Last Post: 2010-06-11, 08:20
  4. Eclipse + J2ME + Nokia 5200 => "Invalid application. Delete?"
    By flavio.renga in forum Mobile Java Tools & SDKs
    Replies: 10
    Last Post: 2009-09-10, 16:21
  5. "invalid file" error when running on nokia s40 6230 emulator
    By twinktwink in forum Mobile Java Tools & SDKs
    Replies: 2
    Last Post: 2008-04-06, 08:02

Posting Permissions

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