From 8eb40877ddafb104b3ae3b7405ee07eb42e9df65 Mon Sep 17 00:00:00 2001 From: Michal Pawluk Date: Mon, 30 Nov 2015 12:49:24 +0100 Subject: [PATCH] [SAMPLE APP][RESOURCE MANAGEMENT] All the 'explorer' references substituted with 'manager' Change-Id: I911fa5ec0c8ec02828d88d00e94cc1701cb06e16 Signed-off-by: Michal Pawluk --- ...png => resource_management_en_us_lang_view.png} | Bin ...png => resource_management_fr_fr_lang_view.png} | Bin ...g => resource_management_hdpi_initial_view.png} | Bin ...png => resource_management_ko_kr_lang_view.png} | Bin ...g => resource_management_ldpi_initial_view.png} | Bin ...g => resource_management_mdpi_initial_view.png} | Bin ...png => resource_management_pl_pl_lang_view.png} | Bin ... => resource_management_res_conf_dlg_sd_mn.png} | Bin ...urce_management_res_manager_settings_sd_mn.png} | Bin ...png => resource_management_ui_layout_sd_mn.png} | Bin ...n.png => resource_management_ui_view_sd_mn.png} | Bin ....png => resource_management_workflow_sd_mn.png} | Bin ... => resource_management_xhdpi_initial_view.png} | Bin ...ger_sd_mn.htm => resource_management_sd_mn.htm} | 30 ++++++++++----------- .../html/mobile_n/sd_mn.htm | 2 +- 15 files changed, 16 insertions(+), 16 deletions(-) rename org.tizen.sampledescriptions/html/images/{resource_manager_en_us_lang_view.png => resource_management_en_us_lang_view.png} (100%) rename org.tizen.sampledescriptions/html/images/{resource_manager_fr_fr_lang_view.png => resource_management_fr_fr_lang_view.png} (100%) rename org.tizen.sampledescriptions/html/images/{resource_manager_hdpi_initial_view.png => resource_management_hdpi_initial_view.png} (100%) rename org.tizen.sampledescriptions/html/images/{resource_manager_ko_kr_lang_view.png => resource_management_ko_kr_lang_view.png} (100%) rename org.tizen.sampledescriptions/html/images/{resource_manager_ldpi_initial_view.png => resource_management_ldpi_initial_view.png} (100%) rename org.tizen.sampledescriptions/html/images/{resource_manager_mdpi_initial_view.png => resource_management_mdpi_initial_view.png} (100%) rename org.tizen.sampledescriptions/html/images/{resource_manager_pl_pl_lang_view.png => resource_management_pl_pl_lang_view.png} (100%) rename org.tizen.sampledescriptions/html/images/{resource_manager_res_conf_dlg_sd_mn.png => resource_management_res_conf_dlg_sd_mn.png} (100%) rename org.tizen.sampledescriptions/html/images/{resource_manager_res_explorer_settings_sd_mn.png => resource_management_res_manager_settings_sd_mn.png} (100%) rename org.tizen.sampledescriptions/html/images/{resource_manager_ui_layout_sd_mn.png => resource_management_ui_layout_sd_mn.png} (100%) rename org.tizen.sampledescriptions/html/images/{resource_manager_ui_view_sd_mn.png => resource_management_ui_view_sd_mn.png} (100%) rename org.tizen.sampledescriptions/html/images/{resource_manager_workflow_sd_mn.png => resource_management_workflow_sd_mn.png} (100%) rename org.tizen.sampledescriptions/html/images/{resource_manager_xhdpi_initial_view.png => resource_management_xhdpi_initial_view.png} (100%) rename org.tizen.sampledescriptions/html/mobile_n/{resource_manager_sd_mn.htm => resource_management_sd_mn.htm} (95%) diff --git a/org.tizen.sampledescriptions/html/images/resource_manager_en_us_lang_view.png b/org.tizen.sampledescriptions/html/images/resource_management_en_us_lang_view.png similarity index 100% rename from org.tizen.sampledescriptions/html/images/resource_manager_en_us_lang_view.png rename to org.tizen.sampledescriptions/html/images/resource_management_en_us_lang_view.png diff --git a/org.tizen.sampledescriptions/html/images/resource_manager_fr_fr_lang_view.png b/org.tizen.sampledescriptions/html/images/resource_management_fr_fr_lang_view.png similarity index 100% rename from org.tizen.sampledescriptions/html/images/resource_manager_fr_fr_lang_view.png rename to org.tizen.sampledescriptions/html/images/resource_management_fr_fr_lang_view.png diff --git a/org.tizen.sampledescriptions/html/images/resource_manager_hdpi_initial_view.png b/org.tizen.sampledescriptions/html/images/resource_management_hdpi_initial_view.png similarity index 100% rename from org.tizen.sampledescriptions/html/images/resource_manager_hdpi_initial_view.png rename to org.tizen.sampledescriptions/html/images/resource_management_hdpi_initial_view.png diff --git a/org.tizen.sampledescriptions/html/images/resource_manager_ko_kr_lang_view.png b/org.tizen.sampledescriptions/html/images/resource_management_ko_kr_lang_view.png similarity index 100% rename from org.tizen.sampledescriptions/html/images/resource_manager_ko_kr_lang_view.png rename to org.tizen.sampledescriptions/html/images/resource_management_ko_kr_lang_view.png diff --git a/org.tizen.sampledescriptions/html/images/resource_manager_ldpi_initial_view.png b/org.tizen.sampledescriptions/html/images/resource_management_ldpi_initial_view.png similarity index 100% rename from org.tizen.sampledescriptions/html/images/resource_manager_ldpi_initial_view.png rename to org.tizen.sampledescriptions/html/images/resource_management_ldpi_initial_view.png diff --git a/org.tizen.sampledescriptions/html/images/resource_manager_mdpi_initial_view.png b/org.tizen.sampledescriptions/html/images/resource_management_mdpi_initial_view.png similarity index 100% rename from org.tizen.sampledescriptions/html/images/resource_manager_mdpi_initial_view.png rename to org.tizen.sampledescriptions/html/images/resource_management_mdpi_initial_view.png diff --git a/org.tizen.sampledescriptions/html/images/resource_manager_pl_pl_lang_view.png b/org.tizen.sampledescriptions/html/images/resource_management_pl_pl_lang_view.png similarity index 100% rename from org.tizen.sampledescriptions/html/images/resource_manager_pl_pl_lang_view.png rename to org.tizen.sampledescriptions/html/images/resource_management_pl_pl_lang_view.png diff --git a/org.tizen.sampledescriptions/html/images/resource_manager_res_conf_dlg_sd_mn.png b/org.tizen.sampledescriptions/html/images/resource_management_res_conf_dlg_sd_mn.png similarity index 100% rename from org.tizen.sampledescriptions/html/images/resource_manager_res_conf_dlg_sd_mn.png rename to org.tizen.sampledescriptions/html/images/resource_management_res_conf_dlg_sd_mn.png diff --git a/org.tizen.sampledescriptions/html/images/resource_manager_res_explorer_settings_sd_mn.png b/org.tizen.sampledescriptions/html/images/resource_management_res_manager_settings_sd_mn.png similarity index 100% rename from org.tizen.sampledescriptions/html/images/resource_manager_res_explorer_settings_sd_mn.png rename to org.tizen.sampledescriptions/html/images/resource_management_res_manager_settings_sd_mn.png diff --git a/org.tizen.sampledescriptions/html/images/resource_manager_ui_layout_sd_mn.png b/org.tizen.sampledescriptions/html/images/resource_management_ui_layout_sd_mn.png similarity index 100% rename from org.tizen.sampledescriptions/html/images/resource_manager_ui_layout_sd_mn.png rename to org.tizen.sampledescriptions/html/images/resource_management_ui_layout_sd_mn.png diff --git a/org.tizen.sampledescriptions/html/images/resource_manager_ui_view_sd_mn.png b/org.tizen.sampledescriptions/html/images/resource_management_ui_view_sd_mn.png similarity index 100% rename from org.tizen.sampledescriptions/html/images/resource_manager_ui_view_sd_mn.png rename to org.tizen.sampledescriptions/html/images/resource_management_ui_view_sd_mn.png diff --git a/org.tizen.sampledescriptions/html/images/resource_manager_workflow_sd_mn.png b/org.tizen.sampledescriptions/html/images/resource_management_workflow_sd_mn.png similarity index 100% rename from org.tizen.sampledescriptions/html/images/resource_manager_workflow_sd_mn.png rename to org.tizen.sampledescriptions/html/images/resource_management_workflow_sd_mn.png diff --git a/org.tizen.sampledescriptions/html/images/resource_manager_xhdpi_initial_view.png b/org.tizen.sampledescriptions/html/images/resource_management_xhdpi_initial_view.png similarity index 100% rename from org.tizen.sampledescriptions/html/images/resource_manager_xhdpi_initial_view.png rename to org.tizen.sampledescriptions/html/images/resource_management_xhdpi_initial_view.png diff --git a/org.tizen.sampledescriptions/html/mobile_n/resource_manager_sd_mn.htm b/org.tizen.sampledescriptions/html/mobile_n/resource_management_sd_mn.htm similarity index 95% rename from org.tizen.sampledescriptions/html/mobile_n/resource_manager_sd_mn.htm rename to org.tizen.sampledescriptions/html/mobile_n/resource_management_sd_mn.htm index a5c939d..4c0b49c 100644 --- a/org.tizen.sampledescriptions/html/mobile_n/resource_manager_sd_mn.htm +++ b/org.tizen.sampledescriptions/html/mobile_n/resource_management_sd_mn.htm @@ -10,7 +10,7 @@ - Resource Manager Sample Overview + Resource Management Sample Overview @@ -22,7 +22,7 @@

