×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jun 2009
    Posts
    35

    there any way to save the state in blackberry application while minimized

    Hi All,



    I have one issue in my application. I am making one application in J2ME using LWUIT. Now I need to port that application in blackberry. I have used blackberry port for that. Now i Minimized the applicaiton using



    Display.getInstance().minimizeApplication().



    But when the application is again maximized by clicking on the icon, the state of the application does not remain saved. So it goes to the first screen of the application.



    Can anybody tell me is there any way to save the state in blackberry application.

    It is working perfectly fine in j2me application.





    thanks in advance.



    Manish Bansal

  2. #2
    Registered User
    Join Date
    Feb 2008
    Location
    Russia, Samara
    Posts
    47

    Re: there any way to save the state in blackberry application while minimized

    Hi!
    I have solved same problem some year ago :-)
    Reason is what BB calls method startApp every time when midlet maximize, but other phones like Nokia calls startApp only one time - when midlet starts. So, add in your startApp method checking is it first time calling startApp or not.
    Hope it will help you!

Similar Threads

  1. Replies: 4
    Last Post: 2010-09-11, 20:42
  2. Minimized Application
    By Ram9790 in forum Mobile Java General
    Replies: 10
    Last Post: 2010-04-27, 13:48
  3. how to save emulator state
    By dnjuls in forum Mobile Java Tools & SDKs
    Replies: 0
    Last Post: 2007-12-31, 20:53
  4. save last state
    By hm36 in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 0
    Last Post: 2007-05-31, 20:10
  5. Start an application minimized
    By eleganceandchaos in forum Symbian
    Replies: 3
    Last Post: 2006-04-17, 20:22

Posting Permissions

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