Log in or register to post comments

Touch Events

February 2, 2012 - 11:16pm #1

How do we register the Touch Even in QCAR SDK, I have gone through the Dominoes APP which has a touch event but couldnt find where the touch Event is registered. Could anyone share some light on how we can incorporate touch events to the augmented image

Re: Touch Events

February 3, 2012 - 3:03pm #2

QCAR doesn't provide a touch event API, you need to use the platform-specific touch event APIs for this (e.g. Android, iOS, or Unity).

The Android Dominoes sample shows you one approach for passing touch events to native. Take a look at Dominoes.java, this is where the Android onTouchEvent method is overridden.

- Kim

Log in or register to post comments