public class AndroidPlatformHelper
extends java.lang.Object
Constructor and Description |
---|
AndroidPlatformHelper(java.lang.Object ctx_obj) |
Modifier and Type | Method and Description |
---|---|
void |
acquireCpuLock() |
void |
acquireMcastLock() |
void |
acquireWifiLock() |
static void |
copyAssetsFromPackage(android.content.Context ctx,
java.lang.String fromPath,
java.lang.String toPath) |
void |
copyEvenIfExists(int ressourceId,
java.lang.String target) |
void |
copyFromPackage(int ressourceId,
java.io.File target) |
void |
copyIfNotExist(int ressourceId,
java.lang.String target) |
java.lang.String |
getCachePath() |
java.lang.String |
getConfigPath() |
java.lang.String |
getDataPath() |
java.lang.String[] |
getDnsServers() |
java.lang.String |
getNativeLibraryDir() |
java.lang.Object |
getPowerManager() |
void |
releaseCpuLock() |
void |
releaseMcastLock() |
void |
releaseWifiLock() |
public java.lang.Object getPowerManager()
public java.lang.String[] getDnsServers()
public java.lang.String getDataPath()
public java.lang.String getConfigPath()
public java.lang.String getCachePath()
public java.lang.String getNativeLibraryDir()
public void acquireWifiLock()
public void releaseWifiLock()
public void acquireMcastLock()
public void releaseMcastLock()
public void acquireCpuLock()
public void releaseCpuLock()
public void copyEvenIfExists(int ressourceId, java.lang.String target) throws java.io.IOException
java.io.IOException
public void copyIfNotExist(int ressourceId, java.lang.String target) throws java.io.IOException
java.io.IOException
public void copyFromPackage(int ressourceId, java.io.File target) throws java.io.IOException
java.io.IOException
public static void copyAssetsFromPackage(android.content.Context ctx, java.lang.String fromPath, java.lang.String toPath) throws java.io.IOException
java.io.IOException