- Sort Posts
- 5 replies
- Last post
Re: Capture an image and fire an event
Re: Capture an image and fire an event
Re: Capture an image and fire an event
Actually this does not work. I've tried what was posted on the thread you linked and nothing has happened don't know why. Even the person posting there admited to it not working and finding a solution, but not remembering what it was. Is this the correct framework to do this sort of thing?
Re: Capture an image and fire an event
See this thread for some detailed code snippets that show a Toast (brief message) when a target is found: http://ar.qualcomm.at/node/2000032
You'll be using the JNI (Java Native Interface) to call a Java method from native. The main trick is that the native renderFrame() method is called from the GLThread, but you can only manipulate the Android UI from the UIThread. That's where the Handler comes in.
Start with the code in that thread, then try to adapt it to show an AlertDialog.
- Kim
Hello. I am sorry for my English. Looked through the documentation, has not found anything about the event which is responsible for recognition Trackable. I will be grateful for the help.
Upd. Has found , TrackableBehaviour.Status.DETECTED .