The sample does not remove the message when the trackable is not in view. It should replace the message when a new trackable is found. You'll have to modify the code to remove the message when no trackables are found.
Thanks for the reply. I tried the one what u mentationed above and got the output. Showed dialog box when patterns matchs. But the problem is, when i move to other patterens that time also dialog box appears it not dissmissed.
There is an example of displaying a webpage on detection on this thread. You can change the code to display a dialog instead of a webpage. This sample also contains the code to show a Toast on detection.
Hi deepa
Can you show me the code to show the dialog box please? i'm trying to do the same but i can't, i'm newbie to programming on Android.
I already can show the toast.
Thanks in advance.