Discussion Board

Results 1 to 11 of 11
  1. #1
    Registered User flavio.renga's Avatar
    Join Date
    Jul 2008
    Posts
    5
    I'm new in the J2ME world.
    I'm just trying to develop a simple "Hello world appliction" for my 5200 Nokia.
    I can simulate the application using Eclipse and both the "Wireless Toolkit 2.5 for CLDC" and the "Wireless Toolkit 2.5.2 for CLDC", but when I try to execute the application directly in my Nokia 5200 I get the error "Invalid application. Delete?".

    If it can be useful, here you have the content of the file Howdy.jad associated to the Howdy.jar file:

    MIDlet-Jar-Size: 1321
    MIDlet-Jar-URL: Howdy.jar
    MIDlet-Name: Howdy Midlet Suite
    MIDlet-Vendor: Midlet Suite Vendor
    MIDlet-Version: 1.0.0
    MicroEdition-Configuration: CLDC-1.1
    MicroEdition-Profile: MIDP-2.0

    Could anyone help me to solve this problem?

    Thank you in advance!

    Flavio

  2. #2
    Nokia Developer Champion hartti's Avatar
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192
    You need to have a MIDlet-1 attribute in the jad and manifest. see here http://java.sun.com/javame/reference...e-summary.html

    Hartti

  3. #3
    Registered User flavio.renga's Avatar
    Join Date
    Jul 2008
    Posts
    5
    Thanks Hartti,
    have I to insert it manually in the jad file or it can be automatically inserted by eclipse using a specific command?
    Thanks!
    Flavio

  4. #4
    Registered User flavio.renga's Avatar
    Join Date
    Jul 2008
    Posts
    5
    By the way, I noticed that Eclipse doesn't generate any manifest file for me, nor the jar contains the MIDlet-1 attribute...
    How can I do?

    Flavio

  5. #5
    Registered User flavio.renga's Avatar
    Join Date
    Jul 2008
    Posts
    5
    Thank you very much, Hartti!
    I did it!

    I forgot to insert the name of the MIDlet into the MIDlets list.
    Now it works!
    Thanks!!!!
    Flavio

  6. #6
    Registered User omar_391's Avatar
    Join Date
    Sep 2009
    Posts
    3
    Hello !
    When I Start any Application It Says That "Invalid application. Delete?"
    And How To Solve This Problem Plz Inform Me About this.

  7. #7
    Registered User grahamhughes's Avatar
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,394
    Check Why Doesn't My MIDlet Run? If that doesn't help you, post the contents of your JAD and MANIFEST files here.

    Graham.

  8. #8
    Registered User omar_391's Avatar
    Join Date
    Sep 2009
    Posts
    3
    Quote Originally Posted by grahamhughes View Post
    Check Why Doesn't My MIDlet Run? If that doesn't help you, post the contents of your JAD and MANIFEST files here.

    Graham.


    3110c Version Details;
    Profile: MIDP-2.0
    Configuration:CLDC-1.1





    the contents of my JAD and MANIFEST files in below :


    MIDlet-Jar-URL: operette-hifi_getjar-en.jar
    MIDlet-Jar-Size: 126807
    MIDlet-Name: Opera Mini
    MIDlet-Version: 4.2
    MIDlet-Vendor: Opera Software ASA
    MIDlet-1: Opera Mini, /i.png, Browser
    MIDlet-Data-Size: 25600
    MIDlet-Description: Opera Mini
    MIDlet-Icon: /i.png
    MIDlet-Info-URL: http://mini.opera.com/
    MIDlet-Permissions: javax.microedition.io.Connector.http
    MIDlet-Permissions-Opt: javax.microedition.io.Connector.sms, javax.wireless.messaging.sms.send, javax.microedition.io.Connector.socket, javax.microedition.io.Connector.file.write, javax.microedition.io.Connector.file.read
    RIM-COD-SHA1-1: 2d 07 29 be 9f c8 78 e3 b5 10 75 ff ad 61 1c cf 62 4e 25 53
    RIM-COD-Size-1: 53820
    RIM-COD-URL-1: http://mini.opera.com/builds/release...en-jsr75-1.cod
    RIM-COD-Creation-Time: 1227608629
    RIM-COD-Module-Dependencies: net_rim_cldc
    RIM-COD-Module-Name: operette-hifi
    RIM-COD-SHA1: 4a 1b 0a 67 45 e4 ac c4 67 2c 8a 05 dc 9d f2 a3 d9 60 16 06
    RIM-COD-SHA1-2: 76 1d 48 c7 5f 96 97 1b c7 24 5f 3b 47 2e e9 46 e9 42 ae 04
    RIM-COD-Size: 68532
    RIM-COD-Size-2: 67024
    RIM-COD-URL: http://mini.opera.com/builds/release...r-en-jsr75.cod
    RIM-COD-URL-2: http://mini.opera.com/builds/release...en-jsr75-2.cod
    Content-Folder: Applications
    MicroEdition-Configuration: CLDC-1.0
    MicroEdition-Profile: MIDP-2.0
    DOWNLOADED_WITH_USER_AGENT: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 (.NET CLR 3.5.30729)
    DOWNLOAD_SOURCE: GetJar
    DOWNLOAD_UID: 167x42687810


    MANIFEST files in bello :

    MIDlet-Name: Opera Mini
    MIDlet-1: Opera Mini, /i.png, Browser
    MIDlet-Data-Size: 25600
    MicroEdition-Configuration: CLDC-1.0
    MIDlet-Icon: /i.png
    MIDlet-Info-URL: http://mini.opera.com/
    MIDlet-Permissions-Opt: javax.microedition.io.Connector.sms, javax.wir
    eless.messaging.sms.send, javax.microedition.io.Connector.socket, jav
    ax.microedition.io.Connector.file.write, javax.microedition.io.Connec
    tor.file.read
    MIDlet-Vendor: Opera Software ASA
    MIDlet-Permissions: javax.microedition.io.Connector.http
    MIDlet-Version: 4.2
    MicroEdition-Profile: MIDP-2.0
    MIDlet-Description: Opera Mini
    Last edited by omar_391; 2009-09-10 at 15:58.

  9. #9
    Registered User grahamhughes's Avatar
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,394
    If you're asking about other people's software, you need to contact the vendor.

    In this case... it looks like you've downloaded Opera Mini... from getjar.com? This looks like it might be a Blackberry version. Applications developed for other devices may not work on your device.

    Point your phone's browser as mini.opera.com, and download it from there.

    Please note that this is a forum for software developers. You can't get support for specific applications here. Refer to the vendor of the application for support.

    Graham.

  10. #10
    Registered User omar_391's Avatar
    Join Date
    Sep 2009
    Posts
    3
    Quote Originally Posted by grahamhughes View Post
    Check Why Doesn't My MIDlet Run? If that doesn't help you, post the contents of your JAD and MANIFEST files here.

    Graham.
    Sorry..I Do not Much Know About Java...

    But In My Mobile any Jar or Jad Application do not run.Previously Java Applicaton run in my device.But now if i try to run any Jar or jad applicaton it says about "Invalid application. Delete?" plz..Help me..Previously Opera Mini 4.2 run smoothly...But Now i faced with This Problem... Plz Help...

  11. #11
    Registered User grahamhughes's Avatar
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,394
    This is a forum for Java developers. It's not end-user support for Nokia devices. Try contacting Nokia through their support services.

    Graham.

Similar Threads

  1. Nokia Image Converter
    By davidpurdie in forum General Development Questions
    Replies: 0
    Last Post: 2004-02-18, 15:31

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved