android_learning:headfirst_android_development_notes:chapter_12
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
android_learning:headfirst_android_development_notes:chapter_12 [2016/04/24 04:04] – [p. 518-520: Code block] mithat | android_learning:headfirst_android_development_notes:chapter_12 [2016/04/24 04:08] (current) – [p. 513-514: Code block] mithat | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Chapter 12 ====== | ====== Chapter 12 ====== | ||
- | This is just some text to get the section below to clear the Table of Contents. Otherwise the whole code block would appear very narrow. Kludgey for sure, but it gets the job done. \\ | + | This is just some text to get the section below to clear the Table of Contents. Otherwise the whole code block would appear very narrow. |
+ | |||
+ | Kludgey for sure, but it gets the job done. \\ | ||
| | ||
| | ||
Line 200: | Line 202: | ||
// Get the name, description, | // Get the name, description, | ||
Cursor cursor = db.query (" | Cursor cursor = db.query (" | ||
- | new String[] | + | new String[] |
- | " | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
"_id = ?", | "_id = ?", | ||
new String[] {Integer.toString(drinkNo)}, | new String[] {Integer.toString(drinkNo)}, | ||
Line 549: | Line 547: | ||
</ | </ | ||
- | ===== Logcat | + | ===== Debug with the system log ===== |
This isn't covered until Chapter 13 in the book, but it's worth using here. | This isn't covered until Chapter 13 in the book, but it's worth using here. | ||
android_learning/headfirst_android_development_notes/chapter_12.1461470694.txt.gz · Last modified: 2016/04/24 04:04 by mithat