From: yash Date: Fri, 14 Feb 2014 17:34:03 +0000 (+0530) Subject: fixed doc/tutorials/introduction/android_binary_package/dev_with_OCV_on_Android.rst X-Git-Tag: accepted/tizen/ivi/20140515.103456~1^2~83^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e2f5001b1147829af7c75d22e811cad0150caacb;p=profile%2Fivi%2Fopencv.git fixed doc/tutorials/introduction/android_binary_package/dev_with_OCV_on_Android.rst --- diff --git a/doc/tutorials/introduction/android_binary_package/dev_with_OCV_on_Android.rst b/doc/tutorials/introduction/android_binary_package/dev_with_OCV_on_Android.rst index 3d7268c..bc9ff7a 100644 --- a/doc/tutorials/introduction/android_binary_package/dev_with_OCV_on_Android.rst +++ b/doc/tutorials/introduction/android_binary_package/dev_with_OCV_on_Android.rst @@ -382,7 +382,7 @@ result. OpenCVLoader.initAsync(OpenCVLoader.OPENCV_VERSION_2_4_6, this, mLoaderCallback); } -#. Defines that your activity implements ``CvViewFrameListener2`` interface and fix activity related +#. Defines that your activity implements ``CvCameraViewListener2`` interface and fix activity related errors by defining missed methods. For this activity define ``onCreate``, ``onDestroy`` and ``onPause`` and implement them according code snippet bellow. Fix errors by adding requited imports. @@ -432,7 +432,7 @@ result. Lets discuss some most important steps. Every Android application with UI must implement Activity and View. By the first steps we create blank activity and default view layout. The simplest OpenCV-centric application must implement OpenCV initialization, create its own view to show -preview from camera and implements ``CvViewFrameListener2`` interface to get frames from camera and +preview from camera and implements ``CvCameraViewListener2`` interface to get frames from camera and process it. First of all we create our application view using xml layout. Our layout consists of the only