JAD / JAR attributes questions.

From what I can tell there are 18 attributes (16 MIDlet- and 2 MicroEdition-) that are mentioned in JSR 118. Excluding for now the Runtime-Execution-Environment.
The JAD has five mandatory attributes (Name, Version, Vendor, Jar-URL and Jar-Size). The JAR has five (MIDlet-Name, Version and Vendor and MicroEdition-Profile and Configuration). I know that Name, Version, Vendor must always match (signed or unsigned).
My questions are about the other optional attributes and how they should be validated and the rules around if an attribute(s) is included in the JAD does it need to be in the JAR as well and must it always be identical.
Example1 (assuming mandatory atts are present and valid)
Jad = MIDlet-Icon: icon.png
JAR = MIDlet-Icon is not present
App is signed. Should this cause an error or is it allowed? What if the app is unsigned?
Example2:
Jad = MIDlet-Icon: icon.png
JAR = MIDlet-Icon: stars.png
App is signed. I think this would result in a 905. What if unsigned?
I've seen some docs that refer to four attributes that the JAD should ignore: MIDlet-Jar-Size, MIDlet-Jar-URL, MIDlet-Install-Notify and MIDlet-Delete-Notify. Are there others?

Can you find the specifications for your device. Nokia, Motos, SEs all list the specs for their devices. Try visiting the web site for your device. There are also some sites that index the specs for phones

