<script type="text/javascript" src="../scripts/common.js" charset="utf-8"></script>
<script type="text/javascript" src="../scripts/core.js" charset="utf-8"></script>
<script type="text/javascript" src="../scripts/search.js" charset="utf-8"></script>
- <title>Resource Explorer</title>
+ <title>Resource Manager</title>
</head>
<body onload="prettyPrint()" style="overflow: auto;">
<div id="container"><div id="contents"><div class="content">
- <h1>Resource Explorer</h1>
+ <h1>Resource Manager</h1>
<p>Tizen native applications can run on different types of devices, such as wearable, phone, tablets, and TVs. Tizen also supports various resolutions (WVGA ~ XQXGA) and resources. Regardless of these advantages, remember that you must always polish your work to create an optimal application for each device.</p>
</res>
</pre>
-<p>The <span style="font-family: Courier New,Courier,monospace">res.xml</span> file is automatically generated as part of the build packaging process by the IDE. Since editing the <span style="font-family: Courier New,Courier,monospace">res.xml</span> file manually is not easy, the IDE helps to minimize this difficulty by supporting the <strong>Resource Explorer</strong> view.</p>
+<p>The <span style="font-family: Courier New,Courier,monospace">res.xml</span> file is automatically generated as part of the build packaging process by the IDE. Since editing the <span style="font-family: Courier New,Courier,monospace">res.xml</span> file manually is not easy, the IDE helps to minimize this difficulty by supporting the <strong>Resource Manager</strong> view.</p>
<table class="note">
<tbody>
</tbody>
</table>
-<h3>Resource Explorer View</h3>
-<p>The <strong>Resource Explorer</strong> view helps you to place resources to support specific device configurations, such as different screen densities.</p>
+<h3>Resource Manager View</h3>
+<p>The <strong>Resource Manager</strong> view helps you to place resources to support specific device configurations, such as different screen densities.</p>
-<p>In the <strong>Resource Explorer</strong> view, you can:</p>
+<p>In the <strong>Resource Manager</strong> view, you can:</p>
<ul><li>Show all resource configurations that the project provides (see the <a href="#tablist">Tab and folding lists</a> figure).</li>
<li>Create multiple configuration-qualifier directories and remove them.</li>
<th class="note">Note</th>
</tr>
<tr>
- <td class="note">If the <strong>Resource Explorer</strong> view is not visible, open it by selecting <strong>Window > Show View > Other > Resource Explorer</strong> from the IDE menu.</td>
+ <td class="note">If the <strong>Resource Manager</strong> view is not visible, open it by selecting <strong>Window > Show View > Other > Tizen > Resource Manager</strong> from the IDE menu.</td>
</tr>
</tbody>
</table>
<p>To place the <span style="font-family: Courier New,Courier,monospace">rsc1.edc</span> file and the images referenced by the file for LDPI and MDPI (as shown in the resource directory hierarchy figure below), use the following steps:</p>
-<ol><li>Open the <strong>Resource Configuration</strong> dialog by clicking <img alt="Resource Configuration" src="../images/fallback_icon.png" /> from the toolbar menu in the <strong>Resource Explorer</strong> view.
+<ol><li>Open the <strong>Resource Configuration</strong> dialog by clicking <img alt="Resource Configuration" src="../images/fallback_icon.png" /> from the toolbar menu in the <strong>Resource Manager</strong> view.
<p align="center"><img alt="Resource directory hierarchy" src="../images/fallback_directory.png" /></p>
</li>
<li>Add a configuration by selecting <strong>LDPI</strong> and <strong>MDPI</strong> in the <strong>DPI</strong> combo box.</li>
-<li>Drag the <span style="font-family: Courier New,Courier,monospace">edje</span> folder and drop it into the proper tab list view area in the <strong>Resource Explorer</strong> view.
+<li>Drag the <span style="font-family: Courier New,Courier,monospace">edje</span> folder and drop it into the proper tab list view area in the <strong>Resource Manager</strong> view.
-<p>The following figure shows the Tab list view (on the left) and the Folding list view (on the right) of the <strong>Resource Explorer</strong> view. You can switch between the views using the buttons in the <strong>Resource Explorer</strong> view toolbar menu (<img alt="Switch to folding" src="../images/fallback_folding.png" /> to switch to folding lists and <img alt="Switch to tabs" src="../images/fallback_tablist.png" /> to switch to tab lists).</p>
+<p>The following figure shows the Tab list view (on the left) and the Folding list view (on the right) of the <strong>Resource Manager</strong> view. You can switch between the views using the buttons in the <strong>Resource Manager</strong> view toolbar menu (<img alt="Switch to folding" src="../images/fallback_folding.png" /> to switch to folding lists and <img alt="Switch to tabs" src="../images/fallback_tablist.png" /> to switch to tab lists).</p>
<p id="tablist" align="center"><img alt="Tab and folding lists" src="../images/fallback_lists.png" /></p>
</li></ol>
<ol><li>Create a BasicUI project.</li>
<li>Create a resource directory hierarchy and copy images into it.
-<p align="center"><img alt="Resource directory hierarchy and the Resource Explorer" src="../images/fallback_hierarchy.png" /></p>
+<p align="center"><img alt="Resource directory hierarchy and the Resource Manager" src="../images/fallback_hierarchy.png" /></p>
</li>
<li>Create a <span style="font-family: Courier New,Courier,monospace">res.xml</span> file with the Build Package command.</li>
<li>Check the <span style="font-family: Courier New,Courier,monospace">res.xml</span> file.
</p>
<h2>Prerequisites</h2>
- <p>To ensure proper application execution, the resources must be created using the <a href="../../../org.tizen.devtools/html/native_tools/resource_explorer_n.htm">Resource Explorer</a> tool. It enables you to create the resource structure assigned to an application.</p>
+ <p>To ensure proper application execution, the resources must be created using the <a href="../../../org.tizen.devtools/html/native_tools/resource_manager_n.htm">Resource Manager</a> tool. It enables you to create the resource structure assigned to an application.</p>
- <h3 id="res-man">Resource Explorer</h3>
-<p>The Resource Explorer tool is launched by opening the <strong>Resource Explorer</strong> view from the IDE menu: <strong>Window > Show View > Other... > Resource Explorer</strong>. Press <img alt="Resource Explorer settings button" src="../images/resource_manager_res_explorer_settings_sd_mn.png"/> 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.</p>
+ <h3 id="res-man">Resource Manager</h3>
+<p>The Resource Manager tool is launched by opening the <strong>Resource Manager</strong> view from the IDE menu: <strong>Window > Show View > Other... > Resource Manager</strong>. Press <img alt="Resource Manager settings button" src="../images/resource_manager_res_explorer_settings_sd_mn.png"/> 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.</p>
<p class="figure">Figure: Resource Configuration Dialog view</p>
<p align="center">
<img alt="Resource Configuration Dialog view" src="../images/resource_manager_res_conf_dlg_sd_mn.png"/>
</ul>
<p>The name of each of the resolution-related files is set to <span style="font-family: Courier New,Courier,monospace">tizen.png</span> and to <span style="font-family: Courier New,Courier,monospace">flag.png</span>. The file name for the language related file is <span style="font-family: Courier New,Courier,monospace">language.edc</span> for each language-related resource.</p>
-<p>During the application packaging process, the <span style="font-family: Courier New,Courier,monospace">res.xml</span> file is created and uploaded to the application resource directory. This file is populated with a set of information acquired from the Resource Explorer. It cannot be edited manually, as it is replaced by the Resource Explorer each time the application is rebuilt.</p>
+<p>During the application packaging process, the <span style="font-family: Courier New,Courier,monospace">res.xml</span> file is created and uploaded to the application resource directory. This file is populated with a set of information acquired from the Resource Manager. It cannot be edited manually, as it is replaced by the Resource Manager each time the application is rebuilt.</p>
<p>In the application source code, after the <a href="../../../org.tizen.native.mobile.apireference/group__CAPI__RESOURCE__MANAGER__MODULE.html">Resource Manager</a> API is initialized, the relevant resource file path is acquired using the <span style="font-family: Courier New,Courier,monospace">app_resource_manager_get()</span> function, where the parameters are:</p>
<ul>
<h3>Resource File Handling</h3>
-<p>Once the resources are defined using the <a href="#res-man">Resource Explorer</a> tool and appropriate resource files are uploaded to the destination folders, you can start using these files. For demonstration purposes, 3 scenarios are chosen:</p>
+<p>Once the resources are defined using the <a href="#res-man">Resource Manager</a> tool and appropriate resource files are uploaded to the destination folders, you can start using these files. For demonstration purposes, 3 scenarios are chosen:</p>
<ul>
<li>Displaying the image related to the current DPI setting</li>
<li>Displaying the image related to the current locale setting</li>