Android Programming The Big Nerd Ranch Guide, 3rd Edition
Creating the menu 257 Define CrimeListFragment.onCreate(Bundle) and let the FragmentManager know that CrimeListFragment needs to ...
Chapter 13 The Toolbar 258 Where is the action item’s text? Most phones only have enough room for the icon in portrait orientat ...
Responding to menu selections 259 Responding to menu selections To respond to the user pressing the New Crime action item, you n ...
Chapter 13 The Toolbar 260 In CrimeListFragment.java, implement onOptionsItemSelected(MenuItem) to respond to selection of the ...
...
...
...
...
...
...
For the More Curious: Action Bar vs Toolbar 267 For the More Curious: Action Bar vs Toolbar Figure 13.13 Action Bar vs Toolbar ...
Chapter 13 The Toolbar 268 Challenge: Plural String Resources The subtitle is not grammatically correct when there is a single ...
269 14. SQLite Databases Almost every application needs a place to save data for the long term, longer than savedInstanceState w ...
Chapter 14 SQLite Databases 270 Defining a Schema Before you create a database, you have to decide what will be in that databas ...
Building Your Initial Database 271 With that, you will be able to refer to the column named “title” in a Java-safe way: CrimeTab ...
Chapter 14 SQLite Databases 272 A SQLiteOpenHelper is a class designed to get rid of the grunt work of opening a SQLiteDatabase ...
Building Your Initial Database 273 Put your cursor on the word CrimeTable and key in Option+Return (Alt+Enter). Then select the ...
Chapter 14 SQLite Databases 274 Exploring files using Android Device Monitor Once you have an emulator running API 23 or earlie ...
Exploring files using Android Device Monitor 275 (If you try to run the app once you have disabled ADB integration, you may see ...
Chapter 14 SQLite Databases 276 Debugging database issues When writing code dealing with a SQLite database, you will sometimes ...
«
10
11
12
13
14
15
16
17
18
19
»
Free download pdf