org.openmobileis.embedded.util
Class SystemAPI

java.lang.Object
  extended byorg.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

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
static SystemAPI getManager()
           
 java.lang.String getSystemUniqueID()
           
static void main(java.lang.String[] args)
           
static void registerSystemAPI(ISystemAPI api)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

registerSystemAPI

public static void registerSystemAPI(ISystemAPI api)

getManager

public static SystemAPI getManager()

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

Throws:
OpenMISException

execProgram

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

Throws:
OpenMISException

currentTimeInMillis

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


getSystemUniqueID

public java.lang.String getSystemUniqueID()

main

public static void main(java.lang.String[] args)


Copyright 2006 OpenMobileIS. All Rights Reserved.