[ANDROID] Get a concrete view (i.e a text view) from HelloAR class

0 votes
asked Nov 15, 2017 by ginesgarcia (170 points)

I'm trying to build an android app that recognizes specific targets showing, after the recognition, some data in a text view. I started using the example "HelloAR", but after being able to recognize targets, I'm not able to select the concrete view where data will be displayed.

Thanks in advance.

1 Answer

0 votes
answered Nov 20, 2017 by ginesgarcia (170 points)

I already solved it by using runOnUiThread()

commented Mar 9, 2018 by ericwerner (100 points)

I have a similar problem. I would like to show two buttons after recognizing a marker. Would it be possible to get a code example on how to build the app correctly with runOnUiThread? Or do you have another suggestion how to make my UI elements visible? Try to implement the app over the whole day, but I do not get it done.

Welcome to EasyAR SDK Q&A, where you can ask questions and receive answers from other members of the community.