[WebDeviceAPI] Add the prerequisites tag for every tutorial
authortaekeun.kang <taekeun.kang@samsung.com>
Tue, 15 Mar 2016 01:25:12 +0000 (10:25 +0900)
committertaekeun.kang <taekeun.kang@samsung.com>
Wed, 16 Mar 2016 02:33:03 +0000 (11:33 +0900)
Change-Id: Iea788843750e9453fec19b34c05ae52135cf28ab
Signed-off-by: taekeun.kang <taekeun.kang@samsung.com>
38 files changed:
org.tizen.tutorials/html/web/tizen/account/account_tutorial_w.htm
org.tizen.tutorials/html/web/tizen/application/alarm_tutorial_w.htm
org.tizen.tutorials/html/web/tizen/application/appgroup_tutorial_w.htm
org.tizen.tutorials/html/web/tizen/application/application_tutorial_w.htm
org.tizen.tutorials/html/web/tizen/application/badge_tutorial_w.htm
org.tizen.tutorials/html/web/tizen/application/data_tutorial_w.htm
org.tizen.tutorials/html/web/tizen/application/inputdevice_tutorial_w.htm
org.tizen.tutorials/html/web/tizen/application/message_port_tutorial_w.htm
org.tizen.tutorials/html/web/tizen/application/noti_tutorial_w.htm
org.tizen.tutorials/html/web/tizen/application/package_tutorial_w.htm
org.tizen.tutorials/html/web/tizen/base/archive_tutorial_w.htm
org.tizen.tutorials/html/web/tizen/base/filesystem_tutorial_w.htm
org.tizen.tutorials/html/web/tizen/base/tizen_tutorial_w.htm
org.tizen.tutorials/html/web/tizen/content/content_tutorial_w.htm
org.tizen.tutorials/html/web/tizen/content/download_tutorial_w.htm
org.tizen.tutorials/html/web/tizen/messaging/messaging_tutorial_w.htm
org.tizen.tutorials/html/web/tizen/messaging/push_tutorial_w.htm
org.tizen.tutorials/html/web/tizen/multimedia/exif_tutorial_w.htm
org.tizen.tutorials/html/web/tizen/multimedia/fm_radio_tutorial_w.htm
org.tizen.tutorials/html/web/tizen/multimedia/media_controller_tutorial_w.htm
org.tizen.tutorials/html/web/tizen/multimedia/media_key_tutorial_w.htm
org.tizen.tutorials/html/web/tizen/multimedia/sound_tutorial_w.htm
org.tizen.tutorials/html/web/tizen/network/bluetooth_tutorial_w.htm
org.tizen.tutorials/html/web/tizen/network/nfc_tutorial_w.htm
org.tizen.tutorials/html/web/tizen/network/secure_element_tutorial_w.htm
org.tizen.tutorials/html/web/tizen/service/service_tutorial_w.htm
org.tizen.tutorials/html/web/tizen/social/bookmark_tutorial_w.htm
org.tizen.tutorials/html/web/tizen/social/calendar_tutorial_w.htm
org.tizen.tutorials/html/web/tizen/social/call_history_tutorial_w.htm
org.tizen.tutorials/html/web/tizen/social/contact_tutorial_w.htm
org.tizen.tutorials/html/web/tizen/social/data_sync_tutorial_w.htm
org.tizen.tutorials/html/web/tizen/system/ham_tutorial_w.htm
org.tizen.tutorials/html/web/tizen/system/power_tutorial_w.htm
org.tizen.tutorials/html/web/tizen/system/sensor_tutorial_w.htm
org.tizen.tutorials/html/web/tizen/system/system_info_tutorial_w.htm
org.tizen.tutorials/html/web/tizen/system/system_setting_tutorial_w.htm
org.tizen.tutorials/html/web/tizen/system/time_tutorial_w.htm
org.tizen.tutorials/html/web/tizen/system/web_setting_tutorial_w.htm

index f092ae0..7d1cef8 100644 (file)
 </li>
 </ul>
 
+     <h2>Prerequisites</h2>
+      <p>To use the account APIs, the application has to request permission by adding the corresponding privileges to the config.xml file.</p>
+      <pre class="prettyprint">&lt;tizen:privilege name=&quot;http://tizen.org/privilege/account.read&quot;/&gt;
+&lt;tizen:privilege name=&quot;http://tizen.org/privilege/account.write&quot;/&gt;</pre>
+
                 <h2 id="get_account" name="get_account">Retrieving Accounts</h2>
                                
 
