×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Dec 2004
    Posts
    2

    how to display "please wait..." when doing initialization or exiting

    when doing initialization or exiting a MIDlet, it may take several minutes. how can I show an image like "please wait, initializing" or "please wait, exiting"
    I guess there maybe some API for this. Because the phones often display this when we installing a program or doing other time consuming work.
    or who can supply some examples for this?
    thx

  2. #2
    Super Contributor
    Join Date
    Nov 2003
    Location
    Bangalore , India
    Posts
    4,430
    Hi..

    IMHO There is no API present to display please wait screen; the please wait animation have to be done with our own code.Once the startApp() is called we could use the canvas to display a please wait with some necessary animations.
    Also while the case of exiting the app some please wait animation could be shown till all necessary operations(like record store saving)are carried out and destroyApp() is called; After destroy app is called we cannot display any please wait....

    I suppose we cannot do any please wait animation in the case of HardExit.

    Here are some links that I found while after a quick search!

    General-Purpose Dialogs for MIDP
    http://developers.sun.com/techtopics...ttips/dialogs/

    How to implement a "Please wait" message
    http://forum.java.sun.com/thread.jsp...hreadID=481112

    http://forum.java.sun.com/thread.jsp...sageID=3405549

    http://forum.java.sun.com/thread.jsp...hreadID=610211

    Hope this helps!

    regards
    Gopal

  3. #3
    Registered User
    Join Date
    Dec 2004
    Posts
    2
    Thank you very much.
    This post is just the same case as mine and it is very helpful.
    http://forum.java.sun.com/thread.jsp...hreadID=481112

Posting Permissions

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