×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Jul 2010
    Posts
    178

    Possible to detect the red color button in Nokia Mobile

    Hi
    I am using Netbeans 6.8 and LWUIT 1.3.
    Is it possible to detect the red color button press event in the Nokia device?
    When i connected internet through mobile phone when i press the red color button a message appear with the
    3 button yes,no and minimize the application.

    i want the same scenario in my application while the application is running then the user press the red color button it should be detected and a pop up message box should be appear as i said above.

    Please help me.

  2. #2
    Super Contributor
    Join Date
    Apr 2007
    Posts
    2,708

    Re: Possible to detect the red color button in Nokia Mobile

    When an user pushes the red button the destroyApp() method will be called (look for midlet life cycle on google).
    You can try to do some (very short) operations here BUT you will not be able to cancel the midlet's shutting down... So even if you manage to show a Form with that selection (within the small time lapse the OS will give you to do anything within the destroyApp() method) asking a user to cancel the closing of the app you will not be able to actually stop it...
    It's pretty simple : the red button is the "shut down the app now without any other option" button...
    Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them.

  3. #3
    Regular Contributor
    Join Date
    Jul 2010
    Posts
    178

    Re: Possible to detect the red color button in Nokia Mobile

    Hi
    Thanks for the reply.

Similar Threads

  1. Replies: 16
    Last Post: 2013-10-04, 13:09
  2. Detroy app when user press hang up button (red button)
    By ammanage in forum Mobile Java General
    Replies: 9
    Last Post: 2009-09-21, 19:29
  3. Replies: 3
    Last Post: 2009-09-17, 19:48
  4. Block red button (EKeyNo) & Nokia N95
    By EagleSW in forum Symbian
    Replies: 2
    Last Post: 2007-09-26, 09:52
  5. Red (hang-up) button on Nokia 6230
    By mortem in forum Mobile Java General
    Replies: 2
    Last Post: 2004-11-12, 17:50

Posting Permissions

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