index 7d1c808..7cdb576 100644 (file)
    <li><a href="#launch">Launching Applications with Alarms</a> <p>Launch an application or application service when an alarm is triggered.</p></li>
    <li><a href="#check">Checking for Alarm Events</a> <p>Check when the next absolute or relative alarm is going to be triggered.</p></li>
   </ul>
+
+     <h2>Prerequisites</h2>
+      <p>To use the alarm APIs, the application has to request permission by adding the corresponding privileges to the config.xml file.</p>
+      <pre class="prettyprint">&lt;tizen:privilege name=&quot;http://tizen.org/privilege/alarm&quot;/&gt;</pre>
   
                                <h2 id="manage" name="manage">Managing Alarms</h2>
                        
index 7025ca4..f7a1417 100644 (file)
@@ -48,6 +48,9 @@ This tutorial demonstrates how you can define the application launch mode and ma
     <p>Set the launch mode when calling an application through an app control.</p></li>
 </ul>
 
+     <h2>Prerequisites</h2>
+      <p>To use the application APIs, the application has to request permission by adding the corresponding privileges to the config.xml file.</p>
+      <pre class="prettyprint">&lt;tizen:privilege name=&quot;http://tizen.org/privilege/application.launch&quot;/&gt;</pre>
 
 <h2 id="mode" name="mode">Controlling the Launch Mode</h2>
 
index f8f9a5b..81c7f4f 100644 (file)
          <li><a href="#handle">Handling Application Control Requests</a> <p>Handle requests from other applications and reply with a result.</p></li> 
          <li><a href="#broadcast_event">Broadcasting and Listening for Events</a> <p>Broadcast your own events and listen for events from other applications.</p></li>
   </ul> 
-       
+
+     <h2>Prerequisites</h2>
+      <p>To use the application APIs, the application has to request permission by adding the corresponding privileges to the config.xml file.</p>
+      <pre class="prettyprint">&lt;tizen:privilege name=&quot;http://tizen.org/privilege/application.info&quot;/&gt;
+&lt;tizen:privilege name=&quot;http://tizen.org/privilege/application.launch&quot;/&gt;
+&lt;tizen:privilege name=&quot;http://tizen.org/privilege/appmanager.kill&quot;/&gt;</pre>
        
                 <h2 id="retrieve" name="retrieve">Retrieving Application Information</h2>
                                
index 86145f4..6cc5f68 100644 (file)
  <li><a href="#receive">Receiving Notifications on Badge Changes</a> <p>Register an event handler for badge changes.</p></li>
 </ul>
 
+     <h2>Prerequisites</h2>
+      <p>To use the badge APIs, the application has to request permission by adding the corresponding privileges to the config.xml file.</p>
+      <pre class="prettyprint">&lt;tizen:privilege name=&quot;http://tizen.org/privilege/notification&quot;/&gt;</pre>
+
                 <h2 id="manage" name="manage">Managing Badges</h2>
 
 <p>Getting and setting the badge number is a useful UI management skill:</p>
index e0f4b94..e27c506 100644 (file)
    <li><a href="#map">Managing Data in Key-value Pairs</a><p>Get, add, update, and remove values assigned to a key.</p></li>
    <li><a href="#sql">Managing SQL-type Data</a><p>Select, insert, update, and remove SQL-type data.</p></li>
   </ul>
+
+     <h2>Prerequisites</h2>
+      <p>To use the data control APIs, the application has to request permission by adding the corresponding privileges to the config.xml file.</p>
+      <pre class="prettyprint">&lt;tizen:privilege name=&quot;http://tizen.org/privilege/datacontrol.consumer&quot;/&gt;</pre>
  
                                <h2 id="map" name="map">Managing Data in Key-value Pairs</h2>
                                
index 55b150e..5060bdb 100644 (file)
@@ -50,6 +50,9 @@
  <li><a href="#reg_unreg">Registering and Unregistering Keys</a> <p>Register keys to handle DOM events for them.</p></li>
 </ul>
 
+     <h2>Prerequisites</h2>
+      <p>There are not any privileges to be required for this APIs.</p>
+
 <h2 id="getkeys" name="getkeys">Getting a List of All Supported Keys</h2>
 
 <p>To manage input device keys, you must learn to gather a list of all supported keys:</p>
index 2622c29..7c77b8a 100644 (file)
       <ul>
        <li><a href="#Manage_Message_Port">Managing Message Ports</a> <p>Send and receive messages.</p> </li>
       </ul>
-       
+
+     <h2>Prerequisites</h2>
+      <p>There are not any privileges to be required for this APIs.</p>
+
                 <h2 id="Manage_Message_Port" name="Manage_Message_Port">Managing Message Ports</h2>
                                
   <p>Learning how to send messages to and receive responses from other Tizen applications through message ports is a basic data communication skill:</p> 
