FileDocCategorySizeDatePackage
AndroidConstants.javaAPI DocAndroid 1.5 API11700Wed May 06 22:41:10 BST 2009com.android.ide.eclipse.common

AndroidConstants

public class AndroidConstants extends Object
Constant definition class.

Most constants have a prefix defining the content.
  • WS_ Workspace path constant. Those are absolute paths, from the project root.
  • OS_ OS path constant. These paths are different depending on the platform.
  • FN_ File name constant.
  • FD_ Folder name constant.
  • MARKER_ Resource Marker Ids constant.
  • EXT_ File extension constant. This does NOT include a dot.
  • DOT_ File extension constant. This start with a dot.
  • RE_ Regexp constant.
  • NS_ Namespace constant.
  • CLASS_ Fully qualified class name.

Fields Summary
public static final String
EDITORS_NAMESPACE
The old Editors Plugin ID. It is still used in some places for compatibility. Please do not use for new features.
public static final String
NATURE
Nature of android projects
public static final String
WS_SEP
Separator for workspace path, i.e. "/".
public static final char
WS_SEP_CHAR
Separator character for workspace path, i.e. '/'.
public static final String
EXT_ANDROID_PACKAGE
Extension of the Application package Files, i.e. "apk".
public static final String
EXT_JAVA
Extension of java files, i.e. "java"
public static final String
EXT_CLASS
Extension of compiled java files, i.e. "class"
public static final String
EXT_XML
Extension of xml files, i.e. "xml"
public static final String
EXT_JAR
Extension of jar files, i.e. "jar"
public static final String
EXT_AIDL
Extension of aidl files, i.e. "aidl"
public static final String
EXT_NATIVE_LIB
Extension of native libraries, i.e. "so"
private static final String
DOT
public static final String
DOT_ANDROID_PACKAGE
Dot-Extension of the Application package Files, i.e. ".apk".
public static final String
DOT_JAVA
Dot-Extension of java files, i.e. ".java"
public static final String
DOT_CLASS
Dot-Extension of compiled java files, i.e. ".class"
public static final String
DOT_XML
Dot-Extension of xml files, i.e. ".xml"
public static final String
DOT_JAR
Dot-Extension of jar files, i.e. ".jar"
public static final String
DOT_AIDL
Dot-Extension of aidl files, i.e. ".aidl"
public static final String
FN_ANDROID_MANIFEST
Name of the manifest file, i.e. "AndroidManifest.xml".
public static final String
FD_ANDROID_SOURCES
Name of the android sources directory
public static final String
FN_RESOURCE_CLASS
Resource java class filename, i.e. "R.java"
public static final String
FN_COMPILED_RESOURCE_CLASS
Resource class file filename, i.e. "R.class"
public static final String
FN_MANIFEST_CLASS
Manifest java class filename, i.e. "Manifest.java"
public static final String
FN_CLASSES_DEX
Dex conversion output filname, i.e. "classes.dex"
public static final String
FN_RESOURCES_AP_
Temporary packaged resources file name, i.e. "resources.ap_"
public static final String
FN_RESOURCES_S_AP_
Temporary packaged resources file name for a specific set of configuration
public static final Pattern
PATTERN_RESOURCES_S_AP_
public static final String
FN_ADB
public static final String
FN_EMULATOR
public static final String
FN_TRACEVIEW
public static final String
WS_ROOT
Absolute path of the workspace root, i.e. "/"
public static final String
WS_RESOURCES
Absolute path of the resource folder, eg "/res".
This is a workspace path.
public static final String
WS_ASSETS
Absolute path of the resource folder, eg "/assets".
This is a workspace path.
public static final String
WS_JAVADOC_FOLDER_LEAF
Leaf of the javaDoc folder. Does not start with a separator.
public static final String
OS_SDK_SAMPLES_FOLDER
Path of the samples directory relative to the sdk folder. This is an OS path, ending with a separator. FIXME: remove once the NPW is fixed.
public static final String
RE_DOT
public static final String
RE_JAVA_EXT
Regexp for java extension, i.e. "\.java$"
public static final String
RE_AIDL_EXT
Regexp for aidl extension, i.e. "\.aidl$"
public static final String
NS_CUSTOM_RESOURCES
Namespace pattern for the custom resource XML, i.e. "http://schemas.android.com/apk/res/%s"
public static final String
COMMON_PLUGIN_ID
The old common plug-in ID. Please do not use for new features.
public static final String
MARKER_AAPT_COMPILE
aapt marker error when running the compile command
public static final String
MARKER_AAPT_PACKAGE
aapt marker error when running the package command
public static final String
MARKER_XML
XML marker error.
public static final String
MARKER_AIDL
aidl marker error.
public static final String
MARKER_ANDROID
android marker error
public static final String
MARKER_ATTR_TYPE
Name for the "type" marker attribute
public static final String
MARKER_ATTR_CLASS
Name for the "class" marker attribute
public static final String
MARKER_ATTR_TYPE_ACTIVITY
activity value for marker attribute "type"
public static final String
MARKER_ATTR_TYPE_SERVICE
service value for marker attribute "type"
public static final String
MARKER_ATTR_TYPE_RECEIVER
receiver value for marker attribute "type"
public static final String
MARKER_ATTR_TYPE_PROVIDER
provider value for marker attribute "type"
public static final String
CLASS_ACTIVITY
public static final String
CLASS_SERVICE
public static final String
CLASS_BROADCASTRECEIVER
public static final String
CLASS_CONTENTPROVIDER
public static final String
CLASS_INSTRUMENTATION
public static final String
CLASS_INSTRUMENTATION_RUNNER
public static final String
CLASS_BUNDLE
public static final String
CLASS_R
public static final String
CLASS_MANIFEST_PERMISSION
public static final String
CLASS_INTENT
public static final String
CLASS_CONTEXT
public static final String
CLASS_VIEW
public static final String
CLASS_VIEWGROUP
public static final String
CLASS_NAME_LAYOUTPARAMS
public static final String
CLASS_VIEWGROUP_LAYOUTPARAMS
public static final String
CLASS_NAME_FRAMELAYOUT
public static final String
CLASS_FRAMELAYOUT
public static final String
CLASS_PREFERENCE
public static final String
CLASS_NAME_PREFERENCE_SCREEN
public static final String
CLASS_PREFERENCES
public static final String
CLASS_PREFERENCEGROUP
public static final String
CLASS_PARCELABLE
public static final String
CLASS_BRIDGE
public static final String
COMPILER_COMPLIANCE_PREFERRED
Prefered compiler level, i.e. "1.5".
public static final String[]
COMPILER_COMPLIANCE
List of valid compiler level, i.e. "1.5" and "1.6"
public static final String
CODESITE_BASE_URL
The base URL where to find the Android class & manifest documentation
public static final String
LIBRARY_TEST_RUNNER
Constructors Summary
Methods Summary