|
1 |
|
2 <!DOCTYPE html |
|
3 PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|
4 <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 |
|
5 retrieving information about applications </title><script type="text/javascript"> |
|
6 function initPage() {} |
|
7 </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 |
|
8 retrieving information about applications</h1><div> |
|
9 <p>The <code>criteria</code> object specifies what information |
|
10 is returned about applications on the mobile device.</p> |
|
11 <p>The <code>criteria</code> object has two main properties: <code>Type</code> and <code>Filter</code>. |
|
12 These are described in the following table. Properties enclosed in brackets |
|
13 are optional.</p> |
|
14 <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> |
|
15 <thead align="left"> |
|
16 <tr class="title "><th class="cellrowborder" valign="top" id="d0e17556"> |
|
17 <p>Property</p> |
|
18 </th><th class="cellrowborder" valign="top" id="d0e17561"> |
|
19 <p>Description</p> |
|
20 </th><th class="cellrowborder" valign="top" id="d0e17566"> |
|
21 <p>Type</p> |
|
22 </th><th class="cellrowborder" valign="top" id="d0e17571"> |
|
23 <p>Value</p> |
|
24 </th></tr> |
|
25 </thead> |
|
26 <tbody> |
|
27 <tr class=""> |
|
28 <td class="cellrowborder" valign="top" headers="d0e17556 "> |
|
29 <p><code>criteria.Type</code></p> |
|
30 </td> |
|
31 <td class="cellrowborder" valign="top" headers="d0e17561 "> |
|
32 <p>Specifies the type of application:</p> |
|
33 <ul> |
|
34 <li><p><code>"UserInstalledPackage"</code> retrieves information |
|
35 about user-installed applications only. User-installed applications include |
|
36 either the application and the supporting DLL or the DLLs only.</p></li> |
|
37 <li><p><code>"Application"</code> retrieves information |
|
38 about all applications on the mobile device, regardless of whether they were |
|
39 preinstalled or installed by the user.</p></li> |
|
40 </ul> |
|
41 </td> |
|
42 <td class="cellrowborder" valign="top" headers="d0e17566 "> |
|
43 <p>string</p> |
|
44 </td> |
|
45 <td class="cellrowborder" valign="top" headers="d0e17571 "> |
|
46 <p>Possible values:</p> |
|
47 <ul> |
|
48 <li><p><code>"UserInstalledPackage"</code></p></li> |
|
49 <li><p><code>"Application"</code></p></li> |
|
50 </ul> |
|
51 </td> |
|
52 </tr> |
|
53 <tr class="bg "> |
|
54 <td class="cellrowborder" valign="top" headers="d0e17556 "> |
|
55 <p><code>[criteria.Filter]</code></p> |
|
56 </td> |
|
57 <td class="cellrowborder" valign="top" headers="d0e17561 "> |
|
58 <p>Specifies the criteria to use in determining which applications to retrieve |
|
59 information about.</p> |
|
60 <p>This property is valid only if <code>criteria.Type</code> has value <code>"Application"</code>; |
|
61 it is ignored for <code>"UserInstalledPackage"</code>.</p> |
|
62 <p>If not specified for <code>"Application"</code>, information |
|
63 about all applications on the mobile device is retrieved.</p> |
|
64 </td> |
|
65 <td class="cellrowborder" valign="top" headers="d0e17566 "> |
|
66 <p>object</p> |
|
67 </td> |
|
68 <td class="cellrowborder" valign="top" headers="d0e17571 "> |
|
69 <p>Object with the properties specified below</p> |
|
70 </td> |
|
71 </tr> |
|
72 <tr class=""> |
|
73 <td class="cellrowborder" valign="top" headers="d0e17556 "> |
|
74 <p><code>[criteria.Filter.DocumentPath]</code></p> |
|
75 </td> |
|
76 <td class="cellrowborder" valign="top" headers="d0e17561 "> |
|
77 <p>Specifies the full path and file of a document.</p> |
|
78 <p>AppManager determines what applications to get information about from |
|
79 the document name.</p> |
|
80 <p>If both <code>DocumentPath</code> and <code>MIMEType</code> are |
|
81 specified, <code>DocumentPath</code> takes precedence.</p> |
|
82 </td> |
|
83 <td class="cellrowborder" valign="top" headers="d0e17566 "> |
|
84 <p>string</p> |
|
85 </td> |
|
86 <td class="cellrowborder" valign="top" headers="d0e17571 "> |
|
87 <p>For example: <code>"c:\\data\\abcd.txt"</code></p> |
|
88 </td> |
|
89 </tr> |
|
90 <tr class="bg "> |
|
91 <td class="cellrowborder" valign="top" headers="d0e17556 "> |
|
92 <p><code>[criteria.Filter.MIMEType]</code></p> |
|
93 </td> |
|
94 <td class="cellrowborder" valign="top" headers="d0e17561 "> |
|
95 <p>Specifies a MIME type for the applications to get information about.</p> |
|
96 <p>If both <code>DocumentPath</code> and <code>MIMEType</code> are |
|
97 specified, <code>DocumentPath</code> takes precedence.</p> |
|
98 </td> |
|
99 <td class="cellrowborder" valign="top" headers="d0e17566 "> |
|
100 <p>string</p> |
|
101 </td> |
|
102 <td class="cellrowborder" valign="top" headers="d0e17571 "> |
|
103 <p>For example: <code>"image/jpeg"</code></p> |
|
104 </td> |
|
105 </tr> |
|
106 </tbody> |
|
107 </table></div></div></div></div><div class="footer"><hr/><div class="copy">© Nokia 2009.</div></div></body></html> |