index 9967c8e..6cf29a7 100644 (file)
    <li><a href="#manage">Managing Notifications</a> <p>Retrieve, update, and remove posted notifications.</p></li>
   </ul>
 
+     <h2>Prerequisites</h2>
+      <p>To use the notification APIs, the application has to request permission by adding the corresponding privileges to the config.xml file.</p>
+      <pre class="prettyprint">&lt;tizen:privilege name=&quot;http://tizen.org/privilege/notification&quot;/&gt;</pre>
+
                                <h2 id="create" name="create">Creating Simple Notifications</h2>
                                
                        <p>Learning how to create status notifications allows you to design interactive applications that provide the user information about their events:</p> 
index 400325d..75b2ece 100644 (file)
    <li><a href="#retrieve">Retrieving Package Information</a> <p>Display a list of installed packages on the device, and retrieve package information, such as name, ID, icon path, and version.</p></li> 
    <li><a href="#manage">Managing Packages</a> <p>Install or uninstall packages.</p></li> 
    <li><a href="#receive">Receiving Package Change Notifications</a> <p>Receive notifications if packages are installed, updated, or uninstalled.</p></li> 
-  </ul>                
-  
+  </ul>
+
+     <h2>Prerequisites</h2>
+      <p>To use the package manager APIs, the application has to request permission by adding the corresponding privileges to the config.xml file.</p>
+      <pre class="prettyprint">&lt;tizen:privilege name=&quot;http://tizen.org/privilege/package.info&quot;/&gt;
+&lt;tizen:privilege name=&quot;http://tizen.org/privilege/packagemanager.install&quot;/&gt;</pre>
+
                 <h2 id="retrieve" name="retrieve">Retrieving Package Information</h2>
                                
                 <p>Learning how to retrieve information about installed packages allows you to manage device packages from your application:</p>
index 7a74a9d..516922f 100644 (file)
  <li><a href="#extract">Extracting Files from an Archive</a> <p>Extract all files from an archive, or extract a selected file.</p></li>
 </ul>
 
+     <h2>Prerequisites</h2>
+      <p>To use the archive APIs, the application has to request permission by adding the corresponding privileges to the config.xml file.</p>
+      <pre class="prettyprint">&lt;tizen:privilege name=&quot;http://tizen.org/privilege/filesystem.read&quot;/&gt;
+&lt;tizen:privilege name=&quot;http://tizen.org/privilege/filesystem.write&quot;/&gt;</pre>
+
                 <h2 id="read" name="read">Reading the Content of an Archive</h2>
 
 <p>Opening an archive and accessing a list of its members is a basic archive management skill:</p>
index 3ca84a8..c5c69a2 100644 (file)
    <li><a href="#file_dir">Managing Files and Directories</a> <p>Open, read, write, copy, move, and close files and directories.</p></li>
 </ul>
 
+     <h2>Prerequisites</h2>
+      <p>To use the filesystem APIs, the application has to request permission by adding the corresponding privileges to the config.xml file.</p>
+      <pre class="prettyprint">&lt;tizen:privilege name=&quot;http://tizen.org/privilege/filesystem.read&quot;/&gt;
+&lt;tizen:privilege name=&quot;http://tizen.org/privilege/filesystem.write&quot;/&gt;</pre>
+
  <h2>Task</h2>
 <p>In the <a href="task_filemanager_w.htm">File Manager</a> task, we will walk through how to manage files in your application.</p>
 
index 8ed8d77..159baa7 100644 (file)
@@ -64,6 +64,9 @@
    <li><a href="#make">Making Complex Queries Using Filters</a> <p>Create complex queries by combining filters.</p></li>
   </ul>
 
+     <h2>Prerequisites</h2>
+      <p>There are not any privileges to be required for this APIs.</p>
+
  <h2 id="filter" name="filter">Creating Attribute Filters</h2>
 
   <p> Learning how to create attribute filters allows you effectively incorporate query methods in your application:</p>
index 6b4a3d6..bf5aaf2 100644 (file)
        <li><a href="#items">Managing Playlist Items</a> <p>Add, retrieve, and remove items. Change item position and order.</p></li></ul>
        </li>
   </ul>
+
+     <h2>Prerequisites</h2>
+      <p>To use the content APIs, the application has to request permission by adding the corresponding privileges to the config.xml file.</p>
+      <pre class="prettyprint">&lt;tizen:privilege name=&quot;http://tizen.org/privilege/content.read&quot;/&gt;
+&lt;tizen:privilege name=&quot;http://tizen.org/privilege/content.write&quot;/&gt;</pre>
   
   <h2 id="task" name="task">Task</h2>
   <p>In the <a href="task_mediacontent_w.htm">Media Content</a> task, we will walk through how to browse and manage the media directories in your application.</p>
