| Reply | « Previous Thread | Next Thread » |
|
Join Date: Aug 2008
Posts: 65
Location: Ahmedabad,Gujarat,India
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 |
| nirajpendal |
| View Public Profile |
| Find all posts by nirajpendal |
|
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. |
|
Join Date: Aug 2008
Posts: 65
Location: Ahmedabad,Gujarat,India
nirajpendal
Offline
Regular Contributor
|
|
And what about menu key?
Is it possible or not? Thanks and Regards, Niraj Pendal |
| nirajpendal |
| View Public Profile |
| Find all posts by nirajpendal |
|
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 | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| 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 |