[WebAPI][application] remove doc for deprecated APIs
authorHyunjin Park <hj.na.park@samsung.com>
Wed, 7 Oct 2015 02:48:23 +0000 (11:48 +0900)
committerHyunjin Park <hj.na.park@samsung.com>
Wed, 7 Oct 2015 02:49:51 +0000 (11:49 +0900)
Change-Id: I9e1179d7b2c52507d81e3d47c6601330a2593d64
Signed-off-by: Hyunjin park <hj.na.park@samsung.com>
org.tizen.guides/html/web/tizen/application/application_w.htm
org.tizen.tutorials/html/web/tizen/application/application_tutorial_w.htm

index b101a5d..2a1484b 100755 (executable)
@@ -41,7 +41,7 @@
   <p>The Application API provides you with application management and launch features which enable you to:</p>
   <ul>
    <li>Retrieve information about the applications that are installed or currently running on a device. Information such as application name, icon path, version details, and application ID can be retrieved.</li>
-   <li>Receive notifications when applications are updated, removed or installed.</li>
+
    <li>Perform application management tasks such as launching, closing, or exiting applications.</li>
 </ul>
 
@@ -57,7 +57,6 @@
      <li>The <span style="font-family: Courier New,Courier,monospace">getAppContext()</span> and <span style="font-family: Courier New,Courier, monospace">getAppsContext()</span> methods of the <span style="font-family: Courier New,Courier,monospace">ApplicationManager</span> interface can be used to access the <span style="font-family: Courier New,Courier,monospace">ApplicationContext</span> interface (in <a href="../../../../../org.tizen.web.apireference/html/device_api/mobile/tizen/application.html#ApplicationContext">mobile</a> and <a href="../../../../../org.tizen.web.apireference/html/device_api/wearable/tizen/application.html#ApplicationContext">wearable</a> applications) to retrieve the application ID and context ID of the running application. </li>
     </ul></li>
      The application ID can be used to retrieve application information, or to launch an application. The context ID is a unique identifier given by the platform to a running application.
-   <li>Application change notifications <p>You can <a href="../../../../../org.tizen.tutorials/html/web/tizen/application/application_tutorial_w.htm#receive">receive notifications</a> when there is a change in the list of installed applications.</p> <p>The <span style="font-family: Courier New,Courier,monospace">setPackageInfoEventListener()</span> method of the <span style="font-family: Courier New,Courier,monospace">PackageManager</span> interface in the Package API module registers an event listener which starts asynchronously. To unset the listener, use the <span style="font-family: Courier New,Courier,monospace">unsetPackageInfoEventListener()</span> method. You can use the <span style="font-family: Courier New,Courier,monospace">PackageInformationEventCallback</span> interface (in <a href="../../../../../org.tizen.web.apireference/html/device_api/mobile/tizen/package.html#PackageInformationEventCallback">mobile</a> and <a href="../../../../../org.tizen.web.apireference/html/device_api/wearable/tizen/package.html#PackageInformationEventCallback">wearable</a> applications) to define listener event handlers for receiving the notifications.</p></li>
    <li>Application control <p>You can <a href="../../../../../org.tizen.tutorials/html/web/tizen/application/application_tutorial_w.htm#launch">launch other applications</a> based on their functionality using the <span style="font-family: Courier New,Courier,monospace">launchAppControl()</span> method of the <span style="font-family: Courier New,Courier,monospace">ApplicationManager</span> interface.</p></li> 
        <li>Handling incoming application control requests
     <p>You can <a href="../../../../../org.tizen.tutorials/html/web/tizen/application/application_tutorial_w.htm#handle">handle an incoming application control request</a> using the <span style="font-family: Courier New,Courier,monospace">getRequestedAppControl()</span> method of the <span style="font-family: Courier New,Courier,monospace">Application</span> interface. The <span style="font-family: Courier New,Courier,monospace">RequestedApplicationControl</span> interface (in <a href="../../../../../org.tizen.web.apireference/html/device_api/mobile/tizen/application.html#RequestedApplicationControl">mobile</a> and <a href="../../../../../org.tizen.web.apireference/html/device_api/wearable/tizen/application.html#RequestedApplicationControl">wearable</a> applications) is used to respond to incoming application control requests.</p></li>