@@ -112,7 +117,7 @@ manager.find(onContentItemArraySuccess, null, null, filter);
 
   <p>Learning how to view content details and update them is a basic content management skill:</p>
   <ol>
-   <li><p>Retrieve the<span style="font-family: Courier New,Courier,monospace">ContentManager</span> interface instance (in <a href="../../../../../org.tizen.web.apireference/html/device_api/mobile/tizen/content.html#ContentManager">mobile</a> and <a href="../../../../../org.tizen.web.apireference/html/device_api/wearable/tizen/content.html#ContentManager">wearable</a> applications) using the <span style="font-family: Courier New,Courier,monospace">tizen</span> global object, and search for the item whose details you want to update.</p> <p>In the following example, the item whose title is <span style="font-family: Courier New,Courier,monospace">image7.jpg</span> is retrieved.</p> <pre class="prettyprint">var manager = tizen.content();
+   <li><p>Retrieve the<span style="font-family: Courier New,Courier,monospace">ContentManager</span> interface instance (in <a href="../../../../../org.tizen.web.apireference/html/device_api/mobile/tizen/content.html#ContentManager">mobile</a> and <a href="../../../../../org.tizen.web.apireference/html/device_api/wearable/tizen/content.html#ContentManager">wearable</a> applications) using the <span style="font-family: Courier New,Courier,monospace">tizen</span> global object, and search for the item whose details you want to update.</p> <p>In the following example, the item whose title is <span style="font-family: Courier New,Courier,monospace">image7.jpg</span> is retrieved.</p> <pre class="prettyprint">var manager = tizen.content;
 
 var filter = new tizen.AttributeFilter(&quot;title&quot;, &quot;EXACTLY&quot;, &quot;image7.jpg&quot;);
 manager.find(onMediaItemArraySuccess, null, null, filter);</pre></li>
index c432cf1..0c37d1c 100644 (file)
    <li><a href="#manage">Managing Downloads</a> <p>Start, pause, and cancel downloading a file.</p></li>
    <li><a href="#check">Checking the Download State and Information</a> <p>Check whether a download is currently ongoing, failed, paused, or completed, and retrieve the download information.</p></li>
   </ul>
+
+     <h2>Prerequisites</h2>
+      <p>To use the download APIs, the application has to request permission by adding the corresponding privileges to the config.xml file.</p>
+      <pre class="prettyprint">&lt;tizen:privilege name=&quot; http://tizen.org/privilege/download&quot;/&gt;</pre>
   
    <h2>Task</h2> 
   <p>In the <a href="task_downloadmanager_w.htm">Download Manager</a> task, we will walk through how to download URL content to the device storage.</p> 
index 8fe21f1..d1c3eb4 100644 (file)
        <li><a href="#Receiving_Notifications">Receiving Notifications on Message Storage Changes</a> <p>Receive notifications when messages are added, updated, or deleted.</p></li>
        
       </ul>
+
+     <h2>Prerequisites</h2>
+      <p>To use the messaging APIs, the application has to request permission by adding the corresponding privileges to the config.xml file.</p>
+      <pre class="prettyprint">&lt;tizen:privilege name=&quot;http://tizen.org/privilege/messaging.read&quot;/&gt;
+&lt;tizen:privilege name=&quot;http://tizen.org/privilege/messaging.write&quot;/&gt;</pre>
+
   <h2 id="task" name="task">Task</h2>
       <p>In the <a href="task_chatter_w.htm">Chatter</a> task, we will walk through how to send, receive, and manage messages in your application.</p>
        
index f6f6d72..cd8949e 100644 (file)
        <li><a href="#Registering">Registering to the Push Service</a> <p>Register to the push service and get the registration identifier.</p> </li>
        <li><a href="#Receiving">Receiving Push Notifications</a> <p>Connect to the push service and start receiving push notifications.</p></li>
       </ul>
-         
+
+     <h2>Prerequisites</h2>
+      <p>To use the push APIs, the application has to request permission by adding the corresponding privileges to the config.xml file.</p>
+      <pre class="prettyprint">&lt;tizen:privilege name=&quot;http://tizen.org/privilege/push&quot;/&gt;</pre>
+
   <h2 id="Registering" name="Registering">Registering to the Push Service</h2>
   
   <p>To receive push notifications, you must learn how to register your application to the push service:</p> 
