Removed Methods
|
SQLiteDatabase create(File, int, CursorFactory)
|
Create a new SQLite database and open it. |
SQLiteDatabase create(String, int, CursorFactory)
|
Create a new SQLite database and open it. |
Locale getLocale()
|
Returns the default collation as set by .setLocale. |
SQLiteDatabase open(File, CursorFactory)
|
Open a SQLite database from a file. |
SQLiteDatabase open(String, CursorFactory)
|
Open a SQLite database from a file. |
Cursor query(boolean, String, String[], String, String[], String, String, String)
|
Query the given URL, returning a Cursor over the result set. |
Added Methods
|
void beginTransaction()
|
Begins a transaction. |
void endTransaction()
|
End a transaction. |
void execSQL(String, Object[])
|
Execute a single SQL statement that is not a query. |
boolean inTransaction()
|
return true if there is a transaction pending |
long insertOrThrow(String, String, ContentValues)
|
Convenience method for inserting a row into the database. |
boolean isDbLockedByCurrentThread()
|
Checks if the database lock is held by this thread. |
boolean isDbLockedByOtherThreads()
|
Checks if the database is locked by another thread. |
boolean isOpen()
|
@return true if the DB is currently open (has not been closed) |
boolean isReadOnly()
|
return whether the DB is opened as read only. |
boolean needUpgrade(int )
|
|
void onAllReferencesReleased()
|
|
SQLiteDatabase openDatabase(String, CursorFactory, int)
|
Open the database according to the flags .OPEN_READWRITE
.OPEN_READONLY .CREATE_IF_NECESSARY and/or .NO_LOCALIZED_COLLATORS. |
SQLiteDatabase openOrCreateDatabase(File, CursorFactory)
|
Equivalent to openDatabase(file.getPath(), factory, CREATE_IF_NECESSARY). |
SQLiteDatabase openOrCreateDatabase(String, CursorFactory)
|
Equivalent to openDatabase(path, factory, CREATE_IF_NECESSARY). |
Cursor query(boolean, String, String[], String, String[], String, String, String, String)
|
Query the given URL, returning a Cursor over the result set. |
Cursor query(String, String[], String, String[], String, String, String, String)
|
Query the given table, returning a Cursor over the result set. |
int releaseMemory()
|
Attempts to release memory that SQLite holds but does not require to
operate properly. |
long replaceOrThrow(String, String, ContentValues)
|
Convenience method for replacing a row in the database. |
void setLockingEnabled(boolean )
|
Control whether or not the SQLiteDatabase is made threadsafe by using locks
around critical sections. |
void setTransactionSuccessful()
|
Marks the current transaction as successful. |
boolean yieldIfContended()
|
Temporarily end the transaction to let other threads run. |
Changed Methods
|
Cursor queryWithFactory(CursorFactory, boolean, String, String[], String, String[], String, String, String, String)
|
Change in signature from (CursorFactory, boolean, String, String[], String, String[], String, String, String ) to (CursorFactory, boolean, String, String[], String, String[], String, String, String, String ).
|
Query the given URL, returning a Cursor over the result set. |