×

Discussion Board

Results 1 to 12 of 12
  1. #1
    Registered User
    Join Date
    Feb 2013
    Posts
    31

    Aplication invalid! Delete?

    I'm trying to upload a self-signed aplication on my Nokia Asha 302 phone and I keep getting the invalid aplication error and I can't figure it out, I checked hundreds of times the jad and manifest and seem alright.

    jad file:
    Code:
    MIDlet-1: Notes++,/icon.png,NotesPlusPlus
    MIDlet-Jar-Size: 10239
    MIDlet-Jar-URL: NotesPlusPlus.jar
    MIDlet-Name: Notes++
    MIDlet-Vendor: Nokia
    MIDlet-Version: 1.0.0
    MicroEdition-Configuration: CLDC-1.0
    MicroEdition-Profile: MIDP-2.0
    MIDlet-Certificate-1-1: MIIDkTCCAnmgAwIBAgIEIb6VYzANBgkqhkiG9w0BAQsFADB5MQswCQYDV...
    MIDlet-Jar-RSA-SHA1: edXdzgxQypoJHmkMWnKobV9bE26sWu12RrsnSiF8OxicQ3rGou1OBGAQrA...
    manifest:
    Code:
    MIDlet-1: Notes++,/icon.png,NotesPlusPlus
    MIDlet-Name: Notes++
    MIDlet-Vendor: Nokia
    MIDlet-Version: 1.0.0
    MicroEdition-Configuration: CLDC-1.0
    MicroEdition-Profile: MIDP-2.0
    
    Name: NotesPlusPlus.class
    SHA-256-Digest: eTc67ShkmqEhDLZehLhcNLpuYRy5voSM2gS+kAtwWwo=
    
    Name: icon.png
    SHA-256-Digest: KjIkeMZ+DYRZL8p1OBNRagQJYCszUyn+jOPwuYCu3MM=

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

    Re: Aplication invalid! Delete?

    Can you install it without signing?

  3. #3
    Registered User
    Join Date
    Feb 2013
    Posts
    31

    Re: Aplication invalid! Delete?

    Yes
    I think it's because I don't have `MIDlet-Certificate-1-2` in the .jad but I don't know how to do this

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

    Re: Aplication invalid! Delete?

    From where did you get your certificate?

  5. #5
    Registered User
    Join Date
    Feb 2013
    Posts
    31

    Re: Aplication invalid! Delete?

    openssl .. I tried multiple tutorials and cmd commands, I tried using Internet Explorer to combine certificates into one p7b and still not working. I think I'm missing some steps .. It's been the third day consecutively that I'm trying to sign my application and I'm desperate to make it work!!!

  6. #6
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,692

    Re: Aplication invalid! Delete?

    Graham: the story starts in http://www.developer.nokia.com/Commu...al-application, I assume Revolter is trying to hack his phone as suggested by Traud.

  7. #7
    Registered User
    Join Date
    Feb 2013
    Posts
    31

    Re: Aplication invalid! Delete?

    it's not hacking, I mean, I don't want to get revenue by this app or something, I just want to make apps for my own personal use to make my life easier. And also I'm poor and can't afford to buy certificates each year :|

  8. #8
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,692

    Re: Aplication invalid! Delete?

    In fact 'hacking' and 'hacker' have multiple meanings, check the articles listed in http://en.wikipedia.org/wiki/Hacking and http://en.wikipedia.org/wiki/Hack if you want to see some shades.
    Here and now it is just a short explanation for the origin of a problematic certificate and the reason why you are experimenting with it, I have not intended to label you as a criminal or anything like that.

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

    Re: Aplication invalid! Delete?

    Well, I think as the experts have told you in your other thread, you must use a certificate recognized by your device, or the app will be rejected. Unless you are successful in bypassing your device's security mechanism.

    Also, it looks like you're using the Java SE signing process. Java ME signing process is different: see the wiki. In ME signing, the manifest is not modified.

  10. #10
    Registered User
    Join Date
    Feb 2013
    Posts
    31

    Re: Aplication invalid! Delete?

    Quote Originally Posted by wizard_hu_ View Post
    In fact 'hacking' and 'hacker' have multiple meanings, check the articles listed in http://en.wikipedia.org/wiki/Hacking and http://en.wikipedia.org/wiki/Hack if you want to see some shades.
    Here and now it is just a short explanation for the origin of a problematic certificate and the reason why you are experimenting with it, I have not intended to label you as a criminal or anything like that.
    Quote Originally Posted by grahamhughes View Post
    Well, I think as the experts have told you in your other thread, you must use a certificate recognized by your device, or the app will be rejected. Unless you are successful in bypassing your device's security mechanism.

    Also, it looks like you're using the Java SE signing process. Java ME signing process is different: see the wiki. In ME signing, the manifest is not modified.
    Ok, sorry for over-reacting I was so frustrated not able to do it. I finally succeded, also signing like grahamhughes told (ME) by mystake ) the manifest is the same. I also made a .bat file that lets me sign my project very easily :x Thanks for the help.
    Last edited by Revolter; 2014-03-06 at 00:47.

  11. #11
    Registered User
    Join Date
    Mar 2003
    Posts
    4,105

    Re: Aplication invalid! Delete?

    Revolter, what you are trying to do works only in emulator. There you are able to install additional certificates and enable code-signing capabilities for your new certificate authority. The trick I mentioned, installs such a certificate on your phone and then you are able to use a Windows tool to sign your MIDlet with that authority. You do not use OpenSSL with that solution at all.

  12. #12
    Registered User
    Join Date
    Feb 2013
    Posts
    31

    Re: Aplication invalid! Delete?

    Maybe ... I tried so many things that I don't remember exactly which cmd commands I used that worked, what matters is that I made it to work as I intended and I don't have to kill myself now )

Similar Threads

  1. Replies: 3
    Last Post: 2011-10-07, 06:39
  2. "Invalid application Delete?" all S60 devices.
    By JanKrohn in forum Mobile Java General
    Replies: 4
    Last Post: 2011-04-11, 19:33
  3. "Invalid application. Delete?" on S40 devices
    By MobileVisuals in forum Mobile Java General
    Replies: 15
    Last Post: 2011-02-22, 10:28
  4. Replies: 7
    Last Post: 2010-06-11, 08:20
  5. 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

Posting Permissions

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