index c26eb1f..6068070 100644 (file)
@@ -53,6 +53,9 @@
  <li><a href="#copy">Copying the EXIF Data</a> <p>Copy the EXIF data from one JPEG file to another.</p></li>
 </ul>
 
+     <h2>Prerequisites</h2>
+      <p>There are not any privileges to be required for this APIs.</p>
+
                 <h2 id="load" name="load">Loading the EXIF Data</h2>
 
 <p>Learning how to retrieve EXIF data from JPEG files is a useful content management skill:</p>
index c792f0f..1ab4617 100644 (file)
@@ -51,6 +51,9 @@
 <li><a href="#get_info">Getting Information about Interruptions</a><p>Set an event handler to retrieve information about radio playback interruptions and restart the playback.</p></li>
 </ul>
 
+     <h2>Prerequisites</h2>
+      <p>There are not any privileges to be required for this APIs.</p>
+
                 <h2 id="manage" name="manage">Managing the FM Radio</h2>
 
 <p>Starting and stopping an FM radio and changing the frequency is a basic FM radio management skill:</p>
index af7d425..577ccb4 100644 (file)
@@ -57,6 +57,10 @@ This tutorial demonstrates how you can to develop server and client applications
     <p>Send a custom command from the client, and receive and handle it in the server.</p></li>
 </ul>
 
+     <h2>Prerequisites</h2>
+      <p>To use the media controller APIs, the application has to request permission by adding the corresponding privileges to the config.xml file.</p>
+      <pre class="prettyprint">&lt;tizen:privilege name=&quot;http://tizen.org/privilege/mediacontroller.client&quot;/&gt;
+&lt;tizen:privilege name=&quot;http://tizen.org/privilege/mediacontroller.server&quot;/&gt;</pre>
 
 <h2 id="create" name="create">Getting the Client and Server</h2>
 
index 2a32b6c..a50991e 100644 (file)
@@ -48,6 +48,9 @@
  <li><a href="#state">Managing Media Key State Changes</a> <p>Register a listener and monitor changes in the media key states.</p> </li>
 </ul>
 
+     <h2>Prerequisites</h2>
+      <p>There are not any privileges to be required for this APIs.</p>
+
                 <h2 id="state" name="state">Managing Media Key State Changes</h2>
 
 <p>Learning how to register key event listener is a basic media key management skill:</p>
index f63c69c..ca23ab6 100644 (file)
  <li><a href="#monitor_sound_device">Monitoring the Sound Device State</a> <p>Track changes in the state of sound devices.</p> </li>
 </ul>
 
+     <h2>Prerequisites</h2>
+      <p>To use the sound APIs, the application has to request permission by adding the corresponding privileges to the config.xml file.</p>
+      <pre class="prettyprint">&lt;tizen:privilege name=&quot;http://tizen.org/privilege/volume.set&quot;/&gt;</pre>
+
                 <h2 id="manage" name="manage">Managing Sound Mode and Volume</h2>
 
 <p>Managing sound modes and volume levels is a basic multimedia management skill:</p>
index f8c30b2..225004e 100644 (file)
                  </ul>    
           </li>
       </ul>
+
+     <h2>Prerequisites</h2>
+      <p>To use the application and bluetooth APIs, the application has to request permission by adding the corresponding privileges to the config.xml file.</p>
+      <pre class="prettyprint">&lt;tizen:privilege name=&quot;http://tizen.org/privilege/application.launch&quot;/&gt;
+&lt;tizen:privilege name=&quot;http://tizen.org/privilege/bluetooth&quot;/&gt;</pre>
+
        <h2 id="task" name="task">Task</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>
         
index 1688d13..8a332f8 100644 (file)
       </ul>
       <h2 id="task" name="task">Task in Mobile Applications</h2>
       <p>In the <a href="task_contactsexchanger_w.htm">Contacts Exchanger</a> task, we will walk through how to exchange contacts between devices over an NFC connection.</p>
-         
+
+     <h2>Prerequisites</h2>
+      <p>To use the application and NFC APIs, the application has to request permission by adding the corresponding privileges to the config.xml file.</p>
+      <pre class="prettyprint">&lt;tizen:privilege name=&quot;http://tizen.org/privilege/application.launch&quot;/&gt;
+&lt;tizen:privilege name=&quot;http://tizen.org/privilege/nfc.cardemulation&quot;/&gt;
+&lt;tizen:privilege name=&quot;http://tizen.org/privilege/nfc.common&quot;/&gt;
+&lt;tizen:privilege name=&quot;http://tizen.org/privilege/nfc.p2p&quot;/&gt;
+&lt;tizen:privilege name=&quot;http://tizen.org/privilege/nfc.tag&quot;/&gt;</pre>
 
   <h2 id="Managing_NFC_Conn" name="Managing_NFC_Conn">Managing NFC Connectivity</h2>
   
