I'm trying to detect click or touch Listener from activity.
I saw in architectView object, two methods (setOnClickListener / setOnTouchListener), but when I implemented them, nothing happen ... How can I do that ?
Or else:
How can I get x / y position of click on screen (not projected coordinates), just x / y on the mobile's screen when the user click ?
Regards
Thibault
A
Andreas Fötschl
said
over 10 years ago
Hi there!
The ARchitectView in Android SDK is a ViewGroup, even the mentioned onClickListener is a system-feature of an Android View. Please have a look at e.g. posts on stackoverflow and other Android Forums discussing this topic as this faeture is nothing AR/SDK related.
Thibault Morelle