Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    May 2003

    Disable "Hang-Up" button and textfield color ?

    Is it possible to disable the "Hang-Up" button in a MIDlet?
    If yes, how?

    Is it possible to change the color of a textfield?
    If yes, how?


  2. #2
    Regular Contributor
    Join Date
    Mar 2003

    you can't disable the END key (red phone button) in Nokia phones as the specification says implicitly that END key must destroy the MIDlet. What the END key does (in Series 40) is that it calls your MIDlet's destroyApp() method, where you can yourself implement e.g. an auto-save feature with which you store the game state to RMS (important variables, etc.) and allow the user to resume from the same position when the MIDlet is run next time. There will be e a technical note about this later at our web site, stay tuned.

    About the TextField color, you can't change that. All high level UI layouts and colors come directly from the underlying platform. Please check MIDP 1.0 specification for further details.

    Kind regards,
    Tinke / FN

Posting Permissions

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