dat-ng / ar-location-based-android

This AR app generally show where things are in the real-world by indicating where the app thinks they are over the camera view when the user holds the phone up and moves it about.
MIT License
206 stars 85 forks source link

OnClick? #1

Open mboeddeker opened 7 years ago

mboeddeker commented 7 years ago

Is there a way, to add an OnClickListener for the ARPoints?

dat-ng commented 7 years ago

@mboeddeker: you can implement onTouch() on AROverlayView

SyedKabeer commented 7 years ago

Hi,

I have multiple ArPoints. Onclicking that I have to display the names of it. So I am setting tag inside onDraw(); and Implemented onTouch() on AROverlayView. But I get the last value for every click. Can you help me fix it.

SyedKabeer commented 7 years ago

It will be a great use for me. If you can share any sample code for the above issue. Thanks in advance.