By jok_rodz
on Fri, 03/22/2013 - 11:35
GUYS,
ANY ONE here, tried to manipulate a dynamic NUM_TARGETS in VidePlayback example.
for example: i have 100 markers in my dataset and i download my videos from url
which function can i used exactly so that i can make a function for getting the name of the imagetarget then play the specific video on it
Thanks . Hope You can help.
Dynamic NUM_TARGETS(markers & Videos),VidePlayback
Hi, if you want to retrieve the name of an image target (so that you can play a video from a URL based on that name), you could simply use the getName() function of the ImageTarget class.
Dynamic NUM_TARGETS(markers & Videos),VidePlayback
How can i pass the imageTarget.getName() to java?
because it is in videoplayback.cpp
Dynamic NUM_TARGETS(markers & Videos),VidePlayback
Hi, suppose you have a method called "setTargetName(String name)" defined in your class ImageTargetsRenderer.java, then the code to pass the name to that Java method from C++ would be:
Dynamic NUM_TARGETS(markers & Videos),VidePlayback
Thanks
Dynamic NUM_TARGETS(markers & Videos),VidePlayback
In Java, the method must not be declared "native"; in this case it is just a standard Java method, in which you define your logic:
Dynamic NUM_TARGETS(markers & Videos),VidePlayback
Thanks but it wont display the name of marker
Heres my code in my VideoPlayback.cpp
Dynamic NUM_TARGETS(markers & Videos),VidePlayback
Hi, it looks like this line:
Dynamic NUM_TARGETS(markers & Videos),VidePlayback
Thanks ALESSANDRO. I can now get the imagetarget.
Thanks again for your help
Dynamic NUM_TARGETS(markers & Videos),VidePlayback
Excellent!
Dynamic NUM_TARGETS(markers & Videos),VidePlayback
hi. I'm beginner.
any one help me.
i was copy zok_lods's code in my VideoPlayback.cpp and VideoPlaybackRenderer.java.
and than...
how can i use this in my VideoPlayback.java??
show me example plz