You Are Here:

Community: Developer Discussion Boards

#1 Old Disable menu and red key event in 3rd edition devices(N 95) - 2008-09-04, 12:58

Join Date: Aug 2008
Posts: 65
Location: Ahmedabad,Gujarat,India
Send a message via Yahoo to nirajpendal
nirajpendal
Offline
Regular Contributor
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)? :confused:

Please help me.


Thanks and Regards,
Niraj Pendal
Reply With Quote

#2 Old Re: Disable menu and red key event in 3rd edition devices(N 95) - 2008-09-04, 14:26

Join Date: Oct 2005
Posts: 71
Location: Cairo,Egypt
Send a message via MSN to Spider_Eg Send a message via Yahoo to Spider_Eg Send a message via Skype™ to Spider_Eg
Spider_Eg
Offline
Regular Contributor
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
Senior Software Developer
CITGlobal MOBiDIV
Egypt.
Reply With Quote

#3 Old Re: Disable menu and red key event in 3rd edition devices(N 95) - 2008-09-04, 14:38

Join Date: Aug 2008
Posts: 65
Location: Ahmedabad,Gujarat,India
Send a message via Yahoo to nirajpendal
nirajpendal
Offline
Regular Contributor
And what about menu key?

Is it possible or not?


Thanks and Regards,
Niraj Pendal
Reply With Quote

#4 Old Re: Disable menu and red key event in 3rd edition devices(N 95) - 2008-09-04, 14:41

Join Date: Oct 2005
Posts: 71
Location: Cairo,Egypt
Send a message via MSN to Spider_Eg Send a message via Yahoo to Spider_Eg Send a message via Skype™ to Spider_Eg
Spider_Eg
Offline
Regular Contributor
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
Senior Software Developer
CITGlobal MOBiDIV
Egypt.
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

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

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
Trick to prevent Python from closing on red key press. y.a.k Python 19 2009-07-28 15:16
How to simulate the red key on the phone application? Tejaswini General Symbian C++ 1 2007-10-30 13:28
red key behaviour davidmaxwaterman General Symbian C++ 12 2007-06-14 08:37
Pressing the Red key does not stop the sound In Nokia 6600 amuyeed Mobile Java General 0 2006-02-18 12:50
handling the menu key and end call key on gameplay yonan32 Mobile Java General 2 2003-08-26 11:23

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia