I have a bit of experience with Android development using Java. Now I want to try porting some C/C++ code that uses OpenCV to Android. First, I tried to build the OpenCV lib and samples for Android using Eclipse on a Win-7 64-bit machine.
I've installed Java 7 JDK, Cygwin, Eclipse, NDK and CDK (or at least I think I have). When I try building the project, I get these 2 errors:
The import org.opencv.R cannot be resolved
The import org.opencv.engine.OpenCVEngineInterface cannot be resolved
I noticed that there is a OpenCVEngineInterface.aidl
file that is supposed to get converted to .java
but I don't think it's happening
Also, when I try to do Android Tools -> Fix Project Properties
, nothing happens: no window is opened etc. Maybe my dev environment is not set up correctly?
What should I do to get these resolved and to build the project?
Also, I do not currently have an actual Android device to test the code on. Can I run the samples in the emulator?
Thank you!