×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Aug 2003
    Posts
    6

    Question 7250i and 7210 Not loading applications after exit

    When exiting my midlet and then trying to open the midlet again (or any other game installed) I am presented with the dreaded "unable to run application". This occurs until the phone is switched off and on again.

    I have ensured that absolutely every object is nullified in destroyApp (not that this should matter when the midlet is exited should it?)

    Any clues/workarounds?

  2. #2
    Registered User
    Join Date
    Aug 2003
    Posts
    6
    Well I seem to have sorted the problem out. A call of:

    dgfx.drawImage(im, getWidth() / 2, getHeight(), Graphics.BOTTOM|Graphics.HCENTER, DirectGraphics.FLIP_HORIZONTAL);

    even though this was drawing correctly seemed to be causing the failure on restart. All worked fine when replaced with:

    dgfx.drawImage(im, (getWidth() - bar.getWidth()) / 2, getHeight() - bar.getHeight(), Graphics.TOP|Graphics.LEFT, DirectGraphics.FLIP_HORIZONTAL);

    A bizarre solution.

Posting Permissions

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