Android.Database Namespace

If you need to manage data in a private database, use the Android.Database.Sqlite classes.

Remarks

Contains classes to explore data returned through a content provider.

If you need to manage data in a private database, use the Android.Database.Sqlite classes. These classes are used to manage the Android.Database.ICursor object returned from a content provider query. Databases are usually created and opened with Android.Content.Context.OpenOrCreateDatabase(string, Android.Content.FileCreationMode, Android.Content.FileCreationMode) To make requests through content providers, you can use the Android.Content.ContentResolver class.

All databases are stored on the device in /data/data/<package_name>/databases

Classes

TypeReason
AbstractCursorThis is an abstract cursor class that handles a lot of the common code that all cursors need to deal with and is provided for convenience reasons.
AbstractCursor+SelfContentObserverCursors use this class to track changes others make to their URI.
AbstractWindowedCursorA base class for Cursors that store their data in Android.Database.CursorWindows.
CharArrayBufferThis is used for Android.Database.ICursor.CopyStringToBuffer(int, Android.Database.CharArrayBuffer)
ContentObservableA specialization of Android.Database.Observable for Android.Database.ContentObserver that provides methods for sending notifications to a list of Android.Database.ContentObserver objects.
ContentObserverReceives call backs for changes to content.
CrossProcessCursorWrapperCursor wrapper that implements Android.Database.ICrossProcessCursor.
CursorIndexOutOfBoundsExceptionAn exception indicating that a cursor is out of bounds.
CursorJoinerDoes a join on two cursors using the specified columns.
CursorJoiner+ResultThe result of a call to next().
CursorWindowA buffer containing multiple cursor rows.
CursorWindow+InterfaceConstsDocumentation for this section has not yet been entered.
CursorWrapperWrapper class for Cursor that delegates all calls to the actual cursor object.
DatabaseUtilsStatic utility methods for dealing with databases and Android.Database.ICursors.
DatabaseUtils+InsertHelperThis class allows users to do multiple inserts into a table using the same statement.
DataSetObservableA specialization of Android.Database.Observable for Android.Database.DataSetObserver that provides methods for sending notifications to a list of Android.Database.DataSetObserver objects.
DataSetObserverReceives call backs when a data set has been changed, or made invalid.
DefaultDatabaseErrorHandlerDefault class used to define the actions to take when the database corruption is reported by sqlite.
FieldTypeEnumerates values returned by several types.
ICrossProcessCursorA cross process cursor is an extension of a Android.Database.ICursor that also supports usage from remote processes.
ICursorThis interface provides random read-write access to the result set returned by a database query.
IDatabaseErrorHandlerAn interface to let the apps define the actions to take when the following errors are detected database corruption
MatrixCursorA mutable cursor implementation backed by an array of Objects.
MatrixCursor+RowBuilderBuilds a row, starting from the left-most column and adding one column value at a time.
MergeCursorA convience class that lets you present an array of Cursors as a single linear Cursor.
ObservableProvides methods for registering or unregistering arbitrary observers in an Android.Runtime.JavaList.
SQLExceptionAn exception that indicates there was an error with SQL parsing or execution.
StaleDataExceptionThis exception is thrown when a Cursor contains stale data and must be requeried before being used again.
StatementTypeEnumerates values returned by several types.