org.openmobileis.embedded.util
Interface ISystemAPI

All Known Implementing Classes:
DefaultSystemAPI, PPCSystemAPI

public interface ISystemAPI

Author:
phil

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.
 java.lang.String readPPCRegistryValue(java.lang.String register, java.lang.String regkey, java.lang.String entity)
           
 

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

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()
Return an unique Id identifying the terminal.

Returns:

readPPCRegistryValue

public java.lang.String readPPCRegistryValue(java.lang.String register,
                                             java.lang.String regkey,
                                             java.lang.String entity)


Copyright 2006 OpenMobileIS. All Rights Reserved.