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.
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.
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.
Hello,
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.
Thank you,
-Peter