参考:http://docs.opencv.org/doc/tutorials/introduction/android_binary_package/O4A_SDK.html
http://docs.opencv.org/doc/tutorials/introduction/android_binary_package/android_dev_intro.html#android-dev-intro android-环境配置
中文翻译:http://blog.csdn.net/tu_tustudio/article/details/8463119 手把手教你配置android for opencv
这篇文章主要用来帮助大家学习Android开发的基本知识以及工作环境的快速搭建。 文章所写的内容主要是在win7的系统环境下进行的,
当然,在Linux(Ubuntu) ,或者 Mac OS x 和其他的 支持android SDK的系统都可以正常运行。如果碰到有其他问题到相关的讨论组:
opencv4android:(https://groups.google.com/group/android-opencv/)和opencv-(http://answers.opencv.org/)的论坛中查找解决问题的方法。
第一 前言
Android 是一个基于Linux ,开源的移动操作系统,由著名的搜索引擎公司google领导组织的开放式手机联盟(Open Handset Alliance )所开发的。
利用android进行移动开发,针对不同的平台有不同的开发环境,为了更好的理解android的开发工作,最好对下面的技术有所理解:
-
Java programming language that is the primary development technology for Android OS. Also, you can find Oracle
docs on Java useful. -
Java Native Interface (JNI) that is a technology of running native code in Java virtual machine. Also, you can find Oracle
docs on JNI useful. - Android Activity and its lifecycle, that is an essential Android API class.
- OpenCV development will certainly require some knowlege of the Android Camera specifics.
(4)Eclipse IDE
Check the Android SDK System Requirements document for a list of Eclipse versions that are compatible with the Android
SDK. For OpenCV 2.4.x we recommend Eclipse 3.7 (Indigo) or Eclipse 4.2 (Juno). They work well for OpenCV under both Windows and Linux.
If you have no Eclipse installed, you can get it from the official site.