Similar Messages

  • .jad, .jar, .cod ..How to install ? Please help...

    Hi,
    I am able to install an application which I developed on my Pearl 8110 using BB desktop manager(.alx).
    Now What to do if I want to install it "online"(through GPRS)  through website .
    What I have to do ?
       Will I have to install an Installer in my mobile.
    Or In website on particular location What I need to put? .jad or .jar or .cod file or what else.
    Please any one tell me the procedure for this.
    Right now I put .jad, .jar, and .cod files. Three files are shown in same  folder on
    three seprates Link on website.
    After opening the particular site :
    If I click on .jad It shows "The returned page had no content type, and therefore cannot be processed".
    If I click on .jar file it processing the download part but in middle of it showing download
    fail "907 Invalid jar Descriptor missing required attribute: MIDlet-1".
    If I click on .cod it shows "the item you selected cannot displayed. nDo you wish to save the item".
    Please reply....
    Thanx
    Thakur

    Set the proper MIME types for JAD, JAR and COD files.
    JAD: text/vnd.sun.j2me.app-descriptor
    JAR: application/java-archive
    COD: application/vnd.rim.cod
    Check the documentation for your web-server for exact steps you have to do to set the MIME types for files.

  • [J2ME Polish] How to generate jad/jar for all devices?

    Hello,
    I've developed a J2ME Polish application using Netbeans 6.1 as IDE.
    Now I'd like to generate the corresponding jad/jar for all the existing devices. How can I do that?
    Furthermore, as soon as I'll have generated all these jar/jad, I'd like to put them all in a Web directory in order to make each device able to download the jad/jar corresponding to its configuration. How can I switch a given device towards the appropriate jad/jar in this Web directory?
    Help me please, I'm really confused!
    Thanks you in advance.
    /arkienou

    Even though JDK1.4 is not officially shipping the
    Java Plugin 1.4 documents on Security are fairly
    good. Check out :
    http://java.sun.com:80/j2se/1.4/docs/guide/plugin/developer_guide/contents.html
    http://java.sun.com:80/j2se/1.4/docs/guide/plugin/developer_guide/rsa_how.html
    regards,
    atsSun
    Sun Microsystems

  • Verification error when run the game after download the jad/jar by OTA on BB 8300

    On BB 8800, the jad/jar can be downloaded to the device, when run the game, there is a error msg "Error starting xxxx Module xxxx has verification error xxxx at offset xxxx", the version is OK on BB 8310, but failed on BB 8800 and 8300. I make the version by using proguard 3.8 and WTK22 preverify. I try RAPC preverify and failed again, use proguard 3.3.2 failed too.It seem that it is a compatible problem.
    I check the article "Support - MIDlet has verification error at offset", and have no harvest.
    BTW, the alx/jad/cod format works fine on BB 8800 and 8300.
    How to fix the bug?
    Thanks for your help.

    Hello,
    I gather for your lack of details that you are wanting to get an application that you have written working on the device?
    Otherwsie can you specify the name of the application and the details of the error. Someone may have expericne with it.
    Lacking this however, the software needs to be fixed.
    You'll have better luck looking on the Java forums, not here...
    Checked out my Blackberry FAQ's and Links to Needed Articles here
    http://darkeen.homelinux.com/index.php/Blackberryfaq

  • JAD/JAR download completion

    Hi there, Im facing a problem; I have provisioned a download of a JAD&JAR file from server to WAP using WML via URL. The problem being, I want to phone to know when the download has finished to be able to go to a different page, I dont have any control at this point as the phone takes control away from the server whent he request for the JAR completes??
    Any thoughts?
    Have laready thought about some sort of callback method??

    Arr, of course, we are already using this to confirm the download and is used as the billing point, but I guess we could simply add a forward mech in there!! D'oh, thanks for the sanity check!!

  • Multiple-jar applet question

    Here's a basic question that none of the examples seem to address. If my applet is comprised of multiple jars (some dynamically loaded based on system configuration), do they all have to be signed, or does just the jar file containing the applet entry point need to be signed?
    Conversely, could it be that only the jar files that contain code that wants to write files to the local file system need to be signed, or does everything need to be signed?

    Conversely, could it be that only the jar files that contain code that wants to write files to
    the local file system need to be signedThe Stack needs to be "trusted" code. If an unsigned applet "not trusted" calls a method
    of the signed applet it should not be allowed to do "trusted" things.
    One example is when you call a public method of the applet from javascript. There is a
    sollution other that signing all.
    http://forum.java.sun.com/thread.jsp?forum=63&thread=524815
    second post

  • XSL attribute question

    *<xsl:attribute name="xdofo:rowspancell-repeat-nextpage" xdofo:ctx="block">true</xsl:attribute>*
    Hello, can you provide me some example on how to use this code? i tried putting this code in a field in a table however it doesn't do any changes in my report, the header still don't repeat.
    i'm aware of the word functionality to repeat a header, but due to the structure of my table, that method will changes the output of my report. the reason is i have a looping condition in that header, so if i tried to repeat it, the looping also repeats.
    to summarize my table outline:
    <HEADER1>---repeating already
    <HEADER2 with looping condition>---> the one that i want to repeat
    both headers belongs to a one table
    i tried separating the header 2 to another table but it destroys my report output
    thanks in advance! :)

    Hi
    You may get help if you post your question on its forum.
    XML DB
    -Priyanka

  • Classpath and jar file question

    my application need to use few jar files i downloaded from the internet
    so i need to set the classpath so that i can import the packages in the jar file rite?
    let say set classpath=.;c:\somedir\bin;
    the ".;" after the "=" means that i search the current directory first then search the directory i have specified after that rite?
    if so, can i put all the needed jar files in the current directory so that my application can use them??
    Another question is if all the jar files in located in the same directory how can i set the class path to refer to them without sepecifying each of the jar file name??can i just put the directory path and will it locate them automatically when my application start??
    can anyone tell me about it??thanks

    No, you need to include each and every jar file in your classpath.
    Or put them all in your <jdk_installation_dir>\jre\lib\ext directory, so that they will get included in your classpath automatically.
    Sudha

  • Multi value attribute question

    Hello there,
    Our application would like to have a multi value attribute in DS11.1.1.7.0 on SLES platform. But here is my question..
    1. Can i have a one single attribute with value like companyCode: ABC,XYZ,QWE,RTY
    2. OR , can i have like below..
    CompayCode: ABC
    CompanyCode: XYZ
    CompanyCode: QWE
    CompanyCode: RTY
    which is the best method for LDAP server performance?
    Thanks

    Hi,
    Multi-valued attribute is supported OOTB by LDAP and it seems simpler&better (possibility to have better indexing, more efficient to add/delete values)  to use the second option, especially if you need to search for entries based on one of the attribute value. By default, LDAP attributes are multi-valued in the LDAP schema so you can store several values for companyCode.
    Note: attribute values in an LDAP attribute are unordered, so choose the primary option if you need to maintain ordering across attribute values.
    HTH
    -Sylvain

  • Loading Jar libs question...

    Hi all, sorry for the dumb question....
    I have an application that uses the alloy for the look and feel and xerces for the XML processing.
    the structure of the project is something lke this:
    project directory/
    project directory/myApp.jar
    project directory/lib/
    project directory/lib/alloy.jar
    project directory/lib/xerces.jar
    project directory/lib/other.jar
    //... other dirs
    Now all the jar files that are in the lib/ directory are included in the MANIFEST file of myApp.jar file, this way the application knows about the different jar files in the lib/ directory.
    Unfortunately since it is a pretty big application I use various external jars, and the MANIFEST file looks like hell.
    How can I still make the application aware of all the different Jar files in the lib/ directory without including them one by one in the MANIFEST???
    I know this can be done, looking at JProfiler's MANIFEST there is no Classpath directive, the same is true for other applications I have looked at.
    You help will be greatly appreciated.
    Chris

    Include them one by one in the manifest.
    What? You ask this question just because the manifest doesn't look pretty enough for you? It's meant to be read by a computer. The computer doesn't care if it looks ugly.

  • Nokia 5230 unable to install jad/jar files into me...

    i'm unable to install java applications or java games into e:/ memory card.. but i can only install them into phone memory and phone memory is full and phone memory is use when you open application to run.. so i need to put this jar/jad games & application to e:/ memory card.. but it only goes to 75% when installing then unable to install..please help.. many of application unable to run because phone memory is full. do i need something like install properly the memory card to lock into phone or something?

    @lionlego
    It is time to address why you are so short of free phone memory, do you have too many applications installed or need to clear browser history? Perhaps backup essential data and hard reset device by keyng in *#7370# followed by 12345 (default Nokia lock code unless altered by user) which should spped your phone up.
    Happy to have helped forum with a Support Ratio = 42.5

  • D namespace attributes questions

    Not sure these are actually Catalyst questions, but they are part of the workflow through Catalyst, so:
    1) Are the "d" namespace attributes (such as "userLabel") compiled into the SWF when compiling in Builder?
    For instance:
    <s:TextInput skinClass="components.UserTextField" text="Username" d:userLabel="UserTextField" x="43" y="82"/>
    1a) If so, how can I access them in AS3?
    1b) If not, what's the use? I know -- they carry over some useful data, but is there something we can do with them in Builder other than search and replace?
    Thanks,
    Kirk

    Hi Kirk,
    Any attribute that has a prefix (d:, th:, ai:, etc) is completely ignored by the compiler and is not accessible at runtime. They are called "private attributes".
    They are not directly useful in Builder. Feel free to strip them out.
    -Adam

  • Bean - jar ( lib ) question

    Hi,
    I'm not a guru in Java - so my question is:
    Is it possible to avoid additing to jar file ( my bean ) all libs ?
    For example - I'm using Xerces parser in 10 my beans - in the case java application it's just enought to add xerces.jar to classpath - BUT it does not works with Bridge ( as far I know - it's necessary to put all used classes in jar ) - and as result we have the same xerces lib in all 10 beans ( no so smart :-( )
    So - can I avoid it ?
    P.S.
    That Bridge - realy great one :-).

    I am currently having a problem with packaging a jlib (jar) up with my bean. Could you let me know how you are packaging the jar up with the Bean?
    Currently I add the class files from the jar into the bean jar. I assumed that by doing this it would make them available during runtime, but when I execute the bean it complains that "Provider <class> not found".
    Any suggestions?
    Also I am interested in the answer to your original question because I will end up packaging the same jar into 3-5 beans, and would obviously rather just point all of them to the jar.
    thanks

  • How to get jad/jar to phone?

    I have a motorola t720, and I am trying to figure out if I have a jad and jar file how do I get those on to my phone?
    I tried making a web page on my apache web server with a link to the jad file, but when I open the link, the phone doesnt like it - 406 Illegal content type.

    Have you set up your web server to return the content type of .jad files to text/vnd.sun.j2me.app-descriptor.
    see Deploying Applications on a Web Server in the User's Guide for more info.

  • Signing a jar file question

    Hello folks
    Have a tough one here.  We have a Legacy System that uses some 3rd party software called Reflections For Web (RWeb) from Attachmate in order to allow the Legacy System to interface with a mainframe system.  One of the files needed by this RWeb software is a jar file called KeyToolsPro_jce1-2-1_signed.jar which itself was created by another company.  The problem we are having is that due to the security changes in Java 7u51 this file is blocked due to not having the appropriate manifest entries and due to being signed by an unknown certificate CA.  This problem is compounded by the fact that the company that created the file is no longer in business and as such cannot make the changes needed to the manifest file.  Also the problem with the signature it seems is due to it being a cryptographic file it needs to be signed by a JCA code signing CA which is not recognized by the AF.  This page talks about signing it with either a Sun or IBM JCA code signing CA:
    http://docs.oracle.com/javase/7/docs/technotes/guides/security/crypto/HowToImplAProvider.html#integritycheck
    My question would be is this still the only way to do this?  Or is it possible that another type of CA could be considered "trusted" for the purposes of signing this type of jar file?  Since it talks about a Sun certificate it does seem like the documentation might be a bit outdated and that perhaps any trusted code signing CA could be used to sign the file.
    Thanks in advance.

    You can add a manifest to a jar file like this:
    jar ufm MyJar.jar manifest.txt
    You'll then need to resign the JAR.  You'll need a code-signing certificate for this.  You can obtain a real one from a provider, or generate your own CA and use it to sign a code-signing certificate yourself.
    You can add a CA to the trusted list like this:
    C:\Program Files (x86)\Java\jre7\lib\security>keytool -importcert -alias MyCA -file c:\cacert.cer -keystore cacerts -storepass changeit -noprompt
    where c:\cacert.cer is the certificate for the CA. 
    However, it may be easier to add your internal server to the exceptions list using the Java control panel.

