org.openmobileis.embedded.util
Class PPCSystemAPI

java.lang.Object
  extended byorg.openmobileis.embedded.util.PPCSystemAPI
All Implemented Interfaces:
ISystemAPI

public class PPCSystemAPI
extends java.lang.Object
implements ISystemAPI

Title: OpenMobileIS project source
Description: Helper class to access native OS specific task that is not correcly done by the JVM.

Since:
JDK 1.1
Version:
1.0.
Author:
Philippe Delrieu

Constructor Summary
PPCSystemAPI()
           
 
Method Summary
 long currentTimeInMillis()
          Get time stamp, same behavior as system.currentTimeMillis in milli Used to fix Creme V3.1 Bug
 int execProgram(java.lang.String path, java.lang.String args)
          Execute a program on mobile.
 int execProgramAndWait(java.lang.String path, java.lang.String args)
          Execute a program on mobile and wait until the program ended
 java.lang.String getSystemUniqueID()
          Return an unique Id identifying the terminal.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PPCSystemAPI

public PPCSystemAPI()
Method Detail

execProgramAndWait

public int execProgramAndWait(java.lang.String path,
                              java.lang.String args)
                       throws OpenMISException
Execute a program on mobile and wait until the program ended

Specified by:
execProgramAndWait in interface ISystemAPI
Throws:
OpenMISException

execProgram

public int execProgram(java.lang.String path,
                       java.lang.String args)
                throws OpenMISException
Execute a program on mobile.

Specified by:
execProgram in interface ISystemAPI
Throws:
OpenMISException

getSystemUniqueID

public java.lang.String getSystemUniqueID()
Return an unique Id identifying the terminal.

Specified by:
getSystemUniqueID in interface ISystemAPI
Returns:

currentTimeInMillis

public long currentTimeInMillis()
Get time stamp, same behavior as system.currentTimeMillis in milli Used to fix Creme V3.1 Bug

Specified by:
currentTimeInMillis in interface ISystemAPI


Copyright 2006 OpenMobileIS. All Rights Reserved.