diff -r 913c9751c067 -r 716254ccbcc0 org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-7B5D75D4-33A1-43A7-84EC-51CEB1CE8D51.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-7B5D75D4-33A1-43A7-84EC-51CEB1CE8D51.html Fri Mar 05 19:11:15 2010 -0800 @@ -0,0 +1,115 @@ + + +Criteria for +launching an application

Criteria for +launching an application

+

The criteria object specifies the application +to launch.

+

The criteria object has three main properties: Document, MimeType, +and Options. These are described in the following table. +Properties enclosed in brackets are optional.

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Table: Criteria
+

Property

+
+

Description

+
+

Type

+
+

Value

+
+

criteria.Document

+
+

Specifies the document to launch.

+

If MIMEType is not specified, this property is +mandatory.

+
+

object

+
+

Object with the properties specified below

+
+

criteria.Document.DocumentPath

+
+

Specifies the full path and file name of the document to launch.

+
+

string

+
+

For example, "C:\\Data\\abc.txt".

+
+

criteria.MIMEType

+
+

Specifies the MIME type of the application to launch.

+

If MIMEType is specified, the application being +launched determines whether a new document is created.

+

If Document is not specified, this property is +mandatory.

+
+

string

+
+

For example: image/jpg.

+
+

[criteria.Options]

+
+

Specifies the mode for launching the application based on the given Document or MimeType.

+
+

object

+
+

Object with the properties specified below.

+
+

criteria.Options.Mode

+
+

Specifies whether the launched application is embedded within the application +that called LaunchDoc (chained) or whether the applications +are independent of each other (stand-alone). For more information on chained +and stand-along applications, see section Accessing and launching installed applications.

+

If this property is not specified, the default is "Standalone".

+
+

string

+
+

Possible values:

+
    +
  • "Chained" - the application is embedded +within the application that called LaunchDoc.

    +
  • +
  • "Standalone" - the applications are +independent of each other.

  • +
+
\ No newline at end of file