×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor
    Join Date
    Aug 2008
    Location
    Ahmedabad,Gujarat,India
    Posts
    65

    Disable menu and red key event in 3rd edition devices(N 95)

    Hi,

    I have created one Authentication application using J2ME.

    Is there any way so that this application can't run in background until display.getdispaly(this).setcurrent(null); called from application.

    I want to prevent this application going into background when user has pressed menu key.

    Also,avoid exiting an application on red key(exit key).

    How can I handle it using java(J2ME)?

    Please help me.
    Thanks and Regards,
    Niraj Pendal

  2. #2
    Regular Contributor
    Join Date
    Oct 2005
    Location
    Cairo,Egypt
    Posts
    72

    Re: Disable menu and red key event in 3rd edition devices(N 95)

    Can't be done....
    The redkey force the application to close if on foreground u can only save your application status before closing by override the function destroyapp on the midlet class.
    Wael Nabil
    Product Manager
    CITGlobal MOBiDIV
    Egypt.

  3. #3
    Regular Contributor
    Join Date
    Aug 2008
    Location
    Ahmedabad,Gujarat,India
    Posts
    65

    Re: Disable menu and red key event in 3rd edition devices(N 95)

    And what about menu key?

    Is it possible or not?
    Thanks and Regards,
    Niraj Pendal

  4. #4
    Regular Contributor
    Join Date
    Oct 2005
    Location
    Cairo,Egypt
    Posts
    72

    Re: Disable menu and red key event in 3rd edition devices(N 95)

    No....also as the Redkey...
    u can know the key that u can prevent or not by making a sample Mildet that display a canvas and print the keycode of the pressed key..
    the key that u can get its keycode is the keys u can play with..
    Wael Nabil
    Product Manager
    CITGlobal MOBiDIV
    Egypt.

Similar Threads

  1. Replies: 21
    Last Post: 2011-03-17, 08:16
  2. Replies: 1
    Last Post: 2007-10-30, 12:28
  3. red key behaviour
    By davidmaxwaterman in forum Symbian
    Replies: 12
    Last Post: 2007-06-14, 07:37
  4. Pressing the Red key does not stop the sound In Nokia 6600
    By amuyeed in forum Mobile Java General
    Replies: 0
    Last Post: 2006-02-18, 11:50
  5. handling the menu key and end call key on gameplay
    By yonan32 in forum Mobile Java General
    Replies: 2
    Last Post: 2003-08-26, 10:23

Posting Permissions

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