12-21-2011 12:36 PM
Hello again ^_^
Is there any way to prevent the user from leaving the application unless he do a task or enters a specific data, (i.e. password) ..
12-21-2011 01:23 PM
you can override all the hard keys and just return TRUE from the keyDown() method. When the user enters some data then you can call close() for the screen.
12-26-2011 02:48 PM
Okay .. I've override the onClose() .. However, if I clicked on the menu button I can exit the program !
Is there any way to stop the user from getting away from my program unless s/he do what I tell him ?? **
12-27-2011 01:28 AM
12-27-2011 02:00 AM
Think nothing can override the password screen, right?
Forgot about phone calls, a PhoneListener could be used to set a yield flag. Also, onDown could be used to allow outgoing calls. Could poll to see when the phone app is no longer the foreground app, then put the 'sticky' app right back on the foreground.