Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User akokchai's Avatar
    Join Date
    Mar 2003
    Location
    Malaysia-Johor-Pontian Kecil
    Posts
    163
    Hi,

    I am trying to add "OK" and "Back" command to my comfimation alert, the code does work in J2ME toolkit emulator. But the problem is the alert can't be displayed in Nokia phone emulators and real phone (7650). The 6310i emulator even display error message "java/lang/IllegalStateException". What's the tips to add Command to an alert in Nokia platform ?

    Thanks.

  2. #2
    Regular Contributor nmittal's Avatar
    Join Date
    Mar 2003
    Posts
    393
    Commands are not allowed on Alerts, so this method will always throw IllegalStateException whenever it is called. Refer to the MIDP1.0 specs.

    [N]/Forum Nokia
    Cheers,
    Nitin

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved