Sample Application directory struture and manifest file updated
authorJiban Prakash <p.jiban@samsung.com>
Thu, 10 Jan 2013 11:01:16 +0000 (16:31 +0530)
committerJiban Prakash <p.jiban@samsung.com>
Thu, 10 Jan 2013 11:21:06 +0000 (16:51 +0530)
Change-Id: I822b3216841f3c45a4cc5c62bec4998dc5b0ccc6
Signed-off-by: Jiban Prakash <p.jiban@samsung.com>
CMakeLists.txt [deleted file]
project/CMakeLists.txt [deleted file]
project/manifest.xml
project/shared/data/nofile.dummy [new file with mode: 0644]
project/shared/res/screen-density-xhigh/mainmenu.png [moved from project/icons/screen-density-xhigh/mainmenu.png with 100% similarity]
project/shared/trusted/nofile.dummy [new file with mode: 0644]

diff --git a/CMakeLists.txt b/CMakeLists.txt
deleted file mode 100644 (file)
index 7903f1a..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
-
-ADD_SUBDIRECTORY(project)
diff --git a/project/CMakeLists.txt b/project/CMakeLists.txt
deleted file mode 100644 (file)
index d4bb265..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-# Target name and AppID
-## TODO : set application name and ID
-SET(this_target LiveboxViewer)
-SET(APPID EOE7JEjMWn)
-
-# include directory
-INCLUDE_DIRECTORIES(
-       /usr/include/osp
-       inc
-  )
-
-# Source files
-FILE(GLOB ${this_target}_SOURCE_FILES src/*.cpp)
-
-SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIE")
-
-# Create executable
-SET(CMAKE_EXECUTABLE_SUFFIX ".exe")
-ADD_EXECUTABLE (${this_target} ${${this_target}_SOURCE_FILES})
-
-# Set link libraries and link options
-## TODO : add more link libraries and options
-TARGET_LINK_LIBRARIES(${this_target} -L/usr/lib/osp osp-appfw osp-uifw osp-shell pthread)
-TARGET_LINK_LIBRARIES(${this_target} -Xlinker --allow-shlib-undefined -pthread -pie)
-
-INSTALL(TARGETS ${this_target} DESTINATION ../opt/apps/org.tizen.${APPID}/bin)
-
-# Copy resource
-INSTALL(FILES ${CMAKE_SOURCE_DIR}/project/manifest.xml DESTINATION ../opt/usr/apps/${APPID}/info)
-INSTALL(DIRECTORY ${CMAKE_SOURCE_DIR}/project/data DESTINATION ../opt/usr/apps/${APPID})
-INSTALL(DIRECTORY ${CMAKE_SOURCE_DIR}/project/res DESTINATION ../opt/usr/apps/${APPID})
-INSTALL(DIRECTORY ${CMAKE_SOURCE_DIR}/project/icons DESTINATION ../opt/usr/apps/${APPID})
index e6f4aef..e0acc2e 100644 (file)
@@ -1,30 +1,31 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<Manifest xmlns="http://schemas.tizen.org/2012/06/manifest">
+<Manifest xmlns="http://schemas.tizen.org/2012/12/manifest">
     <Id>$(manifestAppId)</Id>
     <Version>1.0.0</Version>
     <Type>C++App</Type>
-    <Vendors/>
-    <Descriptions/>
-    <Url/>
+    <Author/>
+    <Descriptions>
+        <Description Locale="eng-GB"/>
+    </Descriptions>
     <Requirements>
-        <Feature Name="tizen.platform.core.cpu.arch">armv7</Feature>
+        <Feature Name="http://tizen.org/feature/platform.core.cpu.arch">x86</Feature>
+        <Feature Name="http://tizen.org/feature/platform.core.fpu.arch">vfpv3</Feature>
     </Requirements>
     <Apps>
         <ApiVersion>2.1</ApiVersion>
-        <Secret/>
         <Privileges/>
-        <UiApp Default="True" ExecutableName="$(projectName)" MainmenuVisible="True">
+        <UiApp Main="True" MenuIconVisible="True" Name="$(projectName)">
             <UiScalability BaseScreenSize="Normal" CoordinateSystem="Logical" LogicalCoordinate="720"/>
             <UiTheme SystemTheme="White"/>
-            <Names>
-                <Name Locale="eng-GB">$(projectName)</Name>
-            </Names>
+            <DisplayNames>
+                <DisplayName Locale="eng-GB">$(projectName)</DisplayName>
+            </DisplayNames>
             <Icons>
                 <Icon Section="MainMenu" Type="Xhigh">mainmenu.png</Icon>
             </Icons>
-            <AppControls/>
             <LaunchConditions/>
             <Notifications/>
         </UiApp>
     </Apps>
 </Manifest>
+
diff --git a/project/shared/data/nofile.dummy b/project/shared/data/nofile.dummy
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/project/shared/trusted/nofile.dummy b/project/shared/trusted/nofile.dummy
new file mode 100644 (file)
index 0000000..e69de29