Android 2.3 Gingerbread

Package android.content.res

Contains classes for accessing application resources, such as raw asset files, colors, drawables, media or other other files in the package, plus important device configuration details (orientation, input types, etc.) that affect how the application may behave.

See:
          Description

Interface Summary
XmlResourceParser The XML parsing interface returned for an XML resource.
 

Class Summary
AssetFileDescriptor File descriptor of an entry in the AssetManager.
AssetFileDescriptor.AutoCloseInputStream An InputStream you can create on a ParcelFileDescriptor, which will take care of calling ParcelFileDescritor.close() for you when the stream is closed.
AssetFileDescriptor.AutoCloseOutputStream An OutputStream you can create on a ParcelFileDescriptor, which will take care of calling ParcelFileDescritor.close() for you when the stream is closed.
AssetManager Provides access to an application's raw asset files; see Resources for the way most applications will want to retrieve their resource data.
ColorStateList Lets you map View state sets to colors.
CompatibilityInfo CompatibilityInfo class keeps the information about compatibility mode that the application is running under.
Configuration This class describes all device configuration information that can impact the resources the application retrieves.
ObbInfo Basic information about a Opaque Binary Blob (OBB) that reflects the info from the footer on the OBB file.
ObbScanner Class to scan Opaque Binary Blob (OBB) files.
PluralRules  
Resources Class for accessing an application's resources.
StringBlock Conveniences for retrieving data out of a compiled string resource.
StringBlock.StyleIDs  
TypedArray Container for an array of values that were retrieved with Resources.Theme.obtainStyledAttributes(AttributeSet, int[], int, int) or Resources.obtainAttributes(android.util.AttributeSet, int[]).
XmlBlock Wrapper around a compiled XML file.
 

Exception Summary
Resources.NotFoundException This exception is thrown by the resource APIs when a requested resource can not be found.
 

Package android.content.res Description

Contains classes for accessing application resources, such as raw asset files, colors, drawables, media or other other files in the package, plus important device configuration details (orientation, input types, etc.) that affect how the application may behave.


Android 2.3 Gingerbread