By feileechu
on Thu, 03/21/2013 - 17:25
Hi, i would like to ask is it possible to combine the videoplayback and dominoes samples in one application?
Hi, i would like to ask is it possible to combine the videoplayback and dominoes samples in one application?
videoPlayback and dominoes examples
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).
videoPlayback and dominoes examples
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
Which "library" specifically are you referring to ?
videoPlayback and dominoes examples
The files i refer to are the files in the folder "bin" and "gen".
videoPlayback and dominoes examples
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
That means just migrate code from .java and .h files?
videoPlayback and dominoes examples
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
Thanks a lot. I will try it.
videoPlayback and dominoes examples
You're welcome.
videoPlayback and dominoes examples
Do i need to compile it with cygwin after i combine the code?
videoPlayback and dominoes examples
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.
videoPlayback and dominoes examples
Hi, I cannot understand how to combine the dominoes sample with the videoplayback sample. How should i do?
videoPlayback and dominoes examples
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;