×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Mar 2003
    Location
    Malaysia-Johor-Pontian Kecil
    Posts
    163

    Problem about adding command to the Alert in the Nokia phone series.

    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
    Join Date
    Mar 2003
    Posts
    393

    RE: Problem about adding command to the Alert in the Nokia phone series.

    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
  •  
×