Touch down and hold is used, for example, to open the S60 stylus pop-up menu. Applications can use an animation (starts after 0.15 seconds from the start of a stylus down event) to indicate that a Touch down and hold action has been initiated.
On the whole, Touch down and hold may be difficult for users to find, and therefore its use should be considered carefully. As in the case of task swapping, the use of Touch down and hold should aim at being analogous to using a long key press on the hardware keys.
The API to use for receiving touch down and hold events in applications or controls is the Touch UI utilities API.
Use the class CAknLogTapDetector
to receive touch down and hold events, called long tap events in
the API reference.
Your long tap handler must inherit from the class MAknLongTapDetectorCallBack
and
implement the MAknLongTapDetectorCallBack::HandleLongTapEventL()
call back
function.