Home | History | Annotate | Download | only in notepad

Lines Matching full:database

12 <li><em>How to use a SQLite database to store the notes.</em></li>
13 <li><em>How to bind data from a database cursor into a ListView using a
71 exercise, we are using a SQLite database to store our data. This is useful
85 encapsulate data access to a SQLite database that will hold our notes data
88 to look up data from the proper field names in the database. There is also a database creation
89 string defined, which is used to create a new database schema if one doesn't exist already.</p>
90 <p>Our database will have the name <code>data</code>, and have a single table called
94 usually has to be specified when querying or updating the database (in the column projections
103 which handles creating/opening a database for us.</p>
104 <p><code>close()</code> just closes the database, releasing resources related to the
107 then creates that note in the database. Assuming the new note is created successfully, the
110 the database.</p>
112 <p><code>fetchAllNotes()</code> issues a query to return a {@link android.database.Cursor} over all notes in the
113 database. The <code>query()</code> call is worth examination and understanding. The first field is the
114 name of the database table to query (in this case <code>DATABASE_TABLE</code> is "notes").
120 order. See {@link android.database.sqlite.SQLiteDatabase SQLiteDatabase} for more details.</p>
128 {@link android.database.sqlite.SQLiteDatabase} <code>query()</code> method.
348 database.
486 SimpleCursorAdapter} to bind a database {@link android.database.Cursor Cursor}
496 method uses <code>SimpleCursorAdapter,</code> which takes a database <code>Cursor</code>
500 entries from our database.</p>
511 // Get all of the notes from the database and create the item list