Hi. I use the smaples. ex.DrameMarkers . I have a error message. FATAL EXCEPTION: main java.lang.UnsatisfiedLinkError: setActivityPortraitMode 04-22 14:05:03.355: E/AndroidRuntime(12924): at com.qualcomm.QCARSamples.FrameMarkers.FrameMarkers.setActivityPortraitMode(Native Method) 04-22 14:05:03.355: E/AndroidRuntime(12924): at com.qualcomm.QCARSamples.FrameMarkers.FrameMarkers.initApplication(FrameMarkers.java:546) ( setActivityPortraitMode(screenOrientation == ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); ) I was try to skip . But out of other error. Plz~ give me some advice how to do. By the way ...other sample was same error. I use Ecilpse for Mac . The android sdk is new. The qcar sdk Is new. I checked on the Internet! But I can not find the issues related to.
"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team
The question for sample
By Justlove_easy
on Mon, 11/24/2014 - 09:41
Re: The question for sample
The question for sample
i use VideoPlayback sample and i am trying to run but i am getting below exception
The question for sample
Hi, the cause can likely be one of these two:
The question for sample
Hi AlessandroB,
The question for sample
DId you run ndk-build ? was the build successfull ? (and di you refresh the project in Eclipse after building with ndk-build ?)
The question for sample
Hi AlessandroB,
can you please give me steps for ndk-build ?
The question for sample
Sure, here they are:
https://developer.vuforia.com/resources/dev-guide/step-3-compiling-running-vuforia-sample-app
The question for sample
Thanks AlessandroB
The question for sample
You're welcome.
The question for sample
Hi
The question for sample
Hi, you can look at the code in FullscreenPlayback:
The question for sample
yes but requirement is that, need to play video in dynamically size like when i match with small image so video sould be display in that image size.
Thanks..
The question for sample
Not quite sure I understand your last message;
however, in general you can do:
The question for sample
hi
The question for sample
Ok, I see. That's already what the sample does;
if you want to change the size of the video (as diaplayed "on the target" in 3D), you can change the targetPositiveDimensions variable (in VideoPlayback.cpp).
The question for sample
yes targetPositiveDimensions in
The question for sample
See this line of code in VideoPlayback.cpp:
targetPositiveDimensions[currentTarget] = imageTarget.getSize();
that ensures already that the video fits into the target image, but you can adjust that value to your needs.
The question for sample
yes i have changed in VideoPlayback.cpp but not change size of video as requirement, can we get target image size in activity ? so we will set size of VideoView.
The question for sample
I think I am not following:
the VideoView is a 2D view in Android, and it is used to display the video in fullscreen (not in 3D on the target itself)
on the other hand, the positiveVideoDimension variable is only used for 3D rendering in OpengGL.
The question for sample
its working now thanks :)
The question for sample
You're welcome.