×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Dec 2010
    Posts
    50

    Jar and Jad mismatch while installing the j2me application

    Hi All,
    I've developed a j2me application and i deployed it on one webpage.When user open the web page and clicking on download button the download is happening.But we are noticed a strange issue in installing the application in native browser and opera browser in the phone.
    When we are using native browser ,the installation is perfectly fine.But when we trying with opera i am getting the following error message "Jad&Jad attributes mismatch"
    Also please see the content of my jad & manifest file


    Manifest file contents

    Manifest-Version: 1.0
    MIDlet-Name: APPNAME
    MIDlet-Version: 1.3
    MIDlet-Vendor: companyname Technologies
    MIDlet-Description: It is a direct marketing through sending sms with
    earning money.
    MIDlet-Icon: /APPNAME.png
    MIDlet-1: APPNAME,/APPNAME.png,com.company.APPNAME.app.App
    MIDlet-Delete-Confirm: Do you want to remove APPNAME?
    MIDlet-Permissions: javax.wireless.messaging.sms.send,javax.microediti
    on.io.Connector.http,javax.microedition.location.Location,javax.micro
    edition.pim.ContactList.read
    MicroEdition-Configuration: CLDC-1.1
    MicroEdition-Profile: MIDP-2.0
    Navi-Key-Hidden: true
    Nokia-MIDlet-On-Screen-Keypad: no
    Polish-Version: 2.2.1 (2011-05-27)

    Jad Contents


    MIDlet-Name: APPNAME
    MIDlet-Version: 1.3
    MIDlet-Vendor: companyname Technologies
    MIDlet-Jar-URL: APPNAME.jar
    MIDlet-Jar-Size: 297938
    MIDlet-Description: It is a direct marketing through sending sms with earning money.
    MIDlet-Icon: /APPNAME.png
    MIDlet-1: APPNAME,/APPNAME.png,com.companyname.APPNAME.app.App
    MIDlet-Delete-Confirm: Do you want to remove APPNAME?
    MIDlet-Permissions: javax.wireless.messaging.sms.send,javax.microedition.io.Connector.http,javax.microedition.location.Location,javax.microedition.pim.ContactList.read
    MicroEdition-Configuration: CLDC-1.1
    MicroEdition-Profile: MIDP-2.0
    Navi-Key-Hidden: true
    Nokia-MIDlet-On-Screen-Keypad: no

    Thanks,
    Vsh

  2. #2
    Nokia Developer Expert
    Join Date
    Aug 2011
    Posts
    555

    Re: Jar and Jad mismatch while installing the j2me application

    Hi vsh.rules,
    A few things to consider regarding your problem:

    a) Have you configured your web server so that when the .jad file is requested by Opera, the server sends the following Http header: "Content-Type: text/vnd.sun.j2me.app-descriptor".
    More information regarding OTA provisioning here:
    http://library.developer.nokia.com/t...6a%61%72%22%20

    b) There is a known issue, regarding mismatching amount of white character space in the value of a JAD attribute, that affects some S60 3rd Edition FP2 software versions. If you are testing on a S60 3rd Edition FP2 device, you might want to check this link:
    http://www.developer.nokia.com/Commu...rusted_MIDlets

Similar Threads

  1. Installing J2ME application from memory
    By abhijithvr in forum Mobile Java General
    Replies: 1
    Last Post: 2009-12-08, 15:04
  2. Installing j2me application on to cell phone
    By smart@gayu in forum Mobile Java General
    Replies: 6
    Last Post: 2007-03-24, 05:04
  3. installing J2ME application
    By hrdonka in forum Mobile Java Networking & Messaging & Security
    Replies: 2
    Last Post: 2005-10-03, 14:28
  4. About installing j2me application to 7650.
    By rickylee in forum Mobile Java General
    Replies: 0
    Last Post: 2002-09-09, 06:00

Posting Permissions

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