|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openmobileis.embedded.util.PPCSystemAPI
Title: OpenMobileIS project source
Description: Helper class to access native OS specific task that is not correcly
done by the JVM.
Field Summary | |
static long |
HKEY_CLASSES_ROOT
|
static long |
HKEY_CURRENT_USER
|
static long |
HKEY_LOCAL_MACHINE
|
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. |
java.lang.Byte |
readPPCRegistryBin(long hkey,
java.lang.String regkey,
java.lang.String entity)
|
long |
readPPCRegistryLong(long hkey,
java.lang.String regkey,
java.lang.String entity)
|
java.lang.String |
readPPCRegistryMultiString(long hkey,
java.lang.String regkey,
java.lang.String entity)
|
java.lang.String |
readPPCRegistryString(long hkey,
java.lang.String regkey,
java.lang.String entity)
|
java.lang.Long |
readPPCRegistryType(long hkey,
java.lang.String regkey,
java.lang.String entity)
|
java.lang.String |
readPPCRegistryValue(java.lang.String register,
java.lang.String regkey,
java.lang.String entity)
Main method to get registry key value Ex : readPPCRegistryValue("HKEY_LOCAL_MACHINE","Time","TimeZoneInformation") |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final long HKEY_CLASSES_ROOT
public static final long HKEY_CURRENT_USER
public static final long HKEY_LOCAL_MACHINE
Constructor Detail |
public PPCSystemAPI()
Method Detail |
public int execProgramAndWait(java.lang.String path, java.lang.String args) throws OpenMISException
execProgramAndWait
in interface ISystemAPI
OpenMISException
public int execProgram(java.lang.String path, java.lang.String args) throws OpenMISException
execProgram
in interface ISystemAPI
OpenMISException
public java.lang.String getSystemUniqueID()
getSystemUniqueID
in interface ISystemAPI
public java.lang.Long readPPCRegistryType(long hkey, java.lang.String regkey, java.lang.String entity)
public java.lang.String readPPCRegistryMultiString(long hkey, java.lang.String regkey, java.lang.String entity)
public java.lang.String readPPCRegistryString(long hkey, java.lang.String regkey, java.lang.String entity)
public long readPPCRegistryLong(long hkey, java.lang.String regkey, java.lang.String entity)
public java.lang.Byte readPPCRegistryBin(long hkey, java.lang.String regkey, java.lang.String entity)
public java.lang.String readPPCRegistryValue(java.lang.String register, java.lang.String regkey, java.lang.String entity)
readPPCRegistryValue
in interface ISystemAPI
public long currentTimeInMillis()
currentTimeInMillis
in interface ISystemAPI
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |