i have few changes like :
private boolean mShouldPlayImmediately = true;
2: commentin for loop in VideoPlaybackRenderer.java
still not working ?
- first try to study and understand the current sample code (both the C++ code and the Java code), in all its major aspects: this article (which is available in our developer guide) can help you significantly with this task:
(see the sub-section "Sample Specific Notes" at the bottom of the page)
- then try to reuse the concepts and code snippet that are presented in the other article I was pointing you to:
The rest is about programming, we cannot write the application code for you.
Thanks for your understanding.
Ok, so, first you need to understand how a custom action can be performed in response to the a target getting detected; this article explains how to achieve that by showing a simple example of displaying a message in response to a target detection event:
starting from the article above, in your case, instead of just showing a message on the screen, you will simply need to trigger the playback of the video associated to that target.
Note: this is pure application logic, once you have familairized with the first part of the problem (as I explained above), then there is nothing specific to the Vuforia SDK for playing a video (note: the sample just uses the MediaPlayer class of the Android SDK; have a look at the VideoPlayerHelper class in particular).
Are you sure you want to delete this message?
Are you sure you want to delete this conversation?