<li>Retrieve information about running applications with the <code>getAppContext()</code> and <code>getAppsContext()</code> methods of the <code>ApplicationManager</code> interface.
<p>These methods can be used to access the <code>ApplicationContext</code> interface (in <a href="../../../../org.tizen.web.apireference/html/device_api/mobile/tizen/application.html#ApplicationContext">mobile</a>, <a href="../../../../org.tizen.web.apireference/html/device_api/wearable/tizen/application.html#ApplicationContext">wearable</a>, and <a href="../../../../org.tizen.web.apireference/html/device_api/tv/tizen/application.html#ApplicationContext">TV</a> applications) to retrieve the application ID and context ID of the running application.</p>
<p>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.</p></li>
- <li>Retrieve information about battery usage per application with the <code>getBatteryUsageInfo()</code> method of the <code>ApplicationManager</code> interface <strong>in mobile applications only</strong>.
- <p>You can retrieve battery usage information starting from a specific number of days ago, or since the battery was last fully charged. You can also select the number of applications included in the returned <a href="../../../../org.tizen.web.apireference/html/device_api/mobile/tizen/application.html#ApplicationBatteryUsage">ApplicationBatteryUsage</a> data array.</p></li>
- <li>Retrieve information about usage statistics per application with the <code>getAppsUsageInfo()</code> method of the <code>ApplicationManager</code> interface <strong>in mobile applications only</strong>.
- <p>The statistics include the most frequently or recently used applications. You can retrieve application usage information from a specific time period, or starting from a specific number of days ago. You can also select the number of applications included in the returned <a href="../../../../org.tizen.web.apireference/html/device_api/mobile/tizen/application.html#ApplicationUsage">ApplicationUsage</a> data array.</p></li>
+ <li>Retrieve information about battery usage per application with the <code>getBatteryUsageInfo()</code> method of the <code>ApplicationManager</code> interface <strong>in mobile and wearable applications only</strong>.
+ <p>You can retrieve battery usage information starting from a specific number of days ago, or since the battery was last fully charged. You can also select the number of applications included in the returned <code>ApplicationBatteryUsage</code> data array (in <a href="../../../../org.tizen.web.apireference/html/device_api/mobile/tizen/application.html#ApplicationBatteryUsage">mobile</a> and <a href="../../../../org.tizen.web.apireference/html/device_api/wearable/tizen/application.html#ApplicationBatteryUsage">wearable</a> applications).</p></li>
+ <li>Retrieve information about usage statistics per application with the <code>getAppsUsageInfo()</code> method of the <code>ApplicationManager</code> interface <strong>in mobile and wearable applications only</strong>.
+ <p>The statistics include the most frequently or recently used applications. You can retrieve application usage information from a specific time period, or starting from a specific number of days ago. You can also select the number of applications included in the returned <code>ApplicationUsage</code> data array (in <a href="../../../../org.tizen.web.apireference/html/device_api/mobile/tizen/application.html#ApplicationUsage">mobile</a> and <a href="../../../../org.tizen.web.apireference/html/device_api/wearable/tizen/application.html#ApplicationUsage">wearable</a> applications).</p></li>
</ul>
<p>Learning how to retrieve information about installed and running applications allows you to manage all the device applications from your application: </p>
<td>4.0</td>
</tr>
<tr>
+<td><code>http://tizen.org/feature/app_history</code></td>
+ <td>Specify this key, if the application requires the application history feature.</td>
+ <td>4.0</td>
+ </tr>
+<tr>
<td><code>http://tizen.org/feature/battery</code></td>
<td>Specify this key, if the application requires information on the device battery.</td>
<td>2.3*</td>
<td>4.0</td>
</tr>
<tr>
+<td><code>http://tizen.org/feature/app_history</code></td>
+ <td>Specify this key, if the application requires the application history feature.</td>
+ <td>4.0</td>
+ </tr>
+<tr>
<td><code>http://tizen.org/feature/battery</code></td>
<td>Specify this key, if the application requires information on the device battery.</td>
<td>2.3*</td>
http://tizen.org/privilege/apphistory.read
</p>
<p><span class="remark"> Remark : </span>
- This method is available only on mobile devices. An attempt to call this method on other profile will result in throwing <em>NotSupportedError</em> exception.
+ This method is available only on mobile and wearable devices. An attempt to call this method on other profile will result in throwing <em>NotSupportedError</em> exception.
</p>
<div class="parameters">
<p><span class="param">Parameters:</span></p>
http://tizen.org/privilege/apphistory.read
</p>
<p><span class="remark"> Remark : </span>
- This method is available only on mobile devices.
+ This method is available only on mobile and wearable devices.
An attempt to call this method on other profile will result in throwing <em>NotSupportedError</em> exception.
</p>
<div class="parameters">
<div class="def-api-feature">
<p><div class="description">
<p>
+To guarantee the running of the application on a device which supports Application History feature, declare the following feature requirement in the config file:
+ </p>
+ </div></p>
+<li class="feature">http://tizen.org/feature/app_history</li>
+</div>
+<div class="def-api-feature">
+<p><div class="description">
+ <p>
To guarantee the running of the application on a device which has battery, declare the following feature requirement in the config file:
</p>
</div></p>
http://tizen.org/privilege/apphistory.read
</p>
<p><span class="remark"> Remark : </span>
- This method is available only on mobile devices. An attempt to call this method on other profile will result in throwing <em>NotSupportedError</em> exception.
+ This method is available only on mobile and wearable devices. An attempt to call this method on other profile will result in throwing <em>NotSupportedError</em> exception.
</p>
<div class="parameters">
<p><span class="param">Parameters:</span></p>
http://tizen.org/privilege/apphistory.read
</p>
<p><span class="remark"> Remark : </span>
- This method is available only on mobile devices.
+ This method is available only on mobile and wearable devices.
An attempt to call this method on other profile will result in throwing <em>NotSupportedError</em> exception.
</p>
<div class="parameters">
<div class="def-api-feature">
<p><div class="description">
<p>
+To guarantee the running of the application on a device which supports Application History feature, declare the following feature requirement in the config file:
+ </p>
+ </div></p>
+<li class="feature">http://tizen.org/feature/app_history</li>
+</div>
+<div class="def-api-feature">
+<p><div class="description">
+ <p>
To guarantee the running of the application on a device which has battery, declare the following feature requirement in the config file:
</p>
</div></p>