My favorite file manager (File Express) has a nice feature:
If you press the <Back> button normal the program will go back to the previous state. If you press it for 1 second or longer the program will terminate.
I mimicked this by using the Activity_KeyPress und _KeyUp events and a timer.
My Question: Is there something like an Activity_LongKeyPress event, similar to Button_LongClick? Or - in other words - is there a more elegant way?
Rolf
If you press the <Back> button normal the program will go back to the previous state. If you press it for 1 second or longer the program will terminate.
I mimicked this by using the Activity_KeyPress und _KeyUp events and a timer.
My Question: Is there something like an Activity_LongKeyPress event, similar to Button_LongClick? Or - in other words - is there a more elegant way?
Rolf