org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-A509AD23-015E-44D9-97EB-895A75593C87.html
author Eugene Ostroukhov <eugeneo@symbian.org>
Fri, 11 Jun 2010 13:33:03 -0700
changeset 372 1e408ee32d8a
parent 229 716254ccbcc0
permissions -rw-r--r--
Added templates for WRT 1.1 platform services


<!DOCTYPE html
  PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><meta name="copyright" content="(C) Copyright 2009"/><meta name="DC.rights.owner" content="(C) Copyright 2009"/><meta name="DC.Type" content="mobileconcept"/><meta name="DC.Title" content="Criteria for retrieving information about applications"/><meta name="DC.Relation" scheme="URI" content="GUID-5614CFF0-EF37-46DD-A89D-C2AD6122F6A5"/><meta name="DC.Relation" scheme="URI" content="GUID-7C69DDA4-16F1-4A8F-BDB2-4CB0015B4E81"/><meta name="DC.Relation" scheme="URI" content="GUID-65AAF569-D347-462B-B59A-9D7CA184AB9C"/><meta name="DC.Relation" scheme="URI" content="GUID-2D651505-F68C-4053-B565-9FF826C5B897"/><meta name="DC.Relation" scheme="URI" content="GUID-4A2480A8-4D79-4F5D-9614-74A8934B8952"/><meta name="DC.Format" content="XHTML"/><meta name="DC.Identifier" content="GUID-A509AD23-015E-44D9-97EB-895A75593C87"/><title>Criteria for
retrieving information about applications </title><script type="text/javascript">
      function initPage() {}
    </script><link href="../PRODUCT_PLUGIN/book.css" rel="stylesheet" type="text/css"/><link href="css/s60/style.css" rel="stylesheet" type="text/css" media="all"/></head><body onload="initPage();"><div class="body"><div class="contentLeft prTxt"><h1 class="pageHeading" id="GUID-A509AD23-015E-44D9-97EB-895A75593C87"><span>Criteria</span> for
retrieving information about applications</h1><div>
<p>The <code>criteria</code> object specifies what information
is returned about applications on the mobile device.</p>
<p>The <code>criteria</code> object has two main properties: <code>Type</code> and <code>Filter</code>.
These are described in the following table. Properties enclosed in brackets
are optional.</p>
<div class="tablenoborder"><a name="GUID-87E1F286-1E13-4BB7-AEA1-489D1F91362C"><!----></a><table cellpadding="4" cellspacing="0" summary="" id="GUID-87E1F286-1E13-4BB7-AEA1-489D1F91362C" frame="border" border="1" rules="all"><caption><strong>Table: </strong><span>Criteria</span> object properties</caption>
<thead align="left">
<tr class="title "><th class="cellrowborder" valign="top" id="d0e17556">
<p>Property</p>
</th><th class="cellrowborder" valign="top" id="d0e17561">
<p>Description</p>
</th><th class="cellrowborder" valign="top" id="d0e17566">
<p>Type</p>
</th><th class="cellrowborder" valign="top" id="d0e17571">
<p>Value</p>
</th></tr>
</thead>
<tbody>
<tr class="">
<td class="cellrowborder" valign="top" headers="d0e17556 ">
<p><code>criteria.Type</code></p>
</td>
<td class="cellrowborder" valign="top" headers="d0e17561 ">
<p>Specifies the type of application:</p>
<ul>
<li><p><code>"UserInstalledPackage"</code> retrieves information
about user-installed applications only. User-installed applications include
either the application and the supporting DLL or the DLLs only.</p></li>
<li><p><code>"Application"</code> retrieves information
about all applications on the mobile device, regardless of whether they were
preinstalled or installed by the user.</p></li>
</ul>
</td>
<td class="cellrowborder" valign="top" headers="d0e17566 ">
<p>string</p>
</td>
<td class="cellrowborder" valign="top" headers="d0e17571 ">
<p>Possible values:</p>
<ul>
<li><p><code>"UserInstalledPackage"</code></p></li>
<li><p><code>"Application"</code></p></li>
</ul>
</td>
</tr>
<tr class="bg ">
<td class="cellrowborder" valign="top" headers="d0e17556 ">
<p><code>[criteria.Filter]</code></p>
</td>
<td class="cellrowborder" valign="top" headers="d0e17561 ">
<p>Specifies the criteria to use in determining which applications to retrieve
information about.</p>
<p>This property is valid only if <code>criteria.Type</code> has value <code>"Application"</code>;
it is ignored for <code>"UserInstalledPackage"</code>.</p>
<p>If not specified for <code>"Application"</code>, information
about all applications on the mobile device is retrieved.</p>
</td>
<td class="cellrowborder" valign="top" headers="d0e17566 ">
<p>object</p>
</td>
<td class="cellrowborder" valign="top" headers="d0e17571 ">
<p>Object with the properties specified below</p>
</td>
</tr>
<tr class="">
<td class="cellrowborder" valign="top" headers="d0e17556 ">
<p><code>[criteria.Filter.DocumentPath]</code></p>
</td>
<td class="cellrowborder" valign="top" headers="d0e17561 ">
<p>Specifies the full path and file of a document.</p>
<p>AppManager determines what applications to get information about from
the document name.</p>
<p>If both <code>DocumentPath</code> and <code>MIMEType</code> are
specified, <code>DocumentPath</code> takes precedence.</p>
</td>
<td class="cellrowborder" valign="top" headers="d0e17566 ">
<p>string</p>
</td>
<td class="cellrowborder" valign="top" headers="d0e17571 ">
<p>For example: <code>"c:\\data\\abcd.txt"</code></p>
</td>
</tr>
<tr class="bg ">
<td class="cellrowborder" valign="top" headers="d0e17556 ">
<p><code>[criteria.Filter.MIMEType]</code></p>
</td>
<td class="cellrowborder" valign="top" headers="d0e17561 ">
<p>Specifies a MIME type for the applications to get information about.</p>
<p>If both <code>DocumentPath</code> and <code>MIMEType</code> are
specified, <code>DocumentPath</code> takes precedence.</p>
</td>
<td class="cellrowborder" valign="top" headers="d0e17566 ">
<p>string</p>
</td>
<td class="cellrowborder" valign="top" headers="d0e17571 ">
<p>For example: <code>"image/jpeg"</code></p>
</td>
</tr>
</tbody>
</table></div></div></div></div><div class="footer"><hr/><div class="copy">© Nokia 2009.</div></div></body></html>