diff -r 89d6a7a84779 -r 25a17d01db0c Symbian3/PDK/Source/GUID-A15EDC87-A6EF-40D8-AA78-B52449465FEA.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/PDK/Source/GUID-A15EDC87-A6EF-40D8-AA78-B52449465FEA.dita Fri Jan 22 18:26:19 2010 +0000 @@ -0,0 +1,54 @@ + + + + + +Receiving +long-tap events +

To receive long-tap events in your application using the Touch UI utilities +API, follow the steps below:

+
    +
  1. Link the Avkon libraries avkon.lib and eikcoctl.lib to +the project file of the application.

  2. +
  3. Provide an observer +class that implements the MAknLongTapDetectorCallBack interface.

  4. +
  5. Create an instance of +the class CAknLongTapDetector and pass pointer events to +the long-tap detector.

  6. +
  7. Receive long-tap events +through the observer interface.

  8. +
  9. Delete the long-tap +detector.

  10. +
+

Use cases for the long-tap detector are shown in the figure below.

+ +Touch UI utilities API use cases + + +

To use the Touch UI utilities long-tap detector in your application, implement +the following use cases.

+ +

The following use cases are optional, allowing you to set additional properties +for your long-tap detector.

+ +
\ No newline at end of file