public final class AndroidSDK extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ADD_ONS_FOLDER_NAME
folder name of add-ons in SDK
|
static String |
PLATFORM_TOOLS_FOLDER_NAME
folder name for the SDK sub folder that contains the platform tools
|
static String |
PLATFORMS_FOLDER_NAME
folder name for the SDK sub folder that contains the different platform versions
|
static String |
SYSTEM_IMAGES_FOLDER_NAME
folder name of system images in SDK
|
| Constructor and Description |
|---|
AndroidSDK(DroidiumPlatformConfiguration platformConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAaptPath() |
String |
getAdbPath()
Get the android debug tool path (adb).
|
AndroidContainerConfiguration |
getAndroidContainerConfiguration() |
String |
getAndroidPath()
Get the android tool path
|
String |
getEmulatorPath()
Get the emulator path.
|
String |
getMakeSdCardPath() |
String |
getPathForFrameworkAidl()
Returns the complete path for
framework.aidl, based on this SDK. |
String |
getPathForJavaTool(String tool) |
String |
getPathForTool(String tool)
Returns the complete path for a tool, based on this SDK.
|
DroidiumPlatformConfiguration |
getPlatformConfiguration() |
File |
getPlatformDirectory() |
void |
setupWith(AndroidContainerConfiguration containerConfiguration) |
public static final String PLATFORMS_FOLDER_NAME
public static final String PLATFORM_TOOLS_FOLDER_NAME
public static final String SYSTEM_IMAGES_FOLDER_NAME
public static final String ADD_ONS_FOLDER_NAME
public AndroidSDK(DroidiumPlatformConfiguration platformConfiguration)
public void setupWith(AndroidContainerConfiguration containerConfiguration)
public AndroidContainerConfiguration getAndroidContainerConfiguration()
IllegalStateException - if you have not called setupWith(AndroidContainerConfiguration) yet.public DroidiumPlatformConfiguration getPlatformConfiguration()
public String getPathForTool(String tool)
tool - which tool, for example adb or dx.jar.String, including the tool's filename.public String getEmulatorPath()
emulator commandpublic String getMakeSdCardPath()
public String getAdbPath()
adb commandpublic String getAaptPath()
public String getAndroidPath()
android commandpublic String getPathForFrameworkAidl() throws AndroidContainerConfigurationException
framework.aidl, based on this SDK.String, including the filename.AndroidConfigurationExceptionAndroidContainerConfigurationExceptionpublic File getPlatformDirectory()
Copyright © 2015 JBoss by Red Hat. All rights reserved.