By Matthias
on Wed, 06/20/2012 - 17:03
Hi everybody!
I would like to display a button on the screen when a trackable is recognized. I'm working with the ImageTargets sample and followed the instructions given here [url]https://ar.qualcomm.com/forums/showthread.php?t=32[/url]. The Toasts work perfectly.
My main.xml file was modified to look like this:
[CODE]
[/CODE]
I have added the method "myMethod" to ImageTargets.java that should be called when the button is clicked. It looks like this:
[CODE]public void myMethod(View view) {
// do the magic
}[/CODE]
I'm not sure about where I should create the button. Doing that in the handleMessage method from the Toast example doesn't work.
I would appreciate any hints on how to solve this.
Thanks in advance!
Re: Show button according to object
Re: Show button according to object