×

Discussion Board

Results 1 to 8 of 8
  1. #1
    Regular Contributor
    Join Date
    Aug 2005
    Posts
    78

    Installation of "MyApp.jad" not supported error displayed

    Hi,

    I have created an application and am placingg all the static strings used in the application, in the JAD file.
    Because of which the size of the JAD file has increased to some 12-14 Kb.

    When I install the jar in to my Nokia 3250 and Nokia 6681, they display "Installation of 'MyApp.jad' not supported.

    and installation stops.

    Any clues on this??
    Does it has anything to do with the size of the jad file.
    When the size of my jad file is 8514 bytes, it works fine, but as soon as I add a new string in the JAD, and package it, it displays the error.

    Regards,
    Ashish

  2. #2
    Super Contributor
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,191

    Re: Installation of "MyApp.jad" not supported error displayed

    I checked this, and the size of jad file should be limited only by the available memory. It might be the length of an attribute or the number of attributes you have in the JAD file as well.

    Why are you not using a text file inside the JAR itself for this?

    Hartti

  3. #3
    Regular Contributor
    Join Date
    Aug 2005
    Posts
    78

    Re: Installation of "MyApp.jad" not supported error displayed

    Hi Hartti,

    What type of available memory are you talking about??
    Because there is a lot of memory available in the phones I am using.

    Why are you not using a text file inside the JAR itself for this?
    The reason is because my application is supposed to be supporting Multiple languages like French, Bahasa and this list might exceed.

    Neither do I want to keep one text file corresponding to each language (Hence a total of 3 text files), nor I want to keep multiple jars, one for each language (a problem that I will face when I go for signing)
    Hence the best way to acheive this is to keep all the strings in the JAD.

    What do you think?

    Regards,
    Ashish

  4. #4
    Super Contributor
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,191

    Re: Installation of "MyApp.jad" not supported error displayed

    My understanding is that the memory limitation pointed to the available phone memory (not MMC card).

    I would keep the localization files in the JAR file for a couple of reasons.
    1) there might be issues with the JAD file size and the number of JAD attributes (also the MSA spec states that to be 10 kB JAD files must be supported, but if your JAD file grows larger it might fail on devices even in the future, there are similar requirements for MSA compliancy for number of JAD attributes, and attribute value length)
    2) putting the texts inside JAR file would make the total size of your application smaller as the JAR is a compressed file

    You can still have only one jar for all of the languages (you just have all the language files on the device - this way you can also change the application language on the fly by checking the phone locale)

    Hartti

  5. #5
    Regular Contributor
    Join Date
    Aug 2005
    Posts
    78

    Re: Installation of "MyApp.jad" not supported error displayed

    Hi Hartti,

    What do you mean by:-
    You can still have only one jar for all of the languages (you just have all the language files on the device - this way you can also change the application language on the fly by checking the phone locale)
    Do you mean that I must keep the strings file in the phone or memory card, and access it through FileConnection API.


    Regards,
    Ashish

  6. #6
    Regular Contributor
    Join Date
    Aug 2005
    Posts
    78

    Re: Installation of "MyApp.jad" not supported error displayed

    I have one more question.

    When I entered in JAD Attribute MIDlet-Version: 1.1.0.0

    It displayed "Compulsory attributes missing" error when I tried to install the application in the device.

    Regards,
    Ashish

  7. #7
    Super Contributor
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,191

    Re: Installation of "MyApp.jad" not supported error displayed

    From MIDP specification

    "Version numbers have the format Major.Minor[.Micro] (X.X[.X]), where the .Micro portion MAY be omitted.
    (If the .Micro portion is not omitted, then it defaults to zero). In addition, each portion of the version number is
    allowed a maximum of two decimal digits (i.e., 0-99). Version numbers are described in the the Java(TM)
    Product Versioning Specification
    http://java.sun.com/products/jdk/1.2...ification.html.
    For example, 1.0.0 can be used to specify the first version of a MIDlet suite. For each portion of the version
    number, leading zeros are not significant. For example, 08 is equivalent to 8."

    Hartti

  8. #8
    Super Contributor
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,191

    Re: Installation of "MyApp.jad" not supported error displayed

    "Do you mean that I must keep the strings file in the phone or memory card, and access it through FileConnection API."

    No, What I meant was that you package the necessary text files INSIDE you JAR file. Then you can access those files even without FileConnection access. You do not have to store anything separately in the phones file system

    Hartti

Similar Threads

  1. Replies: 11
    Last Post: 2006-08-24, 17:21
  2. Installation of '...' not supported !
    By fedator in forum General Development Questions
    Replies: 2
    Last Post: 2006-05-15, 18:00
  3. Installation Problem on the Nokia 6600
    By ManishPatil in forum Symbian
    Replies: 1
    Last Post: 2005-02-02, 09:51
  4. NDS 2.0 Installation Problem
    By morozov in forum Mobile Java Tools & SDKs
    Replies: 2
    Last Post: 2003-11-12, 22:51
  5. nokia 7210 modem via IR doesn't work !
    By oussamaaiadi in forum PC Suite API and PC Connectivity SDK
    Replies: 1
    Last Post: 2003-03-06, 10:46

Posting Permissions

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