|
Framework Professional Edition Package |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.prosyst.util.pid.ProcessUtils
public class ProcessUtils
| Field Summary | |
|---|---|
static int |
EApaCommandBackground
The application is to open the last used document and to run in the background. |
static int |
EApaCommandBackgroundAndWithoutViews
The application is to run in the background and viewless mode. |
static int |
EApaCommandCreate
The application is to create the document specified on the command line. |
static int |
EApaCommandOpen
The application is to open the document specified on the command line. |
static int |
EApaCommandRun
The application is to run and open the last used document. |
static int |
EApaCommandRunWithoutViews
The application is to run without views. |
static int |
EApaCommandViewActivate
Reserved for future use. |
protected static int |
ESWInstallerOcspProcedureMust
|
protected static int |
ESWInstallerOcspProcedureOff
|
protected static int |
ESWInstallerOcspProcedureOn
|
protected static int |
KCRUidSWInstallerSettings
Sowftware Installer settings TUid |
protected static int |
KSWInstallerAllowUntrusted
Defines UI level policy that defines SW Installer behaviour when user tries to install untrusted SW. |
protected static int |
KSWInstallerOcspDefaultURL
Defines the default URL to OCSP server |
protected static int |
KSWInstallerOcspProcedure
Defines the policy for the online certificate validation procedure - Off = 0 - On = 1 - Must be passed = 2 |
static int |
OCSP_POLICY_MUST
OCSP checking must succeed in order to install the package. |
static int |
OCSP_POLICY_OFF
OCSP checking is not performed. |
static int |
OCSP_POLICY_ON
OCSP checking is performed, but a transient problem will not halt the installation process. |
| Constructor Summary | |
|---|---|
ProcessUtils()
|
|
| Method Summary | |
|---|---|
static boolean |
allowUntrusted()
Defines UI level policy of SW Installer behaviour when user tries to install untrusted SW. |
static int |
executeProcess(java.lang.String process,
java.lang.String command)
Executes process by given name or path and command. |
static java.lang.String |
getIMEI()
Native function to get the IMEI of the phone. |
static java.lang.String |
getIMSI()
Native function to get the IMSI of the phone. |
static int |
getOCSPPolicy()
Defines the policy for the online certificate validation procedure - Off = 0 = OCSP_POLICY_OFF - On = 1 = OCSP_POLICY_ON - Must be passed = 2 = OCSP_POLICY_MUST |
static java.lang.String |
getOCSPServerURL()
Defines the default URL to OCSP server |
static long |
getPid()
Native function to get ID of current process. |
static java.lang.String[] |
getRemovableDrives()
Native function to get the removable drives on the phone. |
static long |
getVolumeID(java.lang.String drive)
Native function to get the Volume unique ID of the phone. |
static int |
startApp(int appUid,
java.lang.String documentName)
Helper for launching Document based apps (through RApaLsSession::StartApp()) with default TApaCommand = EApaCommandOpen. |
static int |
startApp(int appUid,
java.lang.String documentName,
int command)
Helper for launching Document based apps (through RApaLsSession::StartApp()). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int EApaCommandOpen
public static final int EApaCommandCreate
public static final int EApaCommandRun
public static final int EApaCommandBackground
public static final int EApaCommandViewActivate
public static final int EApaCommandRunWithoutViews
public static final int EApaCommandBackgroundAndWithoutViews
protected static final int KCRUidSWInstallerSettings
protected static final int KSWInstallerOcspProcedure
protected static final int ESWInstallerOcspProcedureOff
protected static final int ESWInstallerOcspProcedureOn
protected static final int ESWInstallerOcspProcedureMust
protected static final int KSWInstallerOcspDefaultURL
protected static final int KSWInstallerAllowUntrusted
public static final int OCSP_POLICY_OFF
public static final int OCSP_POLICY_ON
public static final int OCSP_POLICY_MUST
| Constructor Detail |
|---|
public ProcessUtils()
| Method Detail |
|---|
public static long getPid()
public static java.lang.String getIMEI()
public static java.lang.String getIMSI()
public static long getVolumeID(java.lang.String drive)
public static java.lang.String[] getRemovableDrives()
public static int executeProcess(java.lang.String process,
java.lang.String command)
public static int startApp(int appUid,
java.lang.String documentName,
int command)
appUid - The unique indentifier (UID3) of an capable executable, which can
handle the document in the documentName.documentName - Document name, which may be interpreted as link or path from
the executable.command - A constant from EApaCommandXXX, default is EApaCommandOpen
public static int startApp(int appUid,
java.lang.String documentName)
appUid - The unique indentifier (UID3) of an capable executable, which can
handle the document in the documentName.documentName - Document name, which may be interpreted as link or path from
the executable.
public static int getOCSPPolicy()
public static java.lang.String getOCSPServerURL()
public static boolean allowUntrusted()
|
Framework Professional Edition Package |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||