Mobile native

-

Resource Manager Sample Overview

+

Resource Management Sample Overview

The Resource Manager sample application demonstrates how you can extract objects from the application's previously created resources. The object extraction process is based on the environment the application is running in: language and the screen DPI. Currently supported objects that can be handled by the Resource Manager are images, sounds, layouts, and custom binary files. The operational principle of the Resource Manager application is to deliver an object relevant to the current application environment.

The sample application demonstrates how to automatically pick an image and layout matching:

@@ -33,15 +33,15 @@

The following figure illustrates the view of the application running in four different screen DPI settings as well as different language settings.

Figure: Resource Manager application screens

- Main view of the application running with the DPI=240 - Main view of the application running with the DPI=300 - Main view of the application running with the DPI=380 - Main view of the application running with the DPI=480

+ Main view of the application running with the DPI=240 + Main view of the application running with the DPI=300 + Main view of the application running with the DPI=380 + Main view of the application running with the DPI=480

- Main view of the application running with the DPI=240 - Main view of the application running with the DPI=300 - Main view of the application running with the DPI=380 - Main view of the application running with the DPI=480 + Main view of the application running with the DPI=240 + Main view of the application running with the DPI=300 + Main view of the application running with the DPI=380 + Main view of the application running with the DPI=480

The Resource Manager sample application provides a user interface for automatic change preview only. To influence the application, change the environment settings:

