I've done the following steps to load the 2.4.beta package including samples to Eclipse:
1. download and unpacked tar-ball2. create a new Eclipse work-space
3. import 'OpenCV-2.4' library project
- it shows build errors and suggested 'fix project properties'
- investigations found incorrect AndroidManifest.xml
4. unload the project, open OpenCV-2.4/AndroidManifest.xml in a text editor, remove the "<application>...</application>" section
5. open the same work-space, now OpenCV-2.4.beta is loaded without errors
6. all the samples don't have necessary files (project.properties) to be imported to Eclipse, so
- open a console session in the 'samples' folder and run the commands:
(make sure your Android SDK has 'android-11' aka '3.0' platform installed)
<pre>
android update project --name "Sample - 15-puzzle" --target android-11 --path ./15-puzzle
android update project --name "Sample - face-detection" --target android-11 --path ./face-detection
android update project --name "Sample - image-manipulations" --target android-11 --path ./image-manipulations
android update project --name "Tutorial 0 (Basic) - Android Camera" --target android-11 --path ./tutorial-0-androidcamera
android update project --name "Tutorial 1 (Basic) - Add OpenCV" --target android-11 --path ./tutorial-1-addopencv
android update project --name "Tutorial 2 (Basic) - Use OpenCV Camera" --target android-11 --path ./tutorial-2-opencvcamera
android update project --name "Tutorial 3 (Advanced) - Add Native OpenCV" --target android-11 --path ./tutorial-3-native
android update project --name "Tutorial 4 (Advanced) - Mix Java+Native OpenCV" --target android-11 --path ./tutorial-4-mixed
</pre>
now the samples are ready to be imported
7. import the 'samples' folder to Eclipse, they may produce warnings in output console and are marked as built with errors
8. right click on each sample project, Properties -> Android, add a library dependency to 'OpenCV-2.4'
the error mark desappears
9. make 'Project -> Clean -> Clean all' to make sure all is built correctly