|
|
|
|
|
- Overview
- Multi-touch: Specific WLanguage functions
A "multi-touch" feature is a technique allowing the user to interact with a device via several contact points (the fingers are used in most cases). One of the most common applications of the multi-touch feature is used to handle images. The display size on a phone being reduced, it is often necessary to perform a zoom and/or to move in an image. This technology allows you to zoom images with a pinch gesture. WINDEV Mobile allows you to manage the multi-touch in the Android and iPhone/iPad applications via:
Multi-touch: Specific WLanguage functions Several WLanguage functions can be used to manage the multi-touch in the following processes of controls: - Pressed/Left button down (optional process)
- Released/Left button up (optional process)
- Tap/Click
- Double tap/Double click with left button (optional process)
- Move (optional process).
These functions are:
| | GestureCurrentPointer | Returns the pointer index (finger or stylus) that triggered the call to a process specific to the multi-touch feature in an Image control. | GestureNbPointer | Returns the number of pointers in contact with the screen. | GesturePosX | Returns the horizontal position of the pointer (finger or stylus). | GesturePosY | Returns the vertical position of the pointer (finger or stylus). |
Related Examples:
|
Cross-platform examples (WINDEV Mobile): WM System
[ + ] This application is an example of some of the features of WINDEV Mobile available for Android/iOS. The following system functions are used: - NFC - Multimedia control - Brightness - Volume - Wi-Fi - Bluetooth - Toast - Compass - Accelerometer - Camera control - LED - Vibration - Notifications - Drawing functions - Internet
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|