@@ -60,12 +60,12 @@

The following figure shows the structure of the user interface. EDJE layout scripts are used.

Figure: Resource Manager layout structure

- Resource Manager layout structure + Resource Manager layout structure

The final application view is created by embedding the proper components into the layout depicted above. The following figure shows the resulting UI view.

Figure: Resource Manager application UI view

- Resource Manager application's UI view + Resource Manager application's UI view

The application workflow can be divided into 3 logical pipelines:

@@ -77,17 +77,17 @@

The workflow is described by the following figure.

Figure: Resource Manager application workflow

- Application workflow + Application workflow

Prerequisites

To ensure proper application execution, the resources must be created using the Resource Manager tool. It enables you to create the resource structure assigned to an application.

Resource Manager

-

The Resource Manager tool is launched by opening the Resource Manager view from the IDE menu: Window > Show View > Other... > Resource Manager. Press Resource Manager settings button to open the Resource Configuration Dialog, where you can define separate resource directories for languages and resolution settings. The related directory names are created automatically and are not changeable. For this sample application, the resource structure is defined as shown in the following figure.

+

The Resource Manager tool is launched by opening the Resource Manager view from the IDE menu: Window > Show View > Other... > Resource Manager. Press Resource Manager settings button to open the Resource Configuration Dialog, where you can define separate resource directories for languages and resolution settings. The related directory names are created automatically and are not changeable. For this sample application, the resource structure is defined as shown in the following figure.

Figure: Resource Configuration Dialog view

- Resource Configuration Dialog view + Resource Configuration Dialog view

Once the resource directory structure is created, you can add relevant resource files in the target directories. In this sample application, 2 types of images and a layout script are uploaded:

diff --git a/org.tizen.sampledescriptions/html/mobile_n/sd_mn.htm b/org.tizen.sampledescriptions/html/mobile_n/sd_mn.htm index c0d105c..45ddfc7 100644 --- a/org.tizen.sampledescriptions/html/mobile_n/sd_mn.htm +++ b/org.tizen.sampledescriptions/html/mobile_n/sd_mn.htm @@ -235,7 +235,7 @@ Demonstrates how you can implement a complex view using recursive composition of the standard EFL components. - Resource Manager + Resource Management Demonstrates how you can use the Resource Manager API together with the SDK's Resource Manager to benefit from task automation. -- 2.7.4