index dd5c481..f942ef3 100644 (file)
@@ -27,8 +27,6 @@
             </li>
             <li><a href="#manage">Managing Applications</a>
             </li>
-            <li><a href="#receive">Receiving Notifications on Application List Changes</a>
-            </li>
             <li><a href="#launch">Launching Applications with the Application Control</a>
             </li>
                        <li><a href="#handle">Handling Application Control Requests</a>
@@ -56,7 +54,6 @@
    <ul>
       <li><a href="#retrieve">Retrieving Application Information</a> <p>Display a list of applications that are currently installed or running on the device, and retrieve application information, such as application name, application ID, and context ID.</p></li>
       <li><a href="#manage">Managing Applications</a> <p>Launch, stop, hide, or exit applications.</p></li>
-      <li><a href="#receive">Receiving Notifications on Application List Changes</a> <p>Receive notifications when applications are installed, updated, or uninstalled.</p></li>
       <li><a href="#launch">Launching Applications with the Application Control</a> <p>Launch applications by a request based on their functionality.</p></li> 
          <li><a href="#handle">Handling Application Control Requests</a> <p>Handle requests from other applications and reply with a result.</p></li> 
   </ul> 
@@ -134,49 +131,7 @@ currApp.hide();
 <pre class="prettyprint">
 currApp.exit();
 </pre> </li>
-  </ol>
-       
-                <h2 id="receive" name="receive">Receiving Notifications on Application List Changes</h2>
-                               
-                <p>Learning to receive notifications when the list of installed applications changes allows you to manage all the device applications from your application:</p>
-  <ol>
-   <li> <p>Define the event handlers for different notifications by implementing the <span style="font-family: Courier New,Courier,monospace">ApplicationInformationEventCallback</span> listener interface (in <a href="../../../../../org.tizen.web.apireference/html/device_api/mobile/tizen/application.html#ApplicationInformationEventCallback">mobile</a> and <a href="../../../../../org.tizen.web.apireference/html/device_api/wearable/tizen/application.html#ApplicationInformationEventCallback">wearable</a> applications):</p>
-
-<pre class="prettyprint">
-var appEventCB =
-{
-&nbsp;&nbsp;&nbsp;/* When a new application is installed */
-&nbsp;&nbsp;&nbsp;oninstalled: function(appInfo)
-&nbsp;&nbsp;&nbsp;{
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;console.log(&quot;Application &quot; + appInfo.name + &quot; installed&quot;);
-&nbsp;&nbsp;&nbsp;}
-
-&nbsp;&nbsp;&nbsp;/* When an application is updated */
-&nbsp;&nbsp;&nbsp;onupdated: function(appInfo)
-&nbsp;&nbsp;&nbsp;{
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;console.log(&quot;Application &quot; + appInfo.name + &quot; updated&quot;);
-&nbsp;&nbsp;&nbsp;}
-
-&nbsp;&nbsp;&nbsp;/* When an application is uninstalled */
-&nbsp;&nbsp;&nbsp;onuninstalled: function(appId)
-&nbsp;&nbsp;&nbsp;{
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;console.log(&quot;Application &quot; + appId + &quot; uninstalled&quot;);
-&nbsp;&nbsp;&nbsp;}
-} 
-</pre>
- </li>
-   <li> <p>Register the listener to use the defined event handlers:</p> 
-<pre class="prettyprint">
-var listenerID = tizen.application.addAppInfoEventListener(appEventCB);
-</pre> 
-</li>
-   <li> <p>To stop receiving the notifications, use the <span style="font-family: Courier New,Courier,monospace">removeAppInfoEventListener()</span> method of the <span style="font-family: Courier New,Courier,monospace">ApplicationManager</span> interface (in <a href="../../../../../org.tizen.web.apireference/html/device_api/mobile/tizen/application.html#ApplicationManager">mobile</a> and <a href="../../../../../org.tizen.web.apireference/html/device_api/wearable/tizen/application.html#ApplicationManager">wearable</a> applications):</p> 
-<pre class="prettyprint">
-tizen.application.removeAppInfoEventListener(listenerID);
-</pre>
- </li>
-  </ol>
-         
+  </ol>         
                 <h2 id="launch" name="launch">Launching Applications with the Application Control</h2>
                                
  <p>Learning to use application controls to launch applications from your application allows you to take advantage of the functionality of other device applications:</p>