
android.database.sqlite.package.html Maven / Gradle / Ivy
Show all versions of android-all Show documentation
Contains the SQLite database management
classes that an application would use to manage its own private database.
Applications use these classes to manage private databases. If creating a
content provider, you will probably have to use these classes to create and
manage your own database to store content. See Content Providers to learn
the conventions for implementing a content provider. See the
NotePadProvider class in the NotePad sample application in the SDK for an
example of a content provider. Android ships with SQLite version 3.4.0
If you are working with data sent to you by a provider, you will not use
these SQLite classes, but instead use the generic {@link android.database}
classes.
Android ships with the sqlite3 database tool in the tools/
folder. You can use this tool to browse or run SQL commands on the device. Run by
typing sqlite3
in a shell window.