<listOptionValue builtIn="false" value="-target i386-tizen-linux-gnueabi -gcc-toolchain /home/sangs/tizen-sdk/tools/smart-build-interface/../i386-linux-gnueabi-gcc-4.5/ -ccc-gcc-name i386-linux-gnueabi-g++ -march=i386 -Xlinker --as-needed"/>
<listOptionValue builtIn="false" value=""/>
<listOptionValue builtIn="false" value="-pie -lpthread "/>
- <listOptionValue builtIn="false" value="-Xlinker -rpath="/opt/apps/D7eOJquGtL/lib" -Xlinker -rpath="/home/developer/sdk_tools/lib""/>
+ <listOptionValue builtIn="false" value="-Xlinker -rpath="/opt/usr/apps/D7eOJquGtL/lib" -Xlinker -rpath="/home/developer/sdk_tools/lib""/>
<listOptionValue builtIn="false" value="--sysroot="${SBI_SYSROOT}""/>
<listOptionValue builtIn="false" value="-L"${SBI_SYSROOT}/usr/lib""/>
<listOptionValue builtIn="false" value="-L"${SBI_SYSROOT}/usr/lib/osp""/>
<listOptionValue builtIn="false" value="-target arm-tizen-linux-gnueabi -gcc-toolchain /home/sangs/tizen-sdk/tools/smart-build-interface/../arm-linux-gnueabi-gcc-4.5/ -ccc-gcc-name arm-linux-gnueabi-g++ -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -mtune=cortex-a8 -Xlinker --as-needed"/>
<listOptionValue builtIn="false" value=""/>
<listOptionValue builtIn="false" value="-pie -lpthread "/>
- <listOptionValue builtIn="false" value="-Xlinker -rpath="/opt/apps/D7eOJquGtL/lib" -Xlinker -rpath="/home/developer/sdk_tools/lib""/>
+ <listOptionValue builtIn="false" value="-Xlinker -rpath="/opt/usr/apps/D7eOJquGtL/lib" -Xlinker -rpath="/home/developer/sdk_tools/lib""/>
<listOptionValue builtIn="false" value="--sysroot="${SBI_SYSROOT}""/>
<listOptionValue builtIn="false" value="-L"${SBI_SYSROOT}/usr/lib""/>
<listOptionValue builtIn="false" value="-L"${SBI_SYSROOT}/usr/lib/osp""/>
<listOptionValue builtIn="false" value="-target i386-tizen-linux-gnueabi -gcc-toolchain /home/sangs/tizen-sdk/tools/smart-build-interface/../i386-linux-gnueabi-gcc-4.5/ -ccc-gcc-name i386-linux-gnueabi-g++ -march=i386 -Xlinker --as-needed"/>
<listOptionValue builtIn="false" value=""/>
<listOptionValue builtIn="false" value="-pie -lpthread "/>
- <listOptionValue builtIn="false" value="-Xlinker -rpath="/opt/apps/D7eOJquGtL/lib" -Xlinker -rpath="/home/developer/sdk_tools/lib""/>
+ <listOptionValue builtIn="false" value="-Xlinker -rpath="/opt/usr/apps/D7eOJquGtL/lib" -Xlinker -rpath="/home/developer/sdk_tools/lib""/>
<listOptionValue builtIn="false" value="--sysroot="${SBI_SYSROOT}""/>
<listOptionValue builtIn="false" value="-L"${SBI_SYSROOT}/usr/lib""/>
<listOptionValue builtIn="false" value="-L"${SBI_SYSROOT}/usr/lib/osp""/>
<listOptionValue builtIn="false" value="-target i386-tizen-linux-gnueabi -gcc-toolchain /home/sangs/tizen-sdk/tools/smart-build-interface/../i386-linux-gnueabi-gcc-4.5/ -ccc-gcc-name i386-linux-gnueabi-g++ -march=i386 -Xlinker --as-needed"/>
<listOptionValue builtIn="false" value=""/>
<listOptionValue builtIn="false" value="-pie -lpthread "/>
- <listOptionValue builtIn="false" value="-Xlinker -rpath="/opt/apps/D7eOJquGtL/lib" -Xlinker -rpath="/home/developer/sdk_tools/lib""/>
+ <listOptionValue builtIn="false" value="-Xlinker -rpath="/opt/usr/apps/D7eOJquGtL/lib" -Xlinker -rpath="/home/developer/sdk_tools/lib""/>
<listOptionValue builtIn="false" value="--sysroot="${SBI_SYSROOT}""/>
<listOptionValue builtIn="false" value="-L"${SBI_SYSROOT}/usr/lib""/>
<listOptionValue builtIn="false" value="-L"${SBI_SYSROOT}/usr/lib/osp""/>
<listOptionValue builtIn="false" value="-target arm-tizen-linux-gnueabi -gcc-toolchain /home/sangs/tizen-sdk/tools/smart-build-interface/../arm-linux-gnueabi-gcc-4.5/ -ccc-gcc-name arm-linux-gnueabi-g++ -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -mtune=cortex-a8 -Xlinker --as-needed"/>
<listOptionValue builtIn="false" value=""/>
<listOptionValue builtIn="false" value="-pie -lpthread "/>
- <listOptionValue builtIn="false" value="-Xlinker -rpath="/opt/apps/D7eOJquGtL/lib" -Xlinker -rpath="/home/developer/sdk_tools/lib""/>
+ <listOptionValue builtIn="false" value="-Xlinker -rpath="/opt/usr/apps/D7eOJquGtL/lib" -Xlinker -rpath="/home/developer/sdk_tools/lib""/>
<listOptionValue builtIn="false" value="--sysroot="${SBI_SYSROOT}""/>
<listOptionValue builtIn="false" value="-L"${SBI_SYSROOT}/usr/lib""/>
<listOptionValue builtIn="false" value="-L"${SBI_SYSROOT}/usr/lib/osp""/>
#include <FUi.h>
+extern const wchar_t* FORM_INSTALL;
+
class FormFactory
: public Tizen::Ui::Scenes::IFormFactory
{
#include <FBase.h>
#include <FUi.h>
+#include "IstInstallEventListener.h"
using namespace Tizen::Base::Runtime;
private:
int __timerCounter;
bool __isInstalling;
+ InstallEventListener* __appInstallObj;
Timer* __pTimer;
Tizen::Ui::Controls::Header* __pHeader;
Tizen::Base::String __packageName;
Tizen::App::AppManager* __pAppManager;
- Tizen::Base::Collection::ArrayList* __pAnimationFrameList;
- Tizen::Base::Collection::ArrayList* __pAnimationFrameList2;
- Tizen::Ui::Controls::Animation* __pAnimation;
- Tizen::Ui::Controls::Animation* __pAnimation2;
-
};
#endif
#include <FBase.h>
#include <FUi.h>
+extern const wchar_t* SCENE_INSTALL_FORM;
class MainFrame
: public Tizen::Ui::Controls::Frame
This XML file was automatically generated by UiBuilder - do not modify by hand.
-->
<!DOCTYPE Scene SYSTEM "UIForm.dtd">
-<Scene Bversion="2.0.0.201302151107" Dversion="20120315">
+<Scene Bversion="2.0.0.201304041646" Dversion="20120315">
<LogicalCoordinate>720</LogicalCoordinate>
<Form id="IDL_DETAIL_FORM">
- <property backgroundColor="" backgroundColorOpacity="100" orientation="Portrait" softKey0NormalIcon="" softKey0PressedIcon="" softKey0Text="" softKey1NormalIcon="" softKey1PressedIcon="" softKey1Text="" title="" titleAlign="ALIGN_CENTER" titleIcon="" translucentFooter="false" translucentHeader="false" translucentIndicator="false"/>
+ <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"/>
<layout mode="Portrait" style="FORM_STYLE_INDICATOR|FORM_STYLE_HEADER|FORM_STYLE_FOOTER" type="NONE"/>
<layout mode="Landscape" style="FORM_STYLE_INDICATOR|FORM_STYLE_HEADER|FORM_STYLE_FOOTER" type="NONE"/>
</Form>
<Footer>
- <property backgroundBitmapPath="" color="" colorOpacity="100" disabledButtonColor="" disabledButtonColorOpacity="100" disabledButtonTextColor="" disabledItemColor="" disabledItemColorOpacity="100" disabledItemTextColor="" footerStyle="FOOTER_STYLE_BUTTON_ICON_TEXT" highlightedButtonColor="" highlightedButtonColorOpacity="100" highlightedButtonTextColor="" highlightedItemColor="" highlightedItemColorOpacity="100" highlightedItemTextColor="" normalButtonColor="" normalButtonColorOpacity="100" normalButtonTextColor="" normalItemColor="" normalItemColorOpacity="100" normalItemTextColor="" pressedButtonColor="" pressedButtonColorOpacity="100" pressedButtonTextColor="" pressedItemColor="" pressedItemColorOpacity="100" pressedItemTextColor="" selectedItemColor="" selectedItemColorOpacity="100" selectedItemTextColor="" showBackButton="true"/>
- <itemSet>
- <footerItem actionId="101" disabledIconPath="" highlightedIconPath="" normalIconPath="" pressedIconPath="" selectedIconPath="" text="Install"/>
- </itemSet>
+ <property backgroundBitmapPath="" color="" colorOpacity="100" disabledButtonColor="" disabledButtonColorOpacity="100" disabledButtonTextColor="" disabledItemColor="" disabledItemColorOpacity="100" disabledItemTextColor="" footerStyle="FOOTER_STYLE_BUTTON_ICON_TEXT" highlightedButtonColor="" highlightedButtonColorOpacity="100" highlightedButtonTextColor="" highlightedItemColor="" highlightedItemColorOpacity="100" highlightedItemTextColor="" normalButtonColor="" normalButtonColorOpacity="100" normalButtonTextColor="" normalItemColor="" normalItemColorOpacity="100" normalItemTextColor="" pressedButtonColor="" pressedButtonColorOpacity="100" pressedButtonTextColor="" pressedItemColor="" pressedItemColorOpacity="100" pressedItemTextColor="" selectedItemColor="" selectedItemColorOpacity="100" selectedItemTextColor="" showBackButton="true"/>
</Footer>
<Header>
- <property backgroundBitmapPath="" color="" colorOpacity="100" descriptionText="" descriptionTextColor="" disabledButtonColor="" disabledButtonColorOpacity="100" disabledButtonTextColor="" disabledItemColor="" disabledItemColorOpacity="100" disabledItemTextColor="" headerStyle="HEADER_STYLE_TITLE" highlightedButtonColor="" highlightedButtonColorOpacity="100" highlightedButtonTextColor="" highlightedItemColor="" highlightedItemColorOpacity="100" highlightedItemTextColor="" normalButtonColor="" normalButtonColorOpacity="100" normalButtonTextColor="" normalItemColor="" normalItemColorOpacity="100" normalItemTextColor="" pressedButtonColor="" pressedButtonColorOpacity="100" pressedButtonTextColor="" pressedItemColor="" pressedItemColorOpacity="100" pressedItemTextColor="" selectedItemColor="" selectedItemColorOpacity="100" selectedItemTextColor="" titleIconPath="" titleText="APP NAME" titleTextColor=""/>
+ <property accessibilityHint="" backgroundBitmapPath="" color="" colorOpacity="100" descriptionText="" descriptionTextColor="" disabledButtonColor="" disabledButtonColorOpacity="100" disabledButtonTextColor="" disabledItemColor="" disabledItemColorOpacity="100" disabledItemTextColor="" headerStyle="HEADER_STYLE_TITLE" highlightedButtonColor="" highlightedButtonColorOpacity="100" highlightedButtonTextColor="" highlightedItemColor="" highlightedItemColorOpacity="100" highlightedItemTextColor="" normalButtonColor="" normalButtonColorOpacity="100" normalButtonTextColor="" normalItemColor="" normalItemColorOpacity="100" normalItemTextColor="" pressedButtonColor="" pressedButtonColorOpacity="100" pressedButtonTextColor="" pressedItemColor="" pressedItemColorOpacity="100" pressedItemTextColor="" selectedItemColor="" selectedItemColorOpacity="100" selectedItemTextColor="" titleIconPath="" titleText="APP NAME" titleTextColor=""/>
<itemSet/>
</Header>
<TextBox id="IDC_INFO_TEXTBOX" parent="IDL_DETAIL_FORM">
- <property disabledBackgroundBitmapPath="" disabledColor="" disabledColorOpacity="100" disabledTextColor="" highlightedBackgroundBitmapPath="" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" lineSpacingExtra="1" lineSpacingMultiplier="1" normalBackgroundBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="" text="" textAlignment="" textSize="33" textboxBorder="TEXT_BOX_BORDER_ROUNDED"/>
- <layout height="221" mode="Portrait" width="629" x="47" y="22"/>
- <layout height="166" mode="Landscape" width="1118" x="76" y="20"/>
+ <property accessibilityHint="" disabledBackgroundBitmapPath="" disabledColor="" disabledColorOpacity="100" disabledTextColor="" highlightedBackgroundBitmapPath="" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" lineSpacingExtra="1.0" lineSpacingMultiplier="1.0" normalBackgroundBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="" text="" textAlignment="" textSize="33.0" textboxBorder="TEXT_BOX_BORDER_ROUNDED"/>
+ <layout height="221.0" mode="Portrait" width="629.0" x="47.0" y="22.0"/>
+ <layout height="166.0" mode="Landscape" width="1118.0" x="76.0" y="20.0"/>
</TextBox>
<ListView id="IDC_INFO_LIST" parent="IDL_DETAIL_FORM">
- <property backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" bitmapPathOfEmptyList="" colorOfEmptyListText="" fastScroll="false" itemDivider="true" itemDividerColor="" sweepEnabled="false" textOfEmptyList=""/>
- <layout height="737" mode="Portrait" width="625" x="49" y="265"/>
- <layout height="414" mode="Landscape" width="1111" x="87" y="70"/>
+ <property backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" bitmapPathOfEmptyList="" colorOfEmptyListText="" fastScroll="false" itemDivider="true" itemDividerColor="" scrollInputMode="SCROLL_INPUT_MODE_ALLOW_ANY_DIRECTION" sweepEnabled="false" textOfEmptyList=""/>
+ <layout height="737.0" mode="Portrait" width="625.0" x="49.0" y="265.0"/>
+ <layout height="414.0" mode="Landscape" width="1111.0" x="87.0" y="70.0"/>
</ListView>
</Scene>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+-->
+<!DOCTYPE ScenePopup SYSTEM "UIForm.dtd">
+<ScenePopup Bversion="2.0.0.201304041646" Dversion="20120315">
+ <Popup id="IDL_MESSAGE_POPUP">
+ <property accessibilityHint="" color="" titleText="Title" titleTextColor=""/>
+ <layout height="393.0" mode="Portrait" style="" type="LAYOUT_RELATIVE" width="657.0"/>
+ <layout height="680.0" mode="Landscape" style="" type="LAYOUT_RELATIVE" width="390.0"/>
+ </Popup>
+ <Label id="IDC_MESSAGE_LABEL" parent="IDL_MESSAGE_POPUP">
+ <property accessibilityHint="" backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" leftMargin="16" text="Label1" textColor="" textSize="33.0" textStyle="LABEL_TEXT_STYLE_NORMAL" topMargin="0" verticalAlign="ALIGN_TOP"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="75.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_MESSAGE_POPUP" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="20.0" marginRight="20.0" marginTop="20.0" mode="Portrait" rightRelation="IDL_MESSAGE_POPUP" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="IDL_MESSAGE_POPUP" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_FIXED" width="617.0" x="20.0" y="20.0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="438.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="390.0" x="0.0" y="81.0"/>
+ </Label>
+ <Button id="IDC_EXIT_BUTTON" parent="IDL_MESSAGE_POPUP">
+ <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="Exit" textSize="32.0" verticalAlign="ALIGN_MIDDLE"/>
+ <layout bottomRelation="IDL_MESSAGE_POPUP" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="74.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="20.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="298.0" x="179.0" y="221.0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="125.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="221.0" x="169.0" y="433.0"/>
+ </Button>
+</ScenePopup>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+-->
+<!DOCTYPE ScenePopup SYSTEM "UIForm.dtd">
+<ScenePopup Bversion="2.0.0.201304041646" Dversion="20120315">
+ <Popup id="IDL_SECURITY_POPUP">
+ <property accessibilityHint="" color="" titleText="" titleTextColor=""/>
+ <layout height="486.0" mode="Portrait" style="" type="LAYOUT_RELATIVE" width="657.0"/>
+ <layout height="680.0" mode="Landscape" style="" type="LAYOUT_RELATIVE" width="430.0"/>
+ </Popup>
+ <Label id="IDC_LABEL1" parent="IDL_SECURITY_POPUP">
+ <property accessibilityHint="" backgroundBitmapPath="mainmenu.png" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" leftMargin="16" text="" textColor="" textSize="33.0" textStyle="LABEL_TEXT_STYLE_NORMAL" topMargin="0" verticalAlign="ALIGN_TOP"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="72.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="20.0" marginRight="0.0" marginTop="20.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_FIXED" width="72.0" x="20.0" y="20.0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="119.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="33.0" x="13.0" y="65.0"/>
+ </Label>
+ <Progress id="IDC_PROGRESS1" parent="IDL_SECURITY_POPUP">
+ <property accessibilityHint="" backgroundColor="" barBGColor="" barColor="" leftText="" max="5" min="0" rightText="" showValueState="true" value="0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="72.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDC_LABEL1" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_RIGHT" marginBottom="0.0" marginLeft="16.0" marginRight="16.0" marginTop="0.0" mode="Portrait" rightRelation="IDL_SECURITY_POPUP" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" style="" topRelation="IDC_LABEL1" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_FIXED" width="533.0" x="108.0" y="20.0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="131.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" style="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="276.0" x="71.0" y="63.0"/>
+ </Progress>
+ <Button id="IDC_BUTTON1" parent="IDL_SECURITY_POPUP">
+ <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="OK" textSize="32.0" verticalAlign="ALIGN_MIDDLE"/>
+ <layout bottomRelation="" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="74.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="20.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="298.0" x="0.0" y="392.0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="129.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="207.0" x="153.0" y="430.0"/>
+ </Button>
+ <Label id="IDC_LABEL2" parent="IDL_SECURITY_POPUP">
+ <property accessibilityHint="" backgroundBitmapPath="" backgroundColor="#BFBFBF" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" leftMargin="16" text="" textColor="" textSize="33.0" textStyle="LABEL_TEXT_STYLE_NORMAL" topMargin="0" verticalAlign="ALIGN_TOP"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="77.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="556.0" x="3.0" y="309.0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="111.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="372.0" x="15.0" y="445.0"/>
+ </Label>
+ <TextBox id="IDC_TEXTBOX1" parent="IDL_SECURITY_POPUP">
+ <property accessibilityHint="" disabledBackgroundBitmapPath="" disabledColor="" disabledColorOpacity="100" disabledTextColor="" highlightedBackgroundBitmapPath="" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" lineSpacingExtra="1.0" lineSpacingMultiplier="1.0" normalBackgroundBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="" text="" textAlignment="" textSize="45.0" textboxBorder="TEXT_BOX_BORDER_ROUNDED"/>
+ <layout bottomRelation="IDC_BUTTON1" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_TOP" centerHorizontal="true" centerVertical="false" height="260.0" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="20.0" marginLeft="20.0" marginRight="20.0" marginTop="20.0" mode="Portrait" rightRelation="" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="IDC_PROGRESS1" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" verticalFitPolicy="FIT_POLICY_FIXED" width="657.0" x="0" y="112.0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="241.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="372.0" x="13.0" y="148.0"/>
+ </TextBox>
+ <Button id="IDC_BUTTON2" parent="IDL_SECURITY_POPUP">
+ <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="Keep" textSize="32.0" verticalAlign="ALIGN_MIDDLE"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="74.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="10.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="298.0" x="309.0" y="392.0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="90.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="171.0" x="219.0" y="509.0"/>
+ </Button>
+</ScenePopup>
<Scene Form="IDL_DETAIL_FORM" Id="FORM_DETAIL"/>
<Scene Form="IDL_APP_INSTALL_FORM" Id="FORM_APP_INSTALL"/>
<SceneTransition AnimationType="none" DestroyOption="keep" DirectionType="forward" HistoryOption="add" Id="ID_SCNT_MAINSCENE" Method="" SourceId="" SourceResourceType="" TargetId="FORM_DETAIL"/>
- <SceneTransition AnimationType="left" DestroyOption="keep" DirectionType="forward" HistoryOption="add" Id="ID_SCNT_1" Method="OnActionPerformed" SourceId="FORM_DETAIL" SourceResourceType="IDL_DETAIL_FORM" TargetId="FORM_APP_INSTALL"/>
+
+ <!--UI Builder(Workflow Designer) only-->
+ <WorkflowDesigner>
+ <Position Name="FORM_DETAIL" X="129" Y="155"/>
+ <Position Name="FORM_APP_INSTALL" X="557" Y="58"/>
+ </WorkflowDesigner>
</Workflow>
#include "IstInstallEventListener.h"
#include "IstInstallerApp.h"
#include "IstTypes.h"
+#include "IstMainFrame.h"
using namespace Tizen::Base;
using namespace Tizen::App;
static const wchar_t ELM_CHECK_IMAGE[] = L"00_check_checking_dim.png";
// Color
-static const Color UI_COLOR_WHITE = Color(248, 246, 239, 100);
-static const Color UI_COLOR_WHITE2 = Color(0, 0, 0, 0);
+static const unsigned int UI_COLOR_WHITE = Color32<248, 246, 239>::Value;
+static const unsigned int UI_COLOR_WHITE2 = Color32<255, 255, 255>::Value;
// Font
static const int FONT_SIZE_MAIN_TEXT = 33;
static const int FONT_SIZE_SUB_TEXT = 30;
__pList->SetItemProvider(this);
__pList->AddGroupedTableViewItemEventListener(*this);
- AddControl(*__pList);
+ AddControl(__pList);
+// __pList->UpdateTableView();
}
void
filePath = static_cast<InstallerApp*>(UiApp::GetInstance())->GetPackagePath();
// 2. parsing tpk file with file-path
__pTargetPackageInfo = pMgr->GetPackageInfoFromFileN(filePath);
- TryReturn(__pTargetPackageInfo, E_FAILURE, "Package Path is not delivered");
+ TryReturn(__pTargetPackageInfo != null, GetLastResult(), "[%s] Package Path is not delivered", GetErrorMessage(GetLastResult()))
__pHeader->SetTitleText(__pTargetPackageInfo->GetDisplayName());
packageId = __pTargetPackageInfo->GetId().GetPointer();
popUpLabel->SetTextHorizontalAlignment(ALIGNMENT_LEFT);
popUpLabel->SetTextVerticalAlignment(ALIGNMENT_TOP);
- TextBox* pTextBox = new TextBox();
+ TextBox* pTextBox = new (std::nothrow) TextBox();
pTextBox->Construct(Rectangle(X_POPUP_LABLE, Y_POPUP_LABLE, __pPopup->GetBounds().width - GAP_BETWEEN_POPUP_LABEL*2, UI_H_POPUP - H_POPUP_TITLE), TEXT_BOX_BORDER_NONE);
pTextBox->SetText(L"Application is already installed\n\nInstallation will be closed.");
pTextBox->SetTextSize(33);
String packagePath = pUiApp->GetPackagePath();
if (packagePath.IsEmpty() || pUiApp->IsValidAccess() == false){
pTextBox->SetText(L"Wrong Execution.");
- __pPopup->AddControl(*pTextBox);
+ __pPopup->AddControl(pTextBox);
pButtonClose->SetPosition(X_CANCEL_BTN_ALONE, pButtonClose->GetY());
}
else if (__isInstalled && !__isUpdatable){
- __pPopup->AddControl(*pTextBox);
+ __pPopup->AddControl(pTextBox);
pButtonClose->SetPosition(X_CANCEL_BTN_ALONE, pButtonClose->GetY());
}
else{
- __pPopup->AddControl(*popUpLabel);
- __pPopup->AddControl(*pButtonInstall);
+ __pPopup->AddControl(popUpLabel);
+ __pPopup->AddControl(pButtonInstall);
}
- __pPopup->AddControl(*pButtonClose);
+ __pPopup->AddControl(pButtonClose);
}
result
__pHeader->SetTitleIcon(__pHeaderImage);
// Footer Item Set
+ FooterItem footerItem1;
+ footerItem1.Construct(IDA_INSTALL_BTN);
+ footerItem1.SetText(L"Install");
+
Footer* pFooter = GetFooter();
SetFormBackEventListener(this);
pFooter->AddActionEventListener(*this);
+ pFooter->AddItem(footerItem1);
// initialize variable
__itemCount = 0;
IList* pArgs = null;
pArgs = new (std::nothrow) ArrayList();
pArgs->Add(*(new (std::nothrow) String(__pTargetPackageInfo->GetDisplayName())));
-
- pSceneManager->GoForward(SceneTransitionId(L"ID_SCNT_1"), pArgs);
+ pSceneManager->GoForward(ForwardSceneTransition(SCENE_INSTALL_FORM, SCENE_TRANSITION_ANIMATION_TYPE_LEFT), pArgs);
}
break;
case ID_BUTTON_CLOSE_POPUP:
pMainTextLable->Construct(Rectangle(X_MAIN_TEXT_LABEL, Y_MAIN_TEXT_LABEL, pItem->GetWidth() - X_MAIN_TEXT_LABEL, H_MAIN_TEXT_LABEL), name);
Label* pImageLable = null;
- Label* pSubTextLabel = null;
- TextBox* pSubTextBox = new TextBox();
+ TextBox* pSubTextBox = new (std::nothrow) TextBox();
pImageLable = new (std::nothrow) Label();
- pSubTextLabel = new (std::nothrow) Label();
- pSubTextBox = new TextBox();
pMainTextLable->SetTextConfig(FONT_SIZE_MAIN_TEXT, LABEL_TEXT_STYLE_BOLD);
pMainTextLable->SetTextHorizontalAlignment(ALIGNMENT_LEFT);
pSubTextBox->SetColor(TEXT_BOX_STATUS_DISABLED, UI_COLOR_WHITE2);
ResizeSubText(pSubTextBox->GetLineCount(), pItem, pSubTextBox);
- pItem->AddControl(*pMainTextLable);
- pItem->AddControl(*pImageLable);
- pItem->AddControl(*pSubTextBox);
+ pItem->AddControl(pMainTextLable);
+ pItem->AddControl(pImageLable);
+ pItem->AddControl(pSubTextBox);
return pItem;
}
using namespace Tizen::Ui::Scenes;
+const wchar_t* FORM_INSTALL = L"IDL_APP_INSTALL_FORM";
FormFactory::FormFactory(void)
{
if (formId == L"IDL_DETAIL_FORM")
{
- DetailForm* pForm = new DetailForm();
+ DetailForm* pForm = new (std::nothrow) DetailForm();
pForm->Initialize();
pNewForm = pForm;
}
else if (formId == L"IDL_APP_INSTALL_FORM")
{
- InstallForm* pForm = new InstallForm();
+ InstallForm* pForm = new (std::nothrow) InstallForm();
pForm->Initialize();
pSceneManager->AddSceneEventListener(sceneId, *pForm);
pNewForm = pForm;
}
break;
}
+// delete pArgs;
}
void
pArgs = new (std::nothrow) ArrayList();
pArgs->Add(*(new (std::nothrow) String(data)));
UiApp::GetInstance()->GetFrame(APP_NAME)->GetCurrentForm()->SendUserEvent(INSTALL_PROGRESS_VALUE, pArgs);
+
+// delete pArgs;
}
, __pProgressImage(null)
, __pProgressEfImage(null)
, __pAppManager(null)
- , __pAnimationFrameList(null)
- , __pAnimationFrameList2(null)
- , __pAnimation(null)
- , __pAnimation2(null)
, __timerCounter(0)
, __isInstalling(false)
{
InstallForm::InstallApplication()
{
PackageManager* packManager = PackageManager::GetInstance();
- InstallEventListener* appInstallObj = new InstallEventListener();
- String packageId = L"sangs_temp_id";
String packagePath = static_cast<InstallerApp*>(UiApp::GetInstance())->GetPackagePath();
+ PackageInfo* pTargetPackageInfo;
+ pTargetPackageInfo = packManager->GetPackageInfoFromFileN(packagePath);
+ String packageId = pTargetPackageInfo->GetId();
+
result res;
if (packagePath.IsEmpty()){
return;
}
- res = packManager->InstallPackage(packageId, packagePath, appInstallObj);
+ res = packManager->InstallPackage(packageId, packagePath, __appInstallObj);
if (res != E_SUCCESS)
{
TryLog(res != E_INVALID_ARG, "E_INVALID_ARG");
popUpLabel->SetTextHorizontalAlignment(ALIGNMENT_LEFT);
popUpLabel->SetTextVerticalAlignment(ALIGNMENT_TOP);
- __pPopupTextBox = new TextBox();
+ __pPopupTextBox = new (std::nothrow) TextBox();
__pPopupTextBox->Construct(Rectangle(X_POPUP_LABLE, Y_POPUP_LABLE, __pPopup->GetBounds().width - GAP_BETWEEN_POPUP_LABEL*2, UI_H_POPUP - H_POPUP_TITLE), TEXT_BOX_BORDER_NONE);
__pPopupTextBox->SetTextSize(33);
pButtonClose->SetActionId(ID_BUTTON_CLOSE_POPUP);
pButtonClose->AddActionEventListener(*this);
- __pPopup->AddControl(*__pPopupTextBox);
+ __pPopup->AddControl(__pPopupTextBox);
pButtonClose->SetPosition(X_CANCEL_BTN_ALONE, pButtonClose->GetY());
- __pPopup->AddControl(*pButtonClose);
+ __pPopup->AddControl(pButtonClose);
}
result
AppResource* pAppResource = Application::GetInstance()->GetAppResource();
__pAppManager = AppManager::GetInstance();
+ __appInstallObj = new (std::nothrow) InstallEventListener();
SetFormBackEventListener(this);
__progressImageLabel = new (std::nothrow) Label();
__progressImageLabel->Construct(Rectangle(70, 550, 580, 20), L"");
- AddControl(*__progressImageLabel);
+ AddControl(__progressImageLabel);
__pProgress = static_cast<Progress*>(GetControl(L"IDF_PROGRESS", true));
__pProgressLabel = static_cast<Label*>(GetControl(L"IDC_PROGRESS_LABEL", true));
{
result r = E_SUCCESS;
- if (__pTimer){
- delete __pTimer;
- }
+ delete __pTimer;
return r;
}
AddFooterItem();
__pProgressLabel->SetText(POPUP_MSESSAGE_SUCCESS);
+// delete pLocalPackageInfo;
+// __appInstallObj->~InstallEventListener();
}
else if (requestId == INSTALL_PROGRESS_VALUE)
{
InstallerApp::CreateInstance(void)
{
// Create the instance through the constructor.
- return new InstallerApp();
+ return new (std::nothrow) InstallerApp();
}
String
InstallerApp::OnAppInitialized(void)
{
// Create a Frame
- MainFrame* pMainFrame = new MainFrame();
+ MainFrame* pMainFrame = new (std::nothrow) MainFrame();
pMainFrame->Construct();
pMainFrame->SetName(APP_NAME);
AddFrame(*pMainFrame);
using namespace Tizen::Ui::Controls;
using namespace Tizen::Ui::Scenes;
+const wchar_t* SCENE_INSTALL_FORM = L"Scene_InstallForm";
+
MainFrame::MainFrame(void)
{
}
pSceneManager->RegisterPanelFactory(panelFactory);
pSceneManager->RegisterScene(L"workflow");
+ pSceneManager->RegisterScene(SCENE_INSTALL_FORM, FORM_INSTALL, L"");
+
// Goto the scene.
result r = pSceneManager->GoForward(SceneTransitionId(L"ID_SCNT_MAINSCENE"));