By mustafacelik
on Thu, 04/25/2013 - 15:55
Hi,
I create one application that display video automatically after target image found by using Vuforio.(https://developer.vuforia.com/resources/sample-apps/video-playback-sample-app)
1 - While coding application,I use sample project codes and couldnt find how to remove creating texture over target images(play.png and black screen etc.) Can you help me about that ? Is there any variable to decline creating texture over target images ?
2 - When target image found,video plays automatically.its work right now.But after video finish,i want display image to share pictures or videos at social medias (facebook-twitter etc) How can i call new activity to have that interface ? How can i check video finish or not ?
Thanks
Calling Activity after target image found and disable texture ov
Hi,
for question 1, you need to play with the code in VideoPlayback.cpp, in the renderFrame() function;
in particular, check this line and the subsequent code (this is where the play icon is rendered):
Calling Activity after target image found and disable texture ov
Hello,
First of all thanks for quick reply.I solved first question with your direction.But second one even i try to call one other activity.Its not present after video finish even i implement onCompletionListener as you told.Code is below:
VideoPlayerHelper.java
Calling Activity after target image found and disable texture ov
Hi, is your video playing on texture or in fullscreen ?
Calling Activity after target image found and disable texture ov
at fullscreen
Calling Activity after target image found and disable texture ov
Ok, then you need to implement the OnCOmpletionListener in the FullscreenPlyaback class
Calling Activity after target image found and disable texture ov
Thanks AlessandroB,
Calling Activity after target image found and disable texture ov
Great. Glad to help!