index 62b4fa7..e78a9ee 100644 (file)
            <li><a href="#Closing_Sessions">Closing Sessions and Channels</a> <p>Close specific channels and sessions, or all channels and sessions.</p></li>
           </ul>
 
+     <h2>Prerequisites</h2>
+      <p>To use the secure element APIs, the application has to request permission by adding the corresponding privileges to the config.xml file.</p>
+      <pre class="prettyprint">&lt;tizen:privilege name=&quot;http://tizen.org/privilege/secureelement&quot;/&gt;</pre>
+
   <h2 id="Managing_Secure_Element" name="Managing_Secure_Element">Managing Secure Elements</h2>
   
   <p>To use secure elements in your application, you must learn to retrieve them and track changes in them:</p> 
@@ -168,7 +172,7 @@ channel.close();
    <li><p>To close all channels within a specific session, use the <span style="font-family: Courier New,Courier,monospace">closeChannels()</span> method of the <span style="font-family: Courier New,Courier,monospace">Session</span> interface (in <a href="../../../../../org.tizen.web.apireference/html/device_api/mobile/tizen/se.html#Session">mobile</a> and <a href="../../../../../org.tizen.web.apireference/html/device_api/wearable/tizen/se.html#Session">wearable</a> applications):</p> <pre class="prettyprint">
 session.closeChannels();
 </pre> </li> 
-     <li><p>To close a specific session, use the <span style="font-family: Courier New,Courier,monospace">close()</span> method of the <span style="font-family: Courier New,Courier,monospace">Session</span> interface:</p> <pre class="prettyprint">
+     <li><p>To close a specific session, use the <span style="font-family: Courier New,Courier,monospace">close()</span> method of the <span style="font-family: Courier New,Courier,monospace">Session</span> interface (in <a href="../../../../../org.tizen.web.apireference/html/device_api/mobile/tizen/se.html#Session">mobile</a> and <a href="../../../../../org.tizen.web.apireference/html/device_api/wearable/tizen/se.html#Session">wearable</a> applications):</p> <pre class="prettyprint">
 session.close();
 </pre> </li> 
    <li><p>To close all session for a specific reader, use the <span style="font-family: Courier New,Courier,monospace">closeSessions()</span> method of the <span style="font-family: Courier New,Courier,monospace">Reader</span> interface (in <a href="../../../../../org.tizen.web.apireference/html/device_api/mobile/tizen/se.html#Reader">mobile</a> and <a href="../../../../../org.tizen.web.apireference/html/device_api/wearable/tizen/se.html#Reader">wearable</a> applications):</p> <pre class="prettyprint">
index e1f5ef8..9031b0c 100644 (file)
 <p>Terminate a service application</p></li>
 </ul>
 
+     <h2>Prerequisites</h2>
+      <p>To use the application APIs, the application has to request permission by adding the corresponding privileges to the config.xml file.</p>
+      <pre class="prettyprint">&lt;tizen:privilege name=&quot;http://tizen.org/privilege/application.launch&quot;/&gt;</pre>
+
                                <h2 id="create" name="create">Creating a Service Application</h2>
                                
  <p>Learning how to create a service application is a basic application management skill:</p>
@@ -126,7 +130,7 @@ module.exports.onExit = function()
 <p>The <span style="font-family: Courier New,Courier,monospace">&lt;tizen:service&gt;</span> element allows you to define the characteristics of the service application. For example, you can specify the name, icon, and starting JavaScipt file of the service application.</p>
 <pre class="prettyprint lang-js">
 &lt;?xml version=&quot;1.0&quot;encoding=&quot;TF-8&quot;&gt;
-&lt;widget xmlns=&quot;http://www.w3.org/ns/widgets&quot; xmlns:tizen=http://tizen.org/ns/widgets
+&lt;widget xmlns=&quot;http://www.w3.org/ns/widgets&quot; xmlns:tizen=&quot;http://tizen.org/ns/widgets&quot;
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id=&quot;http://yourdomain/WebServiceApplication&quot; version=&quot;1.0.0&quot; viewmodes=&quot;maximized&quot;&gt;
 &nbsp;&nbsp;&nbsp;&lt;tizen:application id=&quot;websvcapp0.WebServiceApplication&quot; package=&quot;websvcapp0&quot; required_version=&quot;2.3&quot; /&gt;
 &nbsp;&nbsp;&nbsp;&lt;content src=&quot;index.html&quot; /&gt;
