Log in or register to post comments

videoPlayback and dominoes examples

March 21, 2013 - 10:25am #14

Hi, i would like to ask is it possible to combine the videoplayback and dominoes samples in one application?

videoPlayback and dominoes examples

March 21, 2013 - 11:29am #13

Yes, why not. But we don't have a tutorial for that.

One thing that can help perhaps is to look at this code walk-through that we have written for the VideoPlaback sample (which will drive you through the main parts of the sample code to help you udnertand it better).

https://developer.vuforia.com/resources/sample-apps/video-playback-sample-app

(see under "Sample Specific Notes")

 

videoPlayback and dominoes examples

March 22, 2013 - 10:23am #12

I noticed that the library used is little bit different.  Do i need to move all the library into one folder?

videoPlayback and dominoes examples

March 22, 2013 - 12:07pm #11

Which "library" specifically are you referring to ?

 

videoPlayback and dominoes examples

March 22, 2013 - 12:12pm #10

The files i refer to are the files in the folder "bin" and "gen".

videoPlayback and dominoes examples

March 22, 2013 - 12:43pm #9

Oh, you don't need to copy them; those files are automayically geenrated when you build your project;

just start from one of the two samples and try to integrate code taken from the other sample, until you reach what you want.

 

videoPlayback and dominoes examples

March 24, 2013 - 7:43am #8

That means just migrate code from .java and .h files?

videoPlayback and dominoes examples

March 24, 2013 - 10:16am #7

Yes; so, you can start from an existing sample project, which already compiles and runs fine;

than you can take code (Java, .cpp and .h files) from the other sample and integrate it into the former.

 

videoPlayback and dominoes examples

March 25, 2013 - 12:23am #6

Thanks a lot. I will try it.

videoPlayback and dominoes examples

March 25, 2013 - 1:06am #5

You're welcome.

videoPlayback and dominoes examples

March 25, 2013 - 1:50am #4

Do i need to compile it with cygwin after i combine the code?

videoPlayback and dominoes examples

March 25, 2013 - 2:09am #3

Yes, whenever you make a change to the code or add new code in native (C++), make sure to run ndk-build from cygwin to verify that it still compiles.

Another thing is to make sure to add the Cpp files (if you add enw files) in the Android.mk file (next to the existing list of files  in  LOCAL_SRC_FILES := ..... )

videoPlayback and dominoes examples

March 27, 2013 - 3:53am #2

Hi, I cannot understand how to combine the dominoes sample with the videoplayback sample. How should i do?

videoPlayback and dominoes examples

March 27, 2013 - 4:05am #1

Hi, this is a too broad question; you need to first spend some time to read and understand each of the sample code and then figure out what functionality you want to bring from one sample to the other;

if you have some specific questions during the process, we are happy to help, but guiding you through the entire process would be impossible.

Log in or register to post comments