org.openmobileis.embedded.util
Class SystemAPI

java.lang.Object
  |
  +--org.openmobileis.embedded.util.SystemAPI

public class SystemAPI
extends java.lang.Object

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
SystemAPI()
           
 
Method Summary
static long currentTimeInMillis()
          Get time stamp, same behavior as system.currentTimeMillis in milli Used to fix Creme V3.1 Bug
static void execProgram(java.lang.String path, java.lang.String args)
          Execute a program on mobile.
static void execProgramAndWait(java.lang.String path, java.lang.String args)
          Execute a program on mobile and wait until the program ended
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemAPI

public SystemAPI()
Method Detail

execProgramAndWait

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

execProgram

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

currentTimeInMillis

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


Copyright 2005 e-Care. All Rights Reserved.