Maybe you are looking for

  • System Image Utility - Create User - Activate Remote Management

    When creating an image with system image utility, based on a DVD image instead of a cloned image, I cannot create a user and activate Remote Management. I have created an installer package with Apple Remote Desktop that is supposed to do both, howeve

  • FF707 on FB60 t-code

    Hello experts, we have a problem with the FB60 t-code. The error FF707 occurs when we try to post an invoice where the manual tax amount is correct, but the system advises an incorrect approximation. We have implemented the SAP Note number 944978 but

  • Applications freezing, won't sleep, won't shutdown

    I've only had minor problems with Leopard, but have become quite concerned of late.  Over the past few weeks, Skype (older version 2.x??) would suddenly freeze with the beach ball, and nothing would make it shut down.  I would try force quit without

  • Where can i get BO XI trail software

    Hi Gurus, I am working on SAP BI,I want to learn crystal reports 2008, can any one suggest me where can i get crystal reports trail version soft ware? i tried some links provided in SDN but they did not worked out.can some one help me in getting this

  • Usual computer crashes during synchronisation. Can I trust my PC to update my iPod anymore?

    OK, While my iPod touch 4G is Sync-ing with my netbook (Acer aspire one, Win 7 starter) I get a pop-up error diologue box; "iTunes has crashed and needs to be closed. Sorry for this inconveinience" -Do excuse my spelling ;D Should I trust this PC to