From: Andrey Pavlenko Date: Fri, 1 Mar 2013 09:52:14 +0000 (+0400) Subject: minor Android tutorial fixes X-Git-Tag: accepted/2.0/20130307.220821~15^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=978132edc1cf1ae2590f9daef7a857f02e4160d2;p=profile%2Fivi%2Fopencv.git minor Android tutorial fixes --- diff --git a/doc/tutorials/introduction/android_binary_package/O4A_SDK.rst b/doc/tutorials/introduction/android_binary_package/O4A_SDK.rst index 3730a8f..e509ce8 100644 --- a/doc/tutorials/introduction/android_binary_package/O4A_SDK.rst +++ b/doc/tutorials/introduction/android_binary_package/O4A_SDK.rst @@ -159,7 +159,7 @@ Get the OpenCV4Android SDK unzip ~/Downloads/OpenCV-2.4.4-android-sdk.zip -.. |opencv_android_bin_pack| replace:: OpenCV-2.4.4-android-sdk.zip +.. |opencv_android_bin_pack| replace:: :file:`OpenCV-2.4.4-android-sdk.zip` .. _opencv_android_bin_pack_url: http://sourceforge.net/projects/opencvlibrary/files/opencv-android/2.4.4/OpenCV-2.4.4-android-sdk.zip/download .. |opencv_android_bin_pack_url| replace:: |opencv_android_bin_pack| .. |seven_zip| replace:: 7-Zip @@ -184,7 +184,7 @@ Import OpenCV library and samples to the Eclipse You can simply reference it in your projects. Each sample included into the |opencv_android_bin_pack| is a regular Android project that already - references OpenCV library.Follow the steps below to import OpenCV and samples into the workspace: + references OpenCV library. Follow the steps below to import OpenCV and samples into the workspace: .. note:: OpenCV samples are indeed **dependent** on OpenCV library project so don't forget to import it to your workspace as well. @@ -246,8 +246,8 @@ Running OpenCV Samples ---------------------- At this point you should be able to build and run the samples. Keep in mind, that -``face-detection``, ``Tutorial 3` and ``Tutorial 4`` include some native code and -require Android NDK and CDT plugin for Eclipse to build working applications. If you haven't +``face-detection`` and ``Tutorial 2 - Mixed Processing`` include some native code and +require Android NDK and NDK/CDT plugin for Eclipse to build working applications. If you haven't installed these tools, see the corresponding section of :ref:`Android_Dev_Intro`. .. warning:: Please consider that some samples use Android Java Camera API, which is accessible @@ -295,7 +295,7 @@ Well, running samples from Eclipse is very simple: .. code-block:: sh :linenos: - /platform-tools/adb install /apk/OpenCV_2.4.4_Manager_armv7a-neon.apk + /platform-tools/adb install /apk/OpenCV_2.4.4_Manager_2.6_armv7a-neon.apk .. note:: ``armeabi``, ``armv7a-neon``, ``arm7a-neon-android8``, ``mips`` and ``x86`` stand for platform targets: @@ -326,15 +326,17 @@ Well, running samples from Eclipse is very simple: When done, you will be able to run OpenCV samples on your device/emulator seamlessly. -* Here is ``Tutorial 2 - Use OpenCV Camera`` sample, running on top of stock camera-preview of the emulator. +* Here is ``Sample - image-manipulations`` sample, running on top of stock camera-preview of the emulator. .. image:: images/emulator_canny.png :height: 600px - :alt: Tutorial 1 Basic - 1. Add OpenCV - running Canny + :alt: 'Sample - image-manipulations' running Canny :align: center What's next =========== -Now, when you have your instance of OpenCV4Adroid SDK set up and configured, you may want to proceed to using OpenCV in your own application. You can learn how to do that in a separate :ref:`dev_with_OCV_on_Android` tutorial. \ No newline at end of file +Now, when you have your instance of OpenCV4Adroid SDK set up and configured, +you may want to proceed to using OpenCV in your own application. +You can learn how to do that in a separate :ref:`dev_with_OCV_on_Android` tutorial. diff --git a/doc/tutorials/introduction/android_binary_package/android_dev_intro.rst b/doc/tutorials/introduction/android_binary_package/android_dev_intro.rst index 021561e..9545bee 100644 --- a/doc/tutorials/introduction/android_binary_package/android_dev_intro.rst +++ b/doc/tutorials/introduction/android_binary_package/android_dev_intro.rst @@ -103,8 +103,8 @@ You need the following software to be installed in order to develop for Android Here is Google's `install guide `_ for the SDK. - .. note:: You can choose downloading ``ADT Bundle package`` that in addition to Android SDK Tools includes - Eclipse + ADT + CDT plugins, Android Platform-tools, the latest Android platform and the latest + .. note:: You can choose downloading **ADT Bundle package** that in addition to Android SDK Tools includes + Eclipse + ADT + NDK/CDT plugins, Android Platform-tools, the latest Android platform and the latest Android system image for the emulator - this is the best choice for those who is setting up Android development environment the first time! @@ -112,15 +112,15 @@ You need the following software to be installed in order to develop for Android for use on amd64 and ia64 systems to be installed. You can install them with the following command: - .. code-block:: bash + .. code-block:: bash - sudo apt-get install ia32-libs + sudo apt-get install ia32-libs - For Red Hat based systems the following command might be helpful: + For Red Hat based systems the following command might be helpful: - .. code-block:: bash + .. code-block:: bash - sudo yum install libXtst.i386 + sudo yum install libXtst.i386 #. **Android SDK components** @@ -148,7 +148,7 @@ You need the following software to be installed in order to develop for Android 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 later versions. They work well for + 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 `_. diff --git a/doc/tutorials/introduction/android_binary_package/images/eclipse_10_crystal_clean.png b/doc/tutorials/introduction/android_binary_package/images/eclipse_10_crystal_clean.png index 18e14d1..499247a 100644 Binary files a/doc/tutorials/introduction/android_binary_package/images/eclipse_10_crystal_clean.png and b/doc/tutorials/introduction/android_binary_package/images/eclipse_10_crystal_clean.png differ diff --git a/doc/tutorials/introduction/android_binary_package/images/eclipse_7_select_projects.png b/doc/tutorials/introduction/android_binary_package/images/eclipse_7_select_projects.png index 0c5a4bb..e152bc4 100644 Binary files a/doc/tutorials/introduction/android_binary_package/images/eclipse_7_select_projects.png and b/doc/tutorials/introduction/android_binary_package/images/eclipse_7_select_projects.png differ diff --git a/doc/tutorials/introduction/android_binary_package/images/eclipse_cdt_cfg4.png b/doc/tutorials/introduction/android_binary_package/images/eclipse_cdt_cfg4.png index 633e3d2..f8126b5 100644 Binary files a/doc/tutorials/introduction/android_binary_package/images/eclipse_cdt_cfg4.png and b/doc/tutorials/introduction/android_binary_package/images/eclipse_cdt_cfg4.png differ diff --git a/doc/tutorials/introduction/android_binary_package/images/emulator_canny.png b/doc/tutorials/introduction/android_binary_package/images/emulator_canny.png index 1bc0511..d08340b 100644 Binary files a/doc/tutorials/introduction/android_binary_package/images/emulator_canny.png and b/doc/tutorials/introduction/android_binary_package/images/emulator_canny.png differ