Fixed Issue: N_SE-50887
authorharsh.v <harsh.v@samsung.com>
Wed, 4 Sep 2013 06:45:07 +0000 (12:15 +0530)
committerharsh.v <harsh.v@samsung.com>
Wed, 4 Sep 2013 06:45:07 +0000 (12:15 +0530)
Change-Id: I278d1e2e14019cbf94a7b50fd1ddc59c702a4947
Signed-off-by: harsh.v <harsh.v@samsung.com>
project/res/screen-size-normal/IDF_FORM.xml
project/src/QrCodeRecognizerSample.cpp

index d62facc..a9fdca2 100644 (file)
@@ -3,8 +3,7 @@
        This XML file was automatically generated by UiBuilder - do not modify by hand.
 -->
 <!DOCTYPE Scene SYSTEM "UIForm.dtd">
-
-<Scene Bversion="2.0.0.201306151404" Dversion="20120315">
+<Scene Bversion="2.0.0.201308220944" Dversion="20120315">
     <LogicalCoordinate>720</LogicalCoordinate>
     <Form id="IDF_FORM">
         <property backgroundColor="" backgroundColorOpacity="100" notificationTrayOpenEnabled="false" orientation="Portrait" softKey0NormalIcon="" softKey0PressedIcon="" softKey0Text="" softKey1NormalIcon="" softKey1PressedIcon="" softKey1Text="" title="" titleAlign="ALIGN_CENTER" titleIcon="" translucentFooter="false" translucentHeader="false" translucentIndicator="false"/>
@@ -12,7 +11,7 @@
         <layout mode="Landscape" style="FORM_STYLE_NORMAL" type="NONE"/>
     </Form>
     <Label id="IDC_INFO_LABEL" parent="IDF_FORM">
-        <property accessibilityHint="" backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" leftMargin="16" text="Label1" textColor="Blue" textSize="33.0" textStyle="LABEL_TEXT_STYLE_NORMAL" topMargin="0" verticalAlign="ALIGN_TOP"/>
+        <property accessibilityHint="" backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" leftMargin="16" text="" textColor="Blue" textSize="33.0" textStyle="LABEL_TEXT_STYLE_NORMAL" topMargin="0" verticalAlign="ALIGN_TOP"/>
         <layout height="276.0" mode="Portrait" width="677.0" x="20.0" y="65.0"/>
         <layout height="43.0" mode="Landscape" width="1237.0" x="20.0" y="20.0"/>
     </Label>
index d11af92..4677dc5 100644 (file)
@@ -96,7 +96,6 @@ QrCodeRecognizer::OnAppInitialized(void)
     }
 
     __pTracker = new Tracker();
-    __pForm->SendUserEvent(TouchForm::REQUEST_ACTIVATE, null);
 
     if (!CameraTools::InitCamera(*__pTracker, Tracker::DESIRED_CAMERA_WIDTH, Tracker::DESIRED_CAMERA_HEIGHT))
     {
@@ -109,7 +108,9 @@ QrCodeRecognizer::OnAppInitialized(void)
                return false;
     }
 
-       __pTracker->Init(__pForm);
+    __pForm->SendUserEvent(TouchForm::REQUEST_ACTIVATE, null);
+
+       __pTracker->Init(__pForm);
 
     return true;
 }