index 8111f82..8edf717 100644 (file)
        <li><a href="#Retrieving_Bookmark">Retrieving the Bookmark List</a> <p>Retrieve a list of the current bookmarks in the root bookmark folder.</p> </li>\r
       </ul>\r
 \r
+     <h2>Prerequisites</h2>\r
+      <p>To use the bookmark APIs, the application has to request permission by adding the corresponding privileges to the config.xml file.</p>\r
+      <pre class="prettyprint">&lt;tizen:privilege name=&quot;http://tizen.org/privilege/bookmark.read&quot;/&gt;\r
+&lt;tizen:privilege name=&quot;http://tizen.org/privilege/bookmark.write&quot;/&gt;</pre>\r
+\r
  <h2 id="Creating_Bookmark" name="Creating_Bookmark">Creating Bookmark Folders and Items</h2>\r
  \r
   <p>To create engaging applications with bookmark-related features, you must learn how to add bookmark folders and items to the root bookmark folder and subfolders:</p> \r
index e1357ae..c9b581c 100644 (file)
                </ul></li>\r
                <li><a href="#Receiving_Calendar">Receiving Notifications on Calendar Changes</a> <p>Receive notifications when calendar items are added, updated, or deleted.</p></li>\r
       </ul>\r
+\r
+     <h2>Prerequisites</h2>\r
+      <p>To use the calendar APIs, the application has to request permission by adding the corresponding privileges to the config.xml file.</p>\r
+      <pre class="prettyprint">&lt;tizen:privilege name=&quot;http://tizen.org/privilege/calendar.read&quot;/&gt;\r
+&lt;tizen:privilege name=&quot;http://tizen.org/privilege/calendar.write&quot;/&gt;</pre>\r
+\r
   <h2 id="task" name="task">Task</h2>\r
         <p>In the <a href="task_eventmanager_w.htm">Event Manager</a> task, we will walk through how to manage calendar events in your application.</p>\r
        \r
index b179162..55d495a 100644 (file)
        <li><a href="#Removing_Call_History">Removing Call History Items</a> <p>Retrieve and remove call history items.</p></li>\r
        <li><a href="#Monitoring_Call_History">Monitoring the Call History</a> <p>Use event handlers to track changes in the call history.</p></li>\r
       </ul>\r
+\r
+     <h2>Prerequisites</h2>\r
+      <p>To use the call history APIs, the application has to request permission by adding the corresponding privileges to the config.xml file.</p>\r
+      <pre class="prettyprint">&lt;tizen:privilege name=&quot;http://tizen.org/privilege/callhistory.read&quot;/&gt;\r
+&lt;tizen:privilege name=&quot;http://tizen.org/privilege/callhistory.write&quot;/&gt;</pre>\r
+\r
   <h2 id="task" name="task">Task</h2>\r
       <p>In the <a href="task_calllog_w.htm">Call Log</a> task, we will walk through how to manage call logs in your application.</p>\r
 \r
index 0ab35a9..92e6b06 100644 (file)
                </li>\r
       </ul>\r
 \r
+     <h2>Prerequisites</h2>\r
+      <p>To use the contact APIs, the application has to request permission by adding the corresponding privileges to the config.xml file.</p>\r
+      <pre class="prettyprint">&lt;tizen:privilege name=&quot;http://tizen.org/privilege/contact.read&quot;/&gt;\r
+&lt;tizen:privilege name=&quot;http://tizen.org/privilege/contact.write&quot;/&gt;</pre>\r
+\r
   <h2 id="Adding_Addressbook" name="Adding_Addressbook">Creating an Address Book</h2>\r
   \r
   <p>Creating a new address book is a basic contact management skill:</p>\r
index 70db294..7b3a011 100644 (file)
        <li><a href="#Starting_Sync">Starting and Monitoring Data Synchronization</a> <p>Start the synchronization operation and receive notifications about its progress.</p></li>\r
       </ul>\r
 \r
+     <h2>Prerequisites</h2>\r
+      <p>To use the data sync APIs, the application has to request permission by adding the corresponding privileges to the config.xml file.</p>\r
+      <pre class="prettyprint">&lt;tizen:privilege name=&quot;http://tizen.org/privilege/datasync&quot;/&gt;</pre>\r
+\r
  <h2 id="Creating_Sync_Profile" name="Creating_Sync_Profile">Creating a Sync Profile</h2>\r
  \r
   <p>To be able to synchronize your device data, such as contacts and calendar events, with the OMA DS server, you must learn how to create a sync profile:</p>\r
index 9911c00..5db63f6 100644 (file)
     <li><a href="#receive">Receiving Notifications on Pedometer Data Changes</a> <p>Track the changes in the step count.</p></li>
 </ul>
 
+     <h2>Prerequisites</h2>
+      <p>To use the HAM APIs, the application has to request permission by adding the corresponding privileges to the config.xml file.</p>
+      <pre class="prettyprint">&lt;tizen:privilege name=&quot;http://tizen.org/privilege/healthinfo&quot;/&gt;</pre>
+
                 <h2 id="retrieve" name="retrieve">Retrieving Data</h2>
 
 <p>Enabling the monitor and retrieving data is a basic Human Activity Monitor (HAM) management skill:</p>
index 787ecc5..426487c 100644 (file)
@@ -50,6 +50,9 @@
    <li><a href="#brightness">Managing the Screen Brightness</a> <p>Get, set, and restore the screen brightness.</p></li>
    <li><a href="#screen">Managing the Screen State</a> <p>Switch the screen on and off, and check whether the screen is on.</p></li></ul>
 
+     <h2>Prerequisites</h2>
+      <p>To use the power APIs, the application has to request permission by adding the corresponding privileges to the config.xml file.</p>
+      <pre class="prettyprint">&lt;tizen:privilege name=&quot;http://tizen.org/privilege/power&quot;/&gt;</pre>
    
                                <h2 id="manage" name="manage">Managing the Power Resource</h2>
                        
index 37bf695..bb0aaf0 100644 (file)
@@ -50,6 +50,9 @@
  <li><a href="#receive">Receiving Notifications on Sensor Data Changes</a><p>Register an event handler to receive notifications on sensor data changes.</p></li>
 </ul>
 
+     <h2>Prerequisites</h2>
+      <p>There are not any privileges to be required for this APIs.</p>
+
 <h2>Task in Mobile Applications</h2>   
 <p>In the <a href="task_sensorball_w.htm">Sensor Ball</a> task, we will walk through simulating ball behavior to create a game.</p>
 
index 07c445f..58d4bac 100644 (file)
    <li><a href="#orientation">Retrieving and Monitoring the Device Orientation</a> <p>Check the current device orientation and monitor its changes.</p></li>    
    <li><a href="#receive">Receiving Notifications on Property Value Changes</a> <p>Receive notifications when the power property value changes.</p></li>
   </ul>
+
+     <h2>Prerequisites</h2>
+      <p>To use the system info APIs, the application has to request permission by adding the corresponding privileges to the config.xml file.</p>
+      <pre class="prettyprint">&lt;tizen:privilege name=&quot;http://tizen.org/privilege/system&quot;/&gt;
+&lt;tizen:privilege name=&quot;http://tizen.org/privilege/telephony&quot;/&gt;</pre>
+
   <h2>Task</h2>
   <p>In the <a href="task_systeminfo_w.htm">System Information</a> task, we will walk through how to access and use system information in your application.</p>
    
index 9146a12..7974e5a 100644 (file)
    <li><a href="#wall">Managing the Device Wallpapers</a> <p>Set the wallpaper of the home screen and the lock screen.</p></li>
    <li><a href="#tone">Managing Ringtones and Notification Tones</a> <p>Set the ringtone for incoming calls and the tone for email notifications.</p></li>
  </ul>
+
+     <h2>Prerequisites</h2>
+      <p>To use the system setting APIs, the application has to request permission by adding the corresponding privileges to the config.xml file.</p>
+      <pre class="prettyprint">&lt;tizen:privilege name=&quot;http://tizen.org/privilege/setting&quot;/&gt;</pre>
  
                                <h2 id="wall" name="wall">Managing the Device Wallpapers</h2>
                                
index 6818bca..98579ff 100644 (file)
@@ -53,6 +53,9 @@
    <li><a href="#Monitoring_Changes">Retrieving Time Change Notifications</a> <p>Monitor the time and time zone changes performed by the user.</p></li>
 
   </ul> 
+
+<h2>Prerequisites</h2>
+<p>There are not any privileges to be required for this APIs.</p>
            
                                <h2 id="Retrieving_Date" name="Retrieving_Date">Retrieving Date and Time</h2>
                                
index e8d344c..2b48f95 100644 (file)
    <li><a href="#set">Setting a User Agent for a Running Application</a> <p>Set a Web view user agent string.</p></li>
    <li><a href="#delete">Deleting Web View Cookies</a> <p>Delete Web view cookies.</p></li>
   </ul>
-  
+
+<h2>Prerequisites</h2>
+<p>There are not any privileges to be required for this APIs.</p>
+
                                <h2 id="set" name="set">Setting a User Agent for a Running Application</h2>
                                
                        <p>Learning how to set a user agent string to perform tasks is a basic Web setting management skill:</p>