<li><a href="web/connectivity/task_bluetoothchat_w.htm">Task: Bluetooth Chat</a></li>
</ul>
</li>
- <li><a href="web/connectivity/nfc_w.htm">Near Field Communication (NFC)</a>
+ <li><a href="web/connectivity/nfc_w.htm">NFC</a>
<ul>
<li><a href="web/connectivity/task_contactsexchanger_w.htm">Task: Contacts Exchanger</a></li>
</ul>
<p class="toc-title">Related Info</p>
<ul class="toc">
<li><a href="../../../../../org.tizen.native.mobile.apireference/classDali_1_1Handle.html">Dali::Handle API for Mobile Native</a></li>
- <li><a href="../../../../../org.tizen.native.mobile.apireference/classDali_1_1Handle.html">Dali::Property API for Mobile Native</a></li>
+ <li><a href="../../../../../org.tizen.native.mobile.apireference/structDali_1_1Property.html">Dali::Property API for Mobile Native</a></li>
</ul>
</div></div>
</div>
SAAgent.requestServiceConnection(peerAgent);
}
}
- catch(err)
+ catch (err)
{
/* Error handling */
}
SAAgent.findPeerAgents();
}
}
- catch(err)
+ catch (err)
{
/* Error handling */
}
/* Error handling */
});
}
- catch(err)
+ catch (err)
{
/* Error handling */
}
</ul>
</li>
</ul>
- <h2 id="task" name="task">Task</h2>
+ <h2 id="task" name="task">Task in Mobile Applications</h2>
<p>In the <a href="task_bluetoothchat_w.htm">Bluetooth Chat</a> task, we will walk through how to use the device as a Bluetooth server or client in a chat application.</p>
<h2 id="prerequisites">Prerequisites</h2>
<div id="toc-navigation">
<div id="profile">
- <p><img alt="Mobile Web" src="../../images/mobile_s_w_optional.png"/> <img alt="Wearable Web" src="../../images/wearable_s_w_optional.png"/></p>
+ <p><img alt="Mobile Web" src="../../images/mobile_s_w_optional.png"/></p>
</div>
<div id="toc_border"><div id="toc">
<p class="toc-title">Dependencies</p>
<ul class="toc">
<li>Tizen 2.4 and Higher for Mobile</li>
- <li>Tizen 2.3.1 and Higher for Wearable</li>
</ul>
<p class="toc-title">Content</p>
<ul class="toc">
<p class="toc-title">Related Info</p>
<ul class="toc">
<li><a href="../../../../org.tizen.web.apireference/html/device_api/mobile/tizen/bluetooth.html">Bluetooth API for Mobile Web</a></li>
- <li><a href="../../../../org.tizen.web.apireference/html/device_api/wearable/tizen/bluetooth.html">Bluetooth API for Wearable Web</a></li>
<li><a href="https://developer.tizen.org/development/sample/web/Communication/Bluetooth_Chat" target="_blank">Bluetooth Chat Sample Description</a></li>
</ul>
</div></div>
<div id="container"><div id="contents"><div class="content">
<h1>Task: Bluetooth Chat</h1>
- <p>This task, based on the BluetoothChat sample delivered with the Tizen Studio, demonstrates how you can use the Bluetooth API (in <a href="../../../../org.tizen.web.apireference/html/device_api/mobile/tizen/bluetooth.html">mobile</a> and <a href="../../../../org.tizen.web.apireference/html/device_api/wearable/tizen/bluetooth.html">wearable</a> applications) to create a chat between 2 devices. For more information on the sample functionality and creating the sample with the full source code, see <a href="https://developer.tizen.org/downloads/sample-applications/sample-mobile-applications" target="blank">BluetoothChat</a>.</p>
+ <p>This task, based on the BluetoothChat sample delivered with the Tizen Studio, demonstrates how you can use the <a href="../../../../org.tizen.web.apireference/html/device_api/mobile/tizen/bluetooth.html">Bluetooth</a> API to create a chat between 2 devices. For more information on the sample functionality and creating the sample with the full source code, see <a href="https://developer.tizen.org/development/sample/web/Communication/Bluetooth_Chat" target="blank">Bluetooth Chat</a>.</p>
<p>This task consists of the following parts:</p>
<ul>
<li><a href="#Defining_App_Layout">Defining the Application Layout</a> defines how to create the application screens.</li>
<div id="start-header" data-role="header" data-position="fixed">
<h1>Bluetooth chat</h1>
</div></pre></li>
- <li> <p>The actual content section of the screen is defined within a <span style="font-family: Courier New,Courier,monospace;"><div></span> element whose <span style="font-family: Courier New,Courier,monospace;">data-role</span> attribute is set to <span style="font-family: Courier New,Courier,monospace;">content</span>. It contains buttons (in <a href="../../../../org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/mobile_Button.htm">mobile</a> or <a href="../../../../org.tizen.web.apireference/html/ui_fw_api/wearable/widgets/widget_button.htm">wearable</a> applications) for turning on the Bluetooth connection and either creating or joining a server connection. The buttons displayed depend on whether the Bluetooth adapter is on.</p>
+ <li> <p>The actual content section of the screen is defined within a <span style="font-family: Courier New,Courier,monospace;"><div></span> element whose <span style="font-family: Courier New,Courier,monospace;">data-role</span> attribute is set to <span style="font-family: Courier New,Courier,monospace;">content</span>. It contains <a href="../../../../org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/mobile_Button.htm">buttons</a> for turning on the Bluetooth connection and either creating or joining a server connection. The buttons displayed depend on whether the Bluetooth adapter is on.</p>
<pre class="prettyprint lang-html"> <!--Content section-->
<div id="start-content" data-role="content" data-scroll="none">
<div class="box">
<h3 id="server" name="server">Defining the Choose Your Server Screen</h3>
<ol class="tutorstep">
<li>templates/choose_page.tpl Source File
-<ol type="a"><li><p>The content section of the Choose your server screen displays a list (in <a href="../../../../org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/mobile_Listview.htm">mobile</a> or <a href="../../../../org.tizen.web.apireference/html/ui_fw_api/wearable/widgets/widget_list.htm">wearable</a> applications) of available servers.</p>
+<ol type="a"><li><p>The content section of the Choose your server screen displays a <a href="../../../../org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/mobile_Listview.htm">list</a> of available servers.</p>
<pre class="prettyprint">
<div data-role="page" id="choose">
<!--Header section-->
</pre>
</li>
<li>
-<p>When the user taps a server name, the system starts searching for the server and attempts to connect to it. After connecting, the system displays confirmation pop-ups (in <a href="../../../../org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/mobile_Popup.htm">mobile</a> or <a href="../../../../org.tizen.web.apireference/html/ui_fw_api/wearable/widgets/widget_popup.htm">wearable</a> applications).</p>
+<p>When the user taps a server name, the system starts searching for the server and attempts to connect to it. After connecting, the system displays confirmation <a href="../../../../org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/mobile_Popup.htm">pop-ups</a>.</p>
<pre class="prettyprint">
$('#choose-content').on('tap', 'ul.ui-listview li', function()
{
<div id="container"><div id="contents"><div class="content">
<h1>Task: Contacts Exchanger</h1>
- <p>This task, based on the ContactsExchanger sample delivered with the Tizen Studio, demonstrates how you can use the <a href="../../../../org.tizen.web.apireference/html/device_api/mobile/tizen/nfc.html">NFC</a> API to exchange contacts between devices. For more information on the sample functionality and creating the sample with the full source code, see <a href="https://developer.tizen.org/downloads/sample-applications/sample-mobile-applications" target="blank">ContactsExchanger</a>.</p>
+ <p>This task, based on the ContactsExchanger sample delivered with the Tizen Studio, demonstrates how you can use the <a href="../../../../org.tizen.web.apireference/html/device_api/mobile/tizen/nfc.html">NFC</a> API to exchange contacts between devices. For more information on the sample functionality and creating the sample with the full source code, see <a href="https://developer.tizen.org/development/sample/web/Communication/Contacts_Exchanger" target="blank">Contacts Exchanger</a>.</p>
<p>This task consists of the following parts:</p>
<ul>
<h1>Task: Download Manager</h1>
- <p>This task, based on the DownloadManager sample delivered with the Tizen Studio, demonstrates how you can use the Download API (in <a href="../../../../org.tizen.web.apireference/html/device_api/mobile/tizen/download.html">mobile</a> and <a href="../../../../org.tizen.web.apireference/html/device_api/wearable/tizen/download.html">wearable</a> applications) to asynchronously download URL content to the device storage. For more information on the sample functionality and creating the sample with the full source code, see <a href="https://developer.tizen.org/downloads/sample-applications/sample-mobile-applications" target="blank">DownloadManager</a>.</p>
+ <p>This task, based on the DownloadManager sample delivered with the Tizen Studio, demonstrates how you can use the Download API (in <a href="../../../../org.tizen.web.apireference/html/device_api/mobile/tizen/download.html">mobile</a> and <a href="../../../../org.tizen.web.apireference/html/device_api/wearable/tizen/download.html">wearable</a> applications) to asynchronously download URL content to the device storage. For more information on the sample functionality and creating the sample with the full source code, see <a href="https://developer.tizen.org/development/sample/web/Content/Download_Manager" target="blank">Download Manager</a>.</p>
<p>This task consists of the following parts:</p>
<ul>
<li><a href="#layout">Defining the Application Layout</a> defines how to create the application screens. </li>
<p>Before you start, remember to <a href="#prerequisites">prepare your application to use the archive functionality</a>.</p>
- <p>To start any kind of zip operation (packing or unpacking), you must first call the <span style="font-family: Courier New,Courier,monospace">open()</span> method of the <span style="font-family: Courier New,Courier,monospace">ArchiveManager</span> interface (in <a href="../../../../org.tizen.web.apireference/html/device_api/mobile/tizen/archive.html#ArchiveManager">mobile</a> and <a href="../../../../org.tizen.web.apireference/html/device_api/wearable/tizen/archive.html#ArchiveManager">wearable</a> applications). The first parameter of is a <span style="font-family: Courier New,Courier,monospace">FileReference</span> object (in <a href="../../../../org.tizen.web.apireference/html/device_api/mobile/tizen/archive.html#FileReference">mobile</a> and <a href="../../../../org.tizen.web.apireference/html/device_api/wearable/tizen/archive.html#FileReference">wearable</a> applications), which can be a <span style="font-family: Courier New,Courier,monospace">File</span> object (in <a href="../../../../org.tizen.web.apireference/html/device_api/mobile/tizen/filesystem.html#File">mobile</a> and <a href="../../../../org.tizen.web.apireference/html/device_api/wearable/tizen/filesystem.html#File">wearable</a> applications) or the virtual path. The second parameter is a <span style="font-family: Courier New,Courier,monospace">FileMode</span> enumerator (in <a href="../../../../org.tizen.web.apireference/html/device_api/mobile/tizen/filesystem.html#FileMode">mobile</a> and <a href="../../../../org.tizen.web.apireference/html/device_api/wearable/tizen/filesystem.html#FileMode">wearable</a> applications), whose values are described in the following table.</p>
+ <p>To start any kind of zip operation (packing or unpacking), you must first call the <span style="font-family: Courier New,Courier,monospace">open()</span> method of the <span style="font-family: Courier New,Courier,monospace">ArchiveManager</span> interface (in <a href="../../../../org.tizen.web.apireference/html/device_api/mobile/tizen/archive.html#ArchiveManager">mobile</a> and <a href="../../../../org.tizen.web.apireference/html/device_api/wearable/tizen/archive.html#ArchiveManager">wearable</a> applications). The first parameter is a <span style="font-family: Courier New,Courier,monospace">FileReference</span> object (in <a href="../../../../org.tizen.web.apireference/html/device_api/mobile/tizen/archive.html#FileReference">mobile</a> and <a href="../../../../org.tizen.web.apireference/html/device_api/wearable/tizen/archive.html#FileReference">wearable</a> applications), which can be a <span style="font-family: Courier New,Courier,monospace">File</span> object (in <a href="../../../../org.tizen.web.apireference/html/device_api/mobile/tizen/filesystem.html#File">mobile</a> and <a href="../../../../org.tizen.web.apireference/html/device_api/wearable/tizen/filesystem.html#File">wearable</a> applications) or the virtual path. The second parameter is a <span style="font-family: Courier New,Courier,monospace">FileMode</span> enumerator (in <a href="../../../../org.tizen.web.apireference/html/device_api/mobile/tizen/filesystem.html#FileMode">mobile</a> and <a href="../../../../org.tizen.web.apireference/html/device_api/wearable/tizen/filesystem.html#FileMode">wearable</a> applications), whose values are described in the following table.</p>
<table border="1" style="width: 100%">
<li><a href="../../../../org.tizen.web.apireference/html/device_api/wearable/tizen/content.html">Content API for Wearable Web</a></li>
<li><a href="https://developer.tizen.org/development/sample/web/Multimedia/%28Circle%29_Music_Player" target="_blank">(Circle) Music Player Sample Description</a></li>
<li><a href="https://developer.tizen.org/development/sample/web/Content/Media_Content" target="_blank">Media Content Sample Description</a></li>
- <li><a href="https://developer.tizen.org/development/sample/web/General/Memo" target="_blank">Memo Gallery Sample Description</a></li>
+ <li><a href="https://developer.tizen.org/development/sample/web/General/Memo" target="_blank">Memo Sample Description</a></li>
<li><a href="https://developer.tizen.org/development/sample/web/Content/Mini_Gallery" target="_blank">Mini Gallery Sample Description</a></li>
</ul>
</div></div>
<div id="container"><div id="contents"><div class="content">
<h1>Task: File Manager</h1>
- <p>This task, based on the FileManager sample delivered with the Tizen Studio, demonstrates how you can use the Filesystem API (in <a href="../../../../org.tizen.web.apireference/html/device_api/mobile/tizen/filesystem.html">mobile</a> and <a href="../../../../org.tizen.web.apireference/html/device_api/wearable/tizen/filesystem.html">wearable</a> applications) to manage files in your application. For more information on the sample functionality and creating the sample with the full source code, see <a href="https://developer.tizen.org/downloads/sample-applications/sample-mobile-applications" target="blank">FileManager</a>.</p>
+ <p>This task, based on the FileManager sample delivered with the Tizen Studio, demonstrates how you can use the Filesystem API (in <a href="../../../../org.tizen.web.apireference/html/device_api/mobile/tizen/filesystem.html">mobile</a> and <a href="../../../../org.tizen.web.apireference/html/device_api/wearable/tizen/filesystem.html">wearable</a> applications) to manage files in your application. For more information on the sample functionality and creating the sample with the full source code, see <a href="https://developer.tizen.org/development/sample/web/Storage/File_Manager" target="blank">File Manager</a>.</p>
<p>This task consists of the following parts:</p>
<ul>
<li><a href="#layout">Defining the Application Layout</a> defines how to create the application screens. </li>
</div>
</div>
-</pre> <p></p></li> </ol>
+</pre></li> </ol>
<h3 id="popup" name="popup">Defining the Pop-up Window</h3>
<ol class="tutorstep">
<div id="container"><div id="contents"><div class="content">
<h1>Task: Media Content</h1>
- <p>This task, based on the MediaContent sample delivered with the Tizen Studio, demonstrates how you can use the Content API (in <a href="../../../../org.tizen.web.apireference/html/device_api/mobile/tizen/content.html">mobile</a> and <a href="../../../../org.tizen.web.apireference/html/device_api/wearable/tizen/content.html">wearable</a> applications) to manage media files in your application. For more information on the sample functionality and creating the sample with the full source code, see <a href="https://developer.tizen.org/downloads/sample-applications/sample-mobile-applications" target="blank">Media Content</a>.</p>
+ <p>This task, based on the MediaContent sample delivered with the Tizen Studio, demonstrates how you can use the Content API (in <a href="../../../../org.tizen.web.apireference/html/device_api/mobile/tizen/content.html">mobile</a> and <a href="../../../../org.tizen.web.apireference/html/device_api/wearable/tizen/content.html">wearable</a> applications) to manage media files in your application. For more information on the sample functionality and creating the sample with the full source code, see <a href="https://developer.tizen.org/development/sample/web/Content/Media_Content" target="blank">Media Content</a>.</p>
<p>This task consists of the following parts:</p>
<ul>
<li><a href="#layout">Defining the Application Layout</a> defines how to create the application screens. </li>
<ul class="toc">
<li><a href="../../../../org.tizen.web.apireference/html/device_api/mobile/tizen/systemsetting.html">System Setting API for Mobile Web</a></li>
<li><a href="../../../../org.tizen.web.apireference/html/device_api/wearable/tizen/systemsetting.html">System Setting API for Wearable Web</a></li>
+ <li><a href="https://developer.tizen.org/development/sample/web/System/System_Settings" target="_blank">System Settings Sample Description</a></li>
</ul>
</div></div>
</div>
<div id="container"><div id="contents"><div class="content">
<h1>Task: System Information</h1>
- <p>This task, based on the Systeminfo sample delivered with the Tizen Studio, demonstrates how you can use the System Information API (in <a href="../../../../org.tizen.web.apireference/html/device_api/mobile/tizen/systeminfo.html">mobile</a> and <a href="../../../../org.tizen.web.apireference/html/device_api/wearable/tizen/systeminfo.html">wearable</a> applications) to retrieve and display status and details of various device-specific items. For more information on the sample functionality and creating the sample with the full source code, see <a href="https://developer.tizen.org/downloads/sample-applications/sample-mobile-applications" target="blank">SystemInfo</a>.</p>
+ <p>This task, based on the Systeminfo sample delivered with the Tizen Studio, demonstrates how you can use the System Information API (in <a href="../../../../org.tizen.web.apireference/html/device_api/mobile/tizen/systeminfo.html">mobile</a> and <a href="../../../../org.tizen.web.apireference/html/device_api/wearable/tizen/systeminfo.html">wearable</a> applications) to retrieve and display status and details of various device-specific items. For more information on the sample functionality and creating the sample with the full source code, see <a href="https://developer.tizen.org/development/sample/web/System/System_Info" target="blank">System Info</a>.</p>
<p>This task consists of the following parts:</p>
<ul>
<li><a href="#layout">Defining the Application Layout</a> defines how to create the application screens. </li>
<div id="container"><div id="contents"><div class="content">
<h1>Task: Chatter</h1>
- <p>This task, based on the Chatter sample delivered with the Tizen Studio, demonstrates how you can use the <a href="../../../../org.tizen.web.apireference/html/device_api/mobile/tizen/messaging.html">Messaging</a> API to send, receive, and manage your messages. For more information on the sample functionality and creating the sample with the full source code, see <a href="https://developer.tizen.org/downloads/sample-applications/sample-mobile-applications" target="blank">Chatter</a>.</p>
+ <p>This task, based on the Chatter sample delivered with the Tizen Studio, demonstrates how you can use the <a href="../../../../org.tizen.web.apireference/html/device_api/mobile/tizen/messaging.html">Messaging</a> API to send, receive, and manage your messages. For more information on the sample functionality and creating the sample with the full source code, see <a href="https://developer.tizen.org/development/sample/web/Communication/Chatter" target="blank">Chatter</a>.</p>
<p>This task consists of the following parts:</p>
<ul>
<li><a href="#Defining_App_Layout">Defining the Application Layout</a> defines how to create the application screens.</li>
<p class="toc-title">Related Info</p>
<ul class="toc">
<li><a href="../../../../org.tizen.web.apireference/html/device_api/mobile/tizen/notification.html">Notification API for Mobile Web</a></li>
- <li><a href="../../../../org.tizen.web.apireference/html/device_api/wearable/tizen/notification.html">Notification API for Wearable Web</a></li>
+ <li><a href="../../../../org.tizen.web.apireference/html/device_api/wearable/tizen/notification.html">Notification API for Wearable Web</a></li>
+ <li><a href="https://developer.tizen.org/development/sample/web/Application/Notification_Manager" target="_blank">Notification Manager Sample Description</a></li>
</ul>
</div></div>
</div>
<p class="toc-title">Related Info</p>
<ul class="toc">
<li><a href="../../../../org.tizen.web.apireference/html/device_api/mobile/tizen/account.html">Account API for Mobile Web</a></li>
+ <li><a href="https://developer.tizen.org/development/sample/web/General/Account_Manager" target="_blank">Account Manager Sample Description</a></li>
</ul>
</div></div>
</div>
<h1>Task: Call Log</h1>
- <p>This task, based on the CallLog sample delivered with the Tizen Studio, demonstrates how you can use the <a href="../../../../org.tizen.web.apireference/html/device_api/mobile/tizen/callhistory.html">Call History</a> API to manage call logs in your application. For more information on the sample functionality and creating the sample with the full source code, see <a href="https://developer.tizen.org/downloads/sample-applications/sample-mobile-applications" target="blank">CallLog</a>.</p>
+ <p>This task, based on the CallLog sample delivered with the Tizen Studio, demonstrates how you can use the <a href="../../../../org.tizen.web.apireference/html/device_api/mobile/tizen/callhistory.html">Call History</a> API to manage call logs in your application. For more information on the sample functionality and creating the sample with the full source code, see <a href="https://developer.tizen.org/development/sample/web/Social/Call_Log" target="blank">Call Log</a>.</p>
<p>This task consists of the following parts:</p>
<ul>
<li><a href="#Defining">Defining the Application Layout</a> defines how to create the application screens.</li>
<h1>Task: Event Manager</h1>
- <p>This task, based on the EventManager sample delivered with the Tizen Studio, demonstrates how you can use the <a href="../../../../org.tizen.web.apireference/html/device_api/mobile/tizen/calendar.html">Calendar</a> API to manage calendar events. For more information on the sample functionality and creating the sample with the full source code, see <a href="https://developer.tizen.org/downloads/sample-applications/sample-mobile-applications" target="blank">EventManager</a>.</p>
+ <p>This task, based on the EventManager sample delivered with the Tizen Studio, demonstrates how you can use the <a href="../../../../org.tizen.web.apireference/html/device_api/mobile/tizen/calendar.html">Calendar</a> API to manage calendar events. For more information on the sample functionality and creating the sample with the full source code, see <a href="https://developer.tizen.org/development/sample/web/Social/Event_Manager" target="blank">Event Manager</a>.</p>
<p>This task consists of the following parts:</p>
<ul>
<div id="container"><div id="contents"><div class="content">
<h1>Task: Sensor Ball</h1>
- <p>This task, based on the SensorBall sample delivered with the Tizen Studio, demonstrates how you can use the <a href="../../../../org.tizen.web.apireference/html/device_api/mobile/tizen/sensor.html">Sensor</a> API to read and process gyro sensor data. For more information on the sample functionality and creating the sample with the full source code, see the <a href="https://developer.tizen.org/downloads/sample-applications/sample-mobile-applications" target="blank">SensorBall</a>.</p>
+ <p>This task, based on the SensorBall sample delivered with the Tizen Studio, demonstrates how you can use the <a href="../../../../org.tizen.web.apireference/html/device_api/mobile/tizen/sensor.html">Sensor</a> API to read and process gyro sensor data. For more information on the sample functionality and creating the sample with the full source code, see the <a href="https://developer.tizen.org/development/sample/web/Sensor/Sensor_Ball" target="blank">Sensor Ball</a>.</p>
<p>This task consists of the following parts:</p>
<ul>
<li><a href="#layout">Defining the Application Layout</a> defines how to create the application screens.</li>
<li><a href="#lifecycle">Web IME Life-cycle</a></li>
<li><a href="#sample">Sample IME Application</a></li>
</ul>
+ <p class="toc-title">Related Info</p>
+ <ul class="toc">
+ <li><a href="https://developer.tizen.org/development/sample/web/Input+Method+Editor/%28Circle%29_IME_Double_Keys" target="_blank">(Circle) IME Double Keys Sample Description</a></li>
+ </ul>
</div></div>
</div>
</ul>
<p class="toc-title">Related Info</p>
<ul class="toc">
- <li><a href="../../../../../org.tizen.web.apireference/html/ui_fw_api/ui_fw_api_cover.html">Tizen Advanced UI Framework (TAU) API</a></li>
+ <li><a href="../../../../../org.tizen.web.apireference/html/ui_fw_api/ui_fw_api_cover.htm">Tizen Advanced UI Framework API for Mobile Web</a></li>
+ <li><a href="../../../../../org.tizen.web.apireference/html/ui_fw_api/ui_fw_api_cover.html">Tizen Web UI Framework API for Wearable Web</a></li>
</ul>
</div></div>
</ul>
<p class="toc-title">Related Info</p>
<ul class="toc">
- <li><a href="../../../../../org.tizen.web.apireference/html/ui_fw_api/Animation/animation.htm">Animation API</a></li>
+ <li><a href="../../../../../org.tizen.web.apireference/html/ui_fw_api/Animation/animation.htm">Animation API for Mobile Web</a></li>
</ul>
</div></div>
</div>
</ul>
<p class="toc-title">Related Info</p>
<ul class="toc">
- <li><a href="../../../../../org.tizen.web.apireference/html/ui_fw_api/ui_fw_api_cover.html">Tizen Advanced UI Framework (TAU) API</a></li>
+ <li><a href="../../../../../org.tizen.web.apireference/html/ui_fw_api/ui_fw_api_cover.html">Tizen Web UI Framework API</a></li>
</ul>
</div></div>
</div>
</ul>
<p class="toc-title">Related Info</p>
<ul class="toc">
- <li><a href="../../../../../org.tizen.web.apireference/html/ui_fw_api/ui_fw_api_cover.html">Tizen Advanced UI Framework (TAU) API</a></li>
+ <li><a href="../../../../../org.tizen.web.apireference/html/ui_fw_api/ui_fw_api_cover.htm">Tizen Advanced UI Framework API for Mobile Web</a></li>
+ <li><a href="../../../../../org.tizen.web.apireference/html/ui_fw_api/ui_fw_api_cover.html">Tizen Web UI Framework API for Wearable Web</a></li>
</ul>
</div></div>
</div>
</ul>
<p class="toc-title">Related Info</p>
<ul class="toc">
- <li><a href="../../../../../org.tizen.web.apireference/html/ui_fw_api/ui_fw_api_cover.html">Tizen Advanced UI Framework API</a></li>
+ <li><a href="../../../../../org.tizen.web.apireference/html/ui_fw_api/ui_fw_api_cover.htm">Tizen Advanced UI Framework API for Mobile Web</a></li>
+ <li><a href="../../../../../org.tizen.web.apireference/html/ui_fw_api/ui_fw_api_cover.html">Tizen Web UI Framework API for Wearable Web</a></li>
</ul>
</div></div>
</div>
</ul>
<p class="toc-title">Related Info</p>
<ul class="toc">
- <li><a href="../../../../../org.tizen.web.apireference/html/ui_fw_api/ui_fw_api_cover.html">Tizen Advanced UI Framework (TAU) API</a></li>
+ <li><a href="../../../../../org.tizen.web.apireference/html/ui_fw_api/ui_fw_api_cover.htm">Tizen Advanced UI Framework API for Mobile Web</a></li>
+ <li><a href="../../../../../org.tizen.web.apireference/html/ui_fw_api/ui_fw_api_cover.html">Tizen Web UI Framework API for Wearable Web</a></li>
</ul>
</div></div>
</div>
</ul>
<p class="toc-title">Related Info</p>
<ul class="toc">
- <li><a href="../../../../../org.tizen.web.apireference/html/ui_fw_api/Globalization/globalization.htm">Globalization API</a></li>
+ <li><a href="../../../../../org.tizen.web.apireference/html/ui_fw_api/Globalization/globalization.htm">Globalization API for Mobile Web</a></li>
<li><a href="https://developer.tizen.org/development/sample/web/UI/TAU_Globalization" target="_blank">TAU Globalization Sample Description</a></li>
</ul>
</div></div>
</ul>
<p class="toc-title">Related Info</p>
<ul class="toc">
- <li><a href="../../../../../org.tizen.web.apireference/html/ui_fw_api/ui_fw_api_cover.html">Tizen Advanced UI Framework (TAU) API</a></li>
+ <li><a href="../../../../../org.tizen.web.apireference/html/ui_fw_api/ui_fw_api_cover.htm">Tizen Advanced UI Framework API for Mobile Web</a></li>
+ <li><a href="../../../../../org.tizen.web.apireference/html/ui_fw_api/ui_fw_api_cover.html">Tizen Web UI Framework API for Wearable Web</a></li>
</ul>
</div></div>
</div>
</ul>
<p class="toc-title">Related Info</p>
<ul class="toc">
- <li><a href="../../../../../org.tizen.web.apireference/html/ui_fw_api/Base/page.htm">Page API</a></li>
+ <li><a href="../../../../../org.tizen.web.apireference/html/ui_fw_api/Base/page.htm">Page API for Mobile Web</a></li>
+ <li><a href="../../../../../org.tizen.web.apireference/html/ui_fw_api/wearable/page/app_page_layout.htm">Application Page Layout for Wearable Web</a></li>
</ul>
</div></div>
</div>
</ul>
<p class="toc-title">Related Info</p>
<ul class="toc">
- <li><a href="../../../../../org.tizen.web.apireference/html/ui_fw_api/ui_fw_api_cover.html">Tizen Advanced UI Framework (TAU) API</a></li>
+ <li><a href="../../../../../org.tizen.web.apireference/html/ui_fw_api/ui_fw_api_cover.htm">Tizen Advanced UI Framework API for Mobile Web</a></li>
+ <li><a href="../../../../../org.tizen.web.apireference/html/ui_fw_api/ui_fw_api_cover.html">Tizen Web UI Framework API for Wearable Web</a></li>
</ul>
</div></div>
</div>
<div id="toc-navigation">
<div id="profile">
- <p><img alt="Mobile Web" src="../../../images/mobile_s_w.png"/> <img alt="Wearable Web" src="../../../images/wearable_s_w.png"/></p>
+ <p><img alt="Mobile Web" src="../../../images/mobile_s_w.png"/></p>
</div>
<div id="toc_border"><div id="toc">
<p class="toc-title">Dependencies</p>
<ul class="toc">
<li>Tizen 2.4 and Higher for Mobile</li>
- <li>Tizen 2.3.1 and Higher for Wearable</li>
</ul>
<p class="toc-title">Content</p>
<ul class="toc">
<p class="toc-title">Related Info</p>
<ul class="toc">
<li><a href="../../../../../org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/mobile_component_list.htm">UI Component API Reference for Mobile Web</a></li>
- <li><a href="../../../../../org.tizen.web.apireference/html/ui_fw_api/wearable/widgets/widget_reference.htm">UI Component API Reference for Wearable Web</a></li>
- <li><a href="../../../../../org.tizen.web.apireference/html/ui_fw_api/Gesture_Events/gesture.htm">Gesture Events API</a></li>
+ <li><a href="../../../../../org.tizen.web.apireference/html/ui_fw_api/Gesture_Events/gesture.htm">Gesture Events API for Mobile Web</a></li>
</ul>
</div></div>
</div>
<p>Since Tizen 2.4, it is strongly recommended to use the <span style="font-family: Courier New,Courier,monospace;">class</span> selector to define the components in HTML files. The <span style="font-family: Courier New,Courier,monospace;">"data-role"</span> selector has been deprecated and is no longer supported.</p>
-<p>The class selectors in TAU are composed with the <span style="font-family: Courier New,Courier,monospace;">"ui-"</span> prefix and followed by the <span style="font-family: Courier New,Courier,monospace;"><COMPONENT_NAME></span>. For more information, see the UI Component API Reference (in <a href="../../../../../org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/mobile_component_list.htm">mobile</a> and <a href="../../../../../org.tizen.web.apireference/html/ui_fw_api/wearable/widgets/widget_reference.htm">wearable</a> applications).</p>
+<p>The class selectors in TAU are composed with the <span style="font-family: Courier New,Courier,monospace;">"ui-"</span> prefix and followed by the <span style="font-family: Courier New,Courier,monospace;"><COMPONENT_NAME></span>. For more information, see <a href="../../../../../org.tizen.web.apireference/html/ui_fw_api/Mobile_UIComponents/mobile_component_list.htm">UI Component API Reference</a>.</p>
<p>The following example shows how to define the UI components before and after:</p>
<ul>
<li>Before:
<p class="toc-title">Related Info</p>
<ul class="toc">
<li><a href="event_handling_w.htm">Event Handling</a></li>
- <li><a href="../../../../../org.tizen.web.apireference/html/ui_fw_api/Base/page.htm">Page Handling</a></li>
+ <li><a href="../../../../../org.tizen.web.apireference/html/ui_fw_api/wearable/page/app_page_layout.htm">Application Page Layout for Wearable Web</a></li>
<li><a href="../../../../../org.tizen.web.apireference/html/ui_fw_api/wearable/widgets/widget_circleprogressbar.htm">CircleProgressBar API for Wearable Web</a></li>
<li><a href="../../../../../org.tizen.web.apireference/html/ui_fw_api/wearable/widgets/widget_popup.htm">Popup API for Wearable Web</a></li>
<li><a href="../../../../../org.tizen.web.apireference/html/ui_fw_api/wearable/widgets/widget_section_changer.htm">Section Changer API for Wearable Web</a></li>
</ul>
<p class="toc-title">Related Info</p>
<ul class="toc">
- <li><a href="../../../../../org.tizen.web.apireference/html/ui_fw_api/ui_fw_api_cover.html">Tizen Advanced UI Framework API</a></li>
+ <li><a href="../../../../../org.tizen.web.apireference/html/ui_fw_api/ui_fw_api_cover.htm">Tizen Advanced UI Framework API for Mobile Web</a></li>
+ <li><a href="../../../../../org.tizen.web.apireference/html/ui_fw_api/ui_fw_api_cover.html">Tizen Web UI Framework API for Wearable Web</a></li>
</ul>
</div></div>
</div>
<div id="container"><div id="contents"><div class="content">
<h1>Task: Compass</h1>
- <p>This task, based on the Compass sample delivered with the Tizen Studio, demonstrates how you can use the <a href="../../../../../org.tizen.web.apireference/html/w3c_api/w3c_api_m.html#orientation">DeviceOrientation Event Specification</a> API to create a compass-functionality for your application. For more information on the sample functionality and creating the sample with the full source code, see <a href="https://developer.tizen.org/downloads/sample-applications/sample-mobile-applications" target="blank">Compass</a>.</p>
+ <p>This task, based on the Compass sample delivered with the Tizen Studio, demonstrates how you can use the <a href="../../../../../org.tizen.web.apireference/html/w3c_api/w3c_api_m.html#orientation">DeviceOrientation Event Specification</a> API to create a compass-functionality for your application. For more information on the sample functionality and creating the sample with the full source code, see <a href="https://developer.tizen.org/development/sample/web/Sensor/Compass" target="blank">Compass</a>.</p>
<p>This task consists of the following parts:</p>
<ul>
<li><a href="#layout">Defining the Application Layout</a> defines how to create the application screens.</li>
<h1>Task: Touch Paint</h1>
-<p>This task, based on the TouchPaint sample delivered with the Tizen Studio, demonstrates how you can use the <a href="../../../../../org.tizen.web.apireference/html/w3c_api/w3c_api_m.html#touch">Touch Events version 1</a> API to create a simple paint application using the touch events and the <a href="../graphics/canvas_w.htm">Canvas</a> element. For more information on the sample functionality and creating the sample with the full source code, see <a href="https://developer.tizen.org/downloads/sample-applications/sample-mobile-applications" target="blank">TouchPaint</a>.</p>
+<p>This task, based on the TouchPaint sample delivered with the Tizen Studio, demonstrates how you can use the <a href="../../../../../org.tizen.web.apireference/html/w3c_api/w3c_api_m.html#touch">Touch Events version 1</a> API to create a simple paint application using the touch events and the <a href="../graphics/canvas_w.htm">Canvas</a> element. For more information on the sample functionality and creating the sample with the full source code, see <a href="https://developer.tizen.org/development/sample/web/Graphics/Touch_Paint_1" target="blank">Touch Paint</a>.</p>
<p>This task consists of the following parts:</p>
<ul>
<h1>Task: Touch Paint</h1>
-<p>This task, based on the TouchPaint sample delivered with the Tizen Studio, demonstrates how you can use the <a href="../../../../../org.tizen.web.apireference/html/w3c_api/w3c_api_w.html#touch">Touch Events version 1</a> API to create a simple paint application using the touch events and the <a href="../graphics/canvas_w.htm">Canvas</a> element. For more information on the sample functionality and creating the sample with the full source code, see <a href="https://developer.tizen.org/downloads/sample-applications/sample-wearable-applications" target="blank">TouchPaint</a>.</p>
+<p>This task, based on the TouchPaint sample delivered with the Tizen Studio, demonstrates how you can use the <a href="../../../../../org.tizen.web.apireference/html/w3c_api/w3c_api_w.html#touch">Touch Events version 1</a> API to create a simple paint application using the touch events and the <a href="../graphics/canvas_w.htm">Canvas</a> element. For more information on the sample functionality and creating the sample with the full source code, see <a href="https://developer.tizen.org/development/sample/web/Graphics/Touch_Paint" target="blank">Touch Paint</a>.</p>
<p>This task consists of the following parts:</p>
<ul>
<h1>Task: Basic Watch</h1>
-<p>This task, based on the BasicWatch sample delivered with the Tizen Studio, demonstrates how you can use the <a href="../../../../../org.tizen.web.apireference/html/w3c_api/w3c_api_w.html#canvas2d">HTML Canvas 2D Context</a> API to create an analog watch on a canvas. For more information on the sample functionality and creating the sample with the full source code, see <a href="https://developer.tizen.org/downloads/sample-applications/sample-wearable-applications" target="blank">BasicWatch</a>.</p>
+<p>This task, based on the BasicWatch sample delivered with the Tizen Studio, demonstrates how you can use the <a href="../../../../../org.tizen.web.apireference/html/w3c_api/w3c_api_w.html#canvas2d">HTML Canvas 2D Context</a> API to create an analog watch on a canvas. For more information on the sample functionality and creating the sample with the full source code, see <a href="https://developer.tizen.org/development/sample/web/Watch/Basic_Watch" target="blank">Basic Watch</a>.</p>
<p>This task consists of the following parts:</p>
<ul>
<ul class="toc">
<li><a href="../../../../../org.tizen.web.apireference/html/w3c_api/w3c_api_m.html#geo">Geolocation API Specification for Mobile Web</a></li>
<li><a href="../../../../../org.tizen.web.apireference/html/w3c_api/w3c_api_w.html#geo">Geolocation API Specification for Wearable Web</a></li>
+ <li><a href="https://developer.tizen.org/development/sample/web/Sensor/Path_Tracker" target="_blank">Path Tracker Sample Description</a></li>
</ul>
</div></div>
</div>
<div id="container"><div id="contents"><div class="content">
<h1>Task: Piano</h1>
- <p>This task, based on the Piano sample delivered with the Tizen Studio, demonstrates how you can use the <a href="../../../../../org.tizen.web.apireference/html/w3c_api/w3c_api_m.html#audio">HTML5 audio element</a> API to create a piano application and play sounds. For more information on the sample functionality and creating the sample with the full source code, see <a href="https://developer.tizen.org/downloads/sample-applications/sample-mobile-applications" target="blank">Piano</a>.</p>
+ <p>This task, based on the Piano sample delivered with the Tizen Studio, demonstrates how you can use the <a href="../../../../../org.tizen.web.apireference/html/w3c_api/w3c_api_m.html#audio">HTML5 audio element</a> API to create a piano application and play sounds. For more information on the sample functionality and creating the sample with the full source code, see <a href="https://developer.tizen.org/development/sample/web/Multimedia/Piano" target="blank">Piano</a>.</p>
<p>This task consists of the following parts:</p>
<ul>
<div id="container"><div id="contents"><div class="content">
<h1>Task: Self Camera</h1>
- <p>This task, based on the SelfCamera sample delivered with the Tizen Studio, demonstrates how you can use the <a href="../../../../../org.tizen.web.apireference/html/w3c_api/w3c_api_m.html#getusermedia">getUserMedia</a> API to access and display the camera video stream, and capture a single photo. For more information on the sample functionality and creating the sample with the full source code, see the <a href="https://developer.tizen.org/downloads/sample-applications/sample-mobile-applications" target="blank">SelfCamera</a>.</p>
+ <p>This task, based on the SelfCamera sample delivered with the Tizen Studio, demonstrates how you can use the <a href="../../../../../org.tizen.web.apireference/html/w3c_api/w3c_api_m.html#getusermedia">getUserMedia</a> API to access and display the camera video stream, and capture a single photo. For more information on the sample functionality and creating the sample with the full source code, see the <a href="https://developer.tizen.org/development/sample/web/Multimedia/Self_Camera" target="blank">Self Camera</a>.</p>
<p>This task consists of the following parts:</p>
<ul>
<li><a href="#layout">Defining the Application Layout</a> defines how to create the application screens. </li>
<ul class="toc">\r
<li><a href="../../../../../org.tizen.web.apireference/html/w3c_api/w3c_api_m.html#web_workers">Web Workers API for Mobile Web</a></li>\r
<li><a href="../../../../../org.tizen.web.apireference/html/w3c_api/w3c_api_w.html#web_workers">Web Workers API for Wearable Web</a></li>\r
+ <li><a href="https://developer.tizen.org/development/sample/web/Performance/Web_Worker_Timer" target="_blank">Web Worker Timer Sample Description</a></li>\r
</ul>\r
</div></div>\r
</div> \r
<div id="container"><div id="contents"><div class="content">
<h1>Task: Camera</h1>
-<p>This task, based on the Camera sample delivered with the Tizen Studio, demonstrates how you can use the <a href="../../../../../org.tizen.web.apireference/html/w3c_api/camera_w.html">Camera API (Tizen Extension)</a> API to control the camera on the Tizen wearable device. For more information on the sample functionality and creating the sample with the full source code, see <a href="https://developer.tizen.org/downloads/sample-applications/sample-wearable-applications" target="blank">Camera</a>.</p>
+<p>This task, based on the Camera sample delivered with the Tizen Studio, demonstrates how you can use the <a href="../../../../../org.tizen.web.apireference/html/w3c_api/camera_w.html">Camera API (Tizen Extension)</a> API to control the camera on the Tizen wearable device. For more information on the sample functionality and creating the sample with the full source code, see <a href="https://developer.tizen.org/development/sample/web/Multimedia/Camera" target="blank">Camera</a>.</p>
<p>This task consists of the following parts:</p>
<ul>
<ul class="toc">
<li><a href="../../../../../org.tizen.web.apireference/html/w3c_api/w3c_api_m.html#mediaquery">Media Queries API for Mobile Web</a></li>
<li><a href="../../../../../org.tizen.web.apireference/html/w3c_api/w3c_api_w.html#mediaquery">Media Queries API for Wearable Web</a></li>
+ <li><a href="https://developer.tizen.org/development/sample/web/Graphics/Media_Query" target="_blank">Media Query Sample Description</a></li>
</ul>
</div></div>
</div>
<p>The following figures illustrate the created layout in different display sizes and orientations.</p>
<p class="figure">Figure: Dynamic layout on a 480 x 800 display</p>
-<p align="center"><img alt="Dynamic layout on a 480 x 800 display" src="../../.../images/dynamic_layout_480x800.png" /></p>
+<p align="center"><img alt="Dynamic layout on a 480 x 800 display" src="../../../images/dynamic_layout_480x800.png" /></p>
<p class="figure">Figure: Dynamic layout on a 720 x 1280 display</p>
<p align="center"><img alt="Dynamic layout on a 720 x 1280 display" src="../../../images/dynamic_layout_720x1280.png" /></p>
<li>Define the image resource to be used based on the screen dots per inch (DPI) ratio.</li>
<li>Determine the CSS layout to be used based on the screen width.</li>
</ul>
- <p></p>
<h2 id="ui" name="ui">UI Scalability</h2>
<p>With UI scalability, you can support multiple screen resolutions in a single Tizen Web application. Tizen automatically converts and translates the size and position values that are defined in the application's logical resolution to the physical resolution at runtime. The Tizen Advanced UI (TAU) uses the <a href="#viewport">viewport meta tag</a> to fit the Web page into the device screen, and the <span style="font-family: Courier New,Courier,monospace">rem</span> unit to determine the size of the Tizen Web UI components.</p>
<h3 id="set" name="set">Setting the Viewport</h3>
<h2 id="resolution" name="resolution">Image Resolution Optimization</h2>
<p>In Web applications, optimization of applications for various platforms (regarding devices, OS, and resolution) is efficient.</p>
- <p><a href="media_query_w.htm">Media Queries</a> and <a href="http://www.w3.org/TR/2012/WD-css3-flexbox-20120612/" target="blank">Flexible Box Layout</a> can be used to create flexible layouts, and to build the <a href="https://developer.tizen.org/downloads/sample-web-applications/load-web-app-tizen-sdk" target="blank">deployable package</a> easily.</p>
+ <p><a href="media_query_w.htm">Media Queries</a> and <a href="http://www.w3.org/TR/2012/WD-css3-flexbox-20120612/" target="blank">Flexible Box Layout</a> can be used to create flexible layouts, and to build the deployable package easily.</p>
<p>Images can be used in Web applications in the following ways:</p>
<ul><li><span style="font-family: Courier New,Courier,monospace">IMG</span> tag linking images directly to HTML</li>
<ul class="toc">
<li><a href="../../../../../org.tizen.web.apireference/html/w3c_api/w3c_api_m.html#transforms">CSS Transforms API for Mobile Web</a></li>
<li><a href="../../../../../org.tizen.web.apireference/html/w3c_api/w3c_api_w.html#transforms">CSS Transforms API for Wearable Web</a></li>
+ <li><a href="https://developer.tizen.org/development/sample/web/General/Rotary_Timer" target="_blank">Rotary Timer Sample Description</a></li>
<li><a href="https://developer.tizen.org/development/sample/web/General/Spinning_Arrow" target="_blank">Spinning Arrow Sample Description</a></li>
</ul>
</div></div>
<topic href="html/web/connectivity/bluetooth_w.htm" label="Bluetooth">
<topic href="html/web/connectivity/task_bluetoothchat_w.htm" label="Task: Bluetooth Chat"></topic>
</topic>
- <topic href="html/web/connectivity/nfc_w.htm" label="Near Field Communication (NFC)">
+ <topic href="html/web/connectivity/nfc_w.htm" label="NFC">
<topic href="html/web/connectivity/task_contactsexchanger_w.htm" label="Task: Contacts Exchanger"></topic>
</topic>
<topic href="html/web/connectivity/secure_element_w.htm" label="Secure Element Access"></topic>
<p>To effectively protect the device system and user private data, the Tizen security architecture is based on privileges and application signing of the Linux basic security model, which includes process isolation and mandatory access control. Since Tizen, as an open mobile platform, provides a wide range of features and experiences for users with a variety of applications, the users must be able to grant privileges for security-sensitive operations.</p>
-<p>Tizen provides API-level access control for security-sensitive operations which, if not used correctly, can harm user privacy and system stability. Therefore, applications that use such sensitive APIs must declare the required privileges in the <a href="../process/setting_properties_n.htm#manifest">tizen-manifest.xml</a> file. Privileges are categorized into 3 levels-public, partner and platform- according to their hierarchy. The public level is the minimum privilege level hence any application developed by using the SDK can use these privileges. The partner level privileges require at least a partner-signed certificate which is granted to developers who have business relationship with the vendor. The platform level is the highest privilege level, and an application that needs theses privileges requires at least a platform-signed certificate which is granted to the vendor developers.</p>
+<p>Tizen provides API-level access control for security-sensitive operations which, if not used correctly, can harm user privacy and system stability. Therefore, applications that use such sensitive APIs must declare the required privileges in the <a href="../process/setting_properties_n.htm#manifest">tizen-manifest.xml</a> file. Privileges are categorized into public, partner, and platform levels according to their hierarchy:</p>
+<ul>
+<li>The public level is the minimum privilege level, which means that any application developed using the Tizen Studio can use these privileges.</li>
+<li>The partner level privileges require at least a partner-signed certificate which is granted to developers who have a business relationship with the vendor.</li>
+<li>The platform level is the highest privilege level, and an application that needs these privileges requires at least a platform-signed certificate, which is granted to vendor developers.</li>
+</ul>
<p>If an application invokes a privileged API, the Tizen system checks whether the privilege is present in the <span style="font-family: Courier New,Courier,monospace">tizen-manifest.xml</span> file. If the privilege is not present in the file, the system prohibits the application execution.</p>
<p>The Tizen Studio also provides privilege checker tools to check whether the Tizen application source code contains any privilege violations. For more information, see <a href="../../../../org.tizen.studio/html/native_tools/api_checker_n.htm">Verifying APIs and Privileges</a>.</p>
<td>platform</td>
<td>2.3.1</td>
<td>Locking/unlocking secure repository</td>
-<td>The application can lock and unlock a password-protected storage, and manage password changes for it.</td>
+<td>The application can lock and unlock a password-protected storage, and manage password changes for it.</td>
</tr>
<tr>
<td><span style="font-family: Courier New,Courier,monospace;">http://tizen.org/privilege/led</span></td>
<th>Description</th>
</tr>
<tr>
- <td><span style="font-family: Courier New,Courier,monospace">LOCATIONS_METHOD_HYRBID</span></td>
+ <td><span style="font-family: Courier New,Courier,monospace">LOCATIONS_METHOD_HYBRID</span></td>
<td>GPS, Wi-Fi AP, cell information</td>
<td>This method allows the device to use all location sources. It provides the best effort with the highest power consumption.</td>
</tr>
int ret;
/* Create the location service to use all positioning sources */
- ret = location_manager_create(LOCATIONS_METHOD_HYRBID, &manager);
+ ret = location_manager_create(LOCATIONS_METHOD_HYBRID, &manager);
if (ret != LOCATIONS_ERROR_NONE) {
dlog_print(DLOG_ERROR, LOG_TAG, "location_manager_create() failed.(%d)", ret);
}
<p>To effectively protect the device system and user private data, the Tizen security architecture is based on privileges and application signing of the Linux basic security model, which includes process isolation and mandatory access control. Since Tizen, as an open mobile platform, provides a wide range of features and experiences for users with a variety of applications, the users must be able to grant privileges for security-sensitive operations.</p>
-<p>Tizen provides API-level access control for security-sensitive operations which, if not used correctly, can harm user privacy and system stability. Therefore, applications that use such sensitive APIs must declare the required privileges in the <a href="../process/setting_properties_w.htm#privilege">config.xml</a> file. Privileges are categorized into 3 levels-public, partner and platform- according to their hierarchy. The public level is the minimum privilege level hence any application developed by using the SDK can use these privileges. The partner level privileges require at least a partner-signed certificate which is granted to developers who have business relationship with the vendor. The platform level is the highest privilege level, and an application that needs theses privileges requires at least a platform-signed certificate which is granted to the vendor developers.</p>
+<p>Tizen provides API-level access control for security-sensitive operations which, if not used correctly, can harm user privacy and system stability. Therefore, applications that use such sensitive APIs must declare the required privileges in the <a href="../process/setting_properties_w.htm#privilege">config.xml</a> file. Privileges are categorized into public, partner, and platform levels according to their hierarchy:</p>
+<ul>
+<li>The public level is the minimum privilege level, which means that any application developed using the Tizen Studio can use these privileges.</li>
+<li>The partner level privileges require at least a partner-signed certificate which is granted to developers who have a business relationship with the vendor.</li>
+<li>The platform level is the highest privilege level, and an application that needs these privileges requires at least a platform-signed certificate, which is granted to vendor developers.</li>
+</ul>
<p>If an application invokes a privileged API, the Tizen system checks whether the privilege is present in the <span style="font-family: Courier New,Courier,monospace">config.xml</span> file. If the privilege is not present in the file, the system prohibits the application execution.</p>
<p>The Tizen Studio also provides privilege checker tools to check whether the Tizen application source code contains any privilege violations. For more information, see <a href="../../../../org.tizen.studio/html/web_tools/privilege_checker_w.htm">Verifying Privilege Usage</a>.</p>
<td>
<ul>
<li>Guides: <a href="../../../../org.tizen.guides/html/web/ui/tau/tau_w.htm">Tizen Advanced UI</a></li>
- <li>API Reference: <a href="../../../../org.tizen.web.apireference/html/ui_fw_api/ui_fw_api_cover.html">Advanced UI Framework</a></li>
+ <li>API Reference: <a href="../../../../org.tizen.web.apireference/html/ui_fw_api/ui_fw_api_cover.htm">Advanced UI Framework</a></li>
</ul></td>
</tr>
</tbody>
</tr>
<tr>
<td>Tizen</td>
- <td>This API contain classes and interfaces that provide a set of basic definitions and interfaces that are used in the Tizen Device API.
+ <td>This API contains classes and interfaces that provide a set of basic definitions and interfaces that are used in the Tizen Device API.
<p>You can use filters and sorting modes for query methods, generic success and error event handlers, a generic error interface, and a simple coordinate interface for defining location information.</p></td>
<td>
<ul>
<td>
<ul>
<li>Guides: <a href="../../../../org.tizen.guides/html/web/ui/tau/tau_w.htm">Tizen Advanced UI</a></li>
- <li>API Reference: <a href="../../../../org.tizen.web.apireference/html/ui_fw_api/ui_fw_api_cover.html">Advanced UI Framework</a></li>
+ <li>API Reference: <a href="../../../../org.tizen.web.apireference/html/ui_fw_api/ui_fw_api_cover.html">Web UI Framework</a></li>
</ul></td>
</tr>
</tbody>
}());
</pre>
-<p>The above steps have created a simple Tizen mobile Web application with the TAU library. For more advanced UI components and APIs, see <a href="../../../../org.tizen.guides/html/web/ui/tau/tau_w.htm">Tizen Advanced UI</a> and <a href="../../../../org.tizen.web.apireference/html/ui_fw_api/ui_fw_api_cover.html">TAU API Reference</a>.</p>
+<p>The above steps have created a simple Tizen mobile Web application with the TAU library. For more advanced UI components and APIs, see <a href="../../../../org.tizen.guides/html/web/ui/tau/tau_w.htm">Tizen Advanced UI</a> and <a href="../../../../org.tizen.web.apireference/html/ui_fw_api/ui_fw_api_cover.htm">TAU API Reference</a>.</p>
</li>
</ol>
<h2 id="design" name="design" >Designing the Application UI</h2>
-<p>You can design the application UI using the UI components defined in the <a href="../../../../org.tizen.web.apireference/html/ui_fw_api/ui_fw_api_cover.html">Tizen Advanced UI Framework</a>.</p>
+<p>You can design the application UI using the UI components defined in the Tizen Advanced UI Framework (in <a href="../../../../org.tizen.web.apireference/html/ui_fw_api/ui_fw_api_cover.htm">mobile</a> and <a href="../../../../org.tizen.web.apireference/html/ui_fw_api/ui_fw_api_cover.html">wearable</a> applications).</p>
<h2 id="code" name="code">Coding the Application</h2>
<p>A hybrid application package is very useful to Web applications that need background processing or monitoring. A native service application does not have a UI and can be run in the background.</p>
<p>The Web application and native service applications within a hybrid application package share the same package ID and data folder. Sharing application data between them is easy. Many useful inter-application APIs, such as <a href="../../../../org.tizen.native.mobile.apireference/group__CAPI__MESSAGE__PORT__MODULE.html">Message Port</a> and <a href="../../../../org.tizen.native.mobile.apireference/group__CAPI__APP__CONTROL__MODULE.html">AppControl</a>, can be used in a hybrid application package.</p>
- <p>For more information on hybrid applications and their package structure, see <a href="https://developer.tizen.org/downloads/sample-applications/sample-mobile-applications" target="blank">HybridWebApp and HybridServiceApp</a>, and <a href="../app_model/application_model_w.htm#hap">Hybrid Application Package</a>.</p>
+ <p>For more information on hybrid applications and their package structure, see Hybrid Web App sample (in <a href="https://developer.tizen.org/development/sample/web/Hybrid/Hybrid_Web_App" target="blank">mobile</a> and <a href="https://developer.tizen.org/development/sample/web/Hybrid/Hybrid_Web_App_1" target="blank">wearable</a> applications), <a href="https://developer.tizen.org/development/sample/native/AppFW/Hybrid_Service" target="blank">Hybrid Service sample</a>, and <a href="../app_model/application_model_w.htm#hap">Hybrid Application Package</a>.</p>
<h2 id="cert" name="cert">Certifying and Publishing the Application</h2>