Start a new topic

Click / Touch Listener

Click / Touch Listener

Hi all,

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 ?




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.

Kind regards,
Login or Signup to post a comment