My Library

   
Limit results to available items
1 result found. Sorted by relevance | date | title .
Book Cover
PRINTED MATL
Author Meier, Reto, 1978- author. [electronic resource].

Title Professional Android / Reto Meier.

Publication Indianapolis : Wrox, 2015.
Edition Fourth edition.
ISBN 9781118949535 (electronic book)
9781118949542 (PDF ebook)
Description 1 online resource.
Content type text
Media type computer
Carrier type online resource
Contents <p>INTRODUCTION xxxi</p> <p><b>CHAPTER 1: HELLO, ANDROID 1</b></p> <p>Android Application Development 1</p> <p>A Little Background 2</p> <p>The Not-So-Distant Past 3</p> <p>Living in the Future 3</p> <p>The Android Ecosystem 3</p> <p>Pre-installed Android Applications 4</p> <p>Android SDK Features 5</p> <p>What Does Android Run On? 6</p> <p>Why Develop for Mobile? 6</p> <p>Why Develop for Android? 7</p> <p>Introducing the Development Framework 7</p> <p>What Comes in the Box 8</p> <p>Understanding the Android Software Stack 8</p> <p>The Android Run Time 10</p> <p>Android Application Architecture 11</p> <p>Android Libraries 12</p> <p><b>CHAPTER 2: GETTING STARTED 13</b></p> <p>Getting Started Developing Android Apps 14</p> <p>Developing for Android 15</p> <p>What You Need to Begin 15</p> <p>Creating Your First Android Application 20</p> <p>Getting Started Writing Android Apps Using Kotlin 35</p> <p>Using the Android Support Library Package 36</p> <p>Developing for Mobile and Embedded Devices 39</p> <p>Hardware-Imposed Design Considerations 39</p> <p>Considering the Users Environment 43</p> <p>Developing for Android 44</p> <p>Android Development Tools 48</p> <p>Android Studio 49</p> <p>The Android Virtual Device Manager 51</p> <p>The Android Emulator 51</p> <p>Android Profiler 52</p> <p>The Android Debug Bridge 54</p> <p>APK Analyzer 54</p> <p>The Lint Tool 55</p> <p>Monkey, Monkey Runner, and Espresso UI Testing 55</p> <p>Gradle 56</p> <p><b>CHAPTER 3: APPLICATIONS AND ACTIVITIES AND FRAGMENTS, OH MY! 57</b></p> <p>Applications, Activities, and Fragments 58</p> <p>The Components of an Android Application 58</p> <p>The Android Application Life Cycle, Priority, and Process States 59</p> <p>Introducing the Android Application Class 61</p> <p>A Closer Look at Android Activities 61</p> <p>Creating Activities 62</p> <p>Using the AppCompatActivity 63</p> <p>The Activity Life Cycle 64</p> <p>Responding to Memory Pressure 71</p> <p>Introducing Fragments 73</p> <p>Creating New Fragments 73</p> <p>The Fragment Life Cycle 74</p> <p>Introducing the Fragment Manager 79</p> <p>Adding Fragments to Activities 79</p> <p>Communicating Between Fragments and Activities 85</p> <p>Fragments without User Interfaces 86</p> <p>Building an Earthquake Viewer Application 87</p> <p><b>CHAPTER 4: DEFINING THE ANDROID MANIFEST AND GRADLE BUILD FILES, AND EXTERNALIZING RESOURCES 95</b></p> <p>The Manifest, Build Files, and Resources 96</p> <p>Introducing the Android Manifest 96</p> <p>Configuring the Gradle Build 101</p> <p>Gradle Settings File 101</p> <p>Project Gradle Build File 102</p> <p>Module Gradle Build Files 102</p> <p>Externalizing Resources 107</p> <p>Creating Resources 108</p> <p>Using Resources 119</p> <p>Creating Resources for Different Languages and Hardware 122</p> <p>Runtime Configuration Changes 126</p> <p><b>CHAPTER 5: BUILDING USER INTERFACES 129</b></p> <p>Fundamental Android Design 130</p> <p>Density-Independent Design 130</p> <p>Android User Interface Fundamentals 131</p> <p>Assigning User Interfaces to Activities 132</p> <p>Introducing Layouts 132</p> <p>Defining Layouts 134</p> <p>Using Layouts to Create Device-Independent User Interfaces 136</p> <p>Optimizing Layouts 139</p> <p>The Android Widget Toolbox 143</p> <p>Working with Lists and Grids 144</p> <p>Recycler View and Layout Managers 145</p> <p>Introducing Adapters 146</p> <p>Returning to the Earthquake Viewer Application 149</p> <p>Introducing Data Binding 150</p> <p>Enabling Data Binding 151</p> <p>Variables in Data Binding 152</p> <p>Data Binding for the Earthquake Viewer Application 153</p> <p>Creating New Views 155</p> <p>Modifying Existing Views 155</p> <p>Creating Compound Controls 159</p> <p>Creating Simple Compound Controls as a Layout 161</p> <p>Creating Custom Views 162</p> <p>Using Custom Controls 176</p> <p><b>CHAPTER 6: INTENTS AND BROADCAST RECEIVERS 177</b></p> <p>Using Intents and Broadcast Receivers 178</p> <p>Using Intents to Launch Activities 178</p> <p>Explicitly Starting New Activities 179</p> <p>Implicit Intents and Late Runtime Binding 179</p> <p>Determining If an Intent Will Resolve 180</p> <p>Returning Results from Activities 181</p> <p>Using Platform-Native Actions to Launch Activities 184</p> <p>Creating Intent Filters to Receive Implicit Intents 186</p> <p>Defining an Intent Filter 186</p> <p>Using Intent Filters for Plug-Ins and Extensibility 194</p> <p>Introducing Linkify 198</p> <p>Native Linkify Link Types 198</p> <p>Creating Custom Link Strings 199</p> <p>Using the Match Filter 200</p> <p>Using the Transform Filter 200</p> <p>Using Intents to Broadcast Events 200</p> <p>Broadcasting Events with Intents 201</p> <p>Listening for Intent Broadcasts with Broadcast Receivers 202</p> <p>Registering Broadcast Receivers in Code 203</p> <p>Registering Broadcast Receivers in Your Application Manifest 204</p> <p>Managing Manifest Receivers at Run Time 204</p> <p>Monitoring Device State Changes through Broadcast Intents 205</p> <p>Introducing the Local Broadcast Manager 207</p> <p>Introducing Pending Intents 208</p> <p><b>CHAPTER 7: USING INTERNET RESOURCES 211</b></p> <p>Connecting to the Internet 211</p> <p>Connecting, Downloading, and Parsing Internet Resources 212</p> <p>Why Build a Native Internet App? 212</p> <p>Connecting to an Internet Resource 213</p> <p>Performing Network Operations on Background Threads Using View Models, Live Data, and Asynchronous Tasks 214</p> <p>Parsing XML Using the XML Pull Parser 219</p> <p>Connecting the Earthquake Viewer to the Internet 220</p> <p>Parsing JSON Using the JSON Parser 228</p> <p>Using the Download Manager 233</p> <p>Downloading Files 233</p> <p>Customizing Download Manager Notifications 235</p> <p>Specifying a Download Location 237</p> <p>Canceling and Removing Downloads 238</p> <p>Querying the Download Manager 238</p> <p>Best Practices for Downloading Data without Draining the Battery 241</p> <p>An Introduction to Internet Services and Cloud Computing 242</p> <p><b>CHAPTER 8: FILES, SAVING STATE, AND USER PREFERENCES 245</b></p> <p>Saving Files, States, and Preferences 246</p> <p>Saving and Restoring Activity and Fragment Instance</p> <p>State Using the Lifecycle Handlers 246</p> <p>Retaining Instance State with Headless Fragments and View Models 248</p> <p>View Models and Live Data 248</p> <p>Headless Fragments 251</p> <p>Creating and Saving Shared Preferences 252</p> <p>Retrieving Shared Preferences 253</p> <p>Introducing On Shared Preference Change Listeners 254</p> <p>Configuring Auto Backup of Application Files and Shared Preferences 254</p> <p>Building a Preference UI 256</p> <p>Using the Preference Support Library 256</p> <p>Defining a Preference Screen Layout in XML 257</p> <p>Introducing the Preference Fragment 260</p> <p>Creating a Settings Activity for the Earthquake Monitor 261</p> <p>Including Static Files as Resources 267</p> <p>Working with the Filesystem 267</p> <p>File-Management Tools 267</p> <p>Creating Files on Application-Specifi c Internal Storage 268</p> <p>Creating Files on Application-Specifi c External Storage 268</p> <p>Accessing Public Directories Using Scoped Directory Access 270</p> <p>Sharing Files Using File Provider 274</p> <p>Creating a File Provider 274</p> <p>Sharing a File Using a File Provider 275</p> <p>Receiving a File from a File Provider 275</p> <p>Accessing Files from Other Applications Using the Storage Access Framework 275</p> <p>Requesting Temporary Access to Files 276</p> <p>Requesting Persistent Access to Files 277</p> <p>Requesting Access to Directories 277</p> <p>Creating New Files 278</p> <p>Using URI-Based Permissions 278</p> <p><b>CHAPTER 9: CREATING AND USING DATABASES 281</b></p> <p>Introducing Structured Data Storage in Android 282</p> <p>Storing Data Using the Room Persistence Library 282</p> <p>Adding the Room Persistenc
Subject Android (Electronic resource)
Application software -- Development.
Mobile computing.
Alt Author Lake, Ian author