×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Sep 2006
    Posts
    13

    delay of app lunching

    i developed j2me application depend on canva
    the app on sun emulator take no time to start when i press lunch
    on nokia n95 when i press lunch option it take more than a minute to start
    i used Manager.playTone to detect when the constructor and startApp called
    the tone was played after all the delay time elapsed
    the constructor and startApp take no time


    i use netbeans 6 and push registry for incoming sms
    i need help for this issue

  2. #2
    Nokia Developer Champion
    Join Date
    Nov 2007
    Location
    Rome, Italy
    Posts
    2,405

    Re: delay of app lunching

    Hi omaravet,

    the behaviour you describe is usually reported when a midlet in installed on an external memory, and there are a lot of other applications already installed on the phone. Is this your case?

    Pit

  3. #3
    Registered User
    Join Date
    Sep 2006
    Posts
    13

    Re: delay of app lunching

    thanks for your help
    on device directly it slightly faster
    but there is many j2me application on external memory lunch faster
    how can i minpulate this problem

  4. #4
    Nokia Developer Expert
    Join Date
    Jun 2005
    Posts
    923

    Re: delay of app lunching

    The problem is that you are doing too much stuff in the same thread created by the AMS to start your midlet. It's called the system thread.

    Move most of the object construction (specially if you are loading images or sound files) to another thread, and make the midlet constructor and startApp() as lightweight as you can.

    Daniel

  5. #5
    Registered User
    Join Date
    Sep 2006
    Posts
    13

    Re: delay of app lunching

    i think i found the main problem
    my application have maps in form of many images to produce the whole map

    when i remove the the maps package the application start faster

    on n95 it seem the jvm copy midlet files from the external memory to the device at starting or verify files

    i wish if there is more information about midlet lunching on n95 device

Similar Threads

  1. Replies: 3
    Last Post: 2007-10-02, 15:47
  2. Changing App Mgr settings from J2ME app
    By ddbhasin in forum Mobile Java General
    Replies: 6
    Last Post: 2007-09-21, 07:18
  3. why my app is not shown in emulator?....due to i have change UID
    By bharats in forum Symbian Tools & SDKs
    Replies: 3
    Last Post: 2007-09-12, 06:49
  4. renaming app, how??
    By Audun Holme in forum Symbian
    Replies: 2
    Last Post: 2007-05-13, 12:10
  5. 7650 - go back, close my app not closing the container app
    By geran in forum Digital Rights Management & Content Downloading
    Replies: 1
    Last Post: 2002-12-05, 09:58

Posting Permissions

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