Android Apprentice (Second Edition): Beginning Android Development with Kotlin 194287877X, 9781942878773

Learn Android Programming with Kotlin! Learning Android programming can be challenging. Sure, there is plenty of docume

411 66 73MB

English Pages 689 [676] Year 2019

Report DMCA / Copyright

DOWNLOAD PDF FILE

Table of contents :
Introduction
Book License
Book Source Code & Forums
About the Cover
Chapter 1: Setting Up Android Studio
Getting started
Your first Android project
Android Studio
Creating an Android virtual device
Setting up an Android device
Running the app
Installing new versions of Android Studio
Where to go from here?
Chapter 2: Layouts
Getting started
These are not the SDKs you’re looking for
The Visual editor
Component tree view
Positioning your views
Adding rules to your position
Finishing the screen
Where to go from here?
Chapter 3: Activities
Getting started
Exploring Activities
Hooking up Views
Managing strings in your app
Progressing the game
Starting the game
Ending the game
Where to go from here?
Chapter 4: Debugging
Getting started
Add some logging
Orientation changes
Breakpoints
Restarting the game
Where to go from here?
Chapter 5: Prettifying the App
Getting started
Changing the app bar color
Animations
Adding a Dialog
Where to go from here?
Chapter 6: Creating a New Project
Getting started
Creating a new Android project
Targeting Android devices
Where to go from here?
Chapter 7: RecyclerViews
Getting started
Adding a RecyclerView
The components of a RecyclerView
Hooking up a RecyclerView
Setting up a RecyclerView Adapter
Filling in the blanks
Creating the ViewHolder
Binding data to your ViewHolder
The moment of truth
Where to go from here?
Chapter 8: SharedPreferences
Getting started
Adding a Dialog
Creating a list
Hooking up the Activity
Where to go from here?
Chapter 9: Communicating Between Activities
Getting started
Creating a new Activity
The app manifest
Intents
Intents and Parcels
Bringing everything together
Where to go from here?
Chapter 10: Completing the Detail View
Getting started
Coding the RecyclerView
Adapting the Adapter
Visualizing the ViewHolder
Getting the list back
Where to go from here?
Chapter 11: Using Fragments
Getting started
Creating a Fragment
What is a Fragment?
From Activity to Fragments
Showing the Fragment
Creating your next Fragment
Bringing the Activity into action
Where to go from here?
Chapter 12: Material Design
What is Material Design?
Primary and secondary colors
Card views
Where to go from here?
Chapter 13: Creating a Map-Based App
Getting started
About PlaceBook
Making a plan
Location service components
Map wizard walk-through
Google Maps API key
Maps and the emulator
Running the app
The difficulty of determining locations
Where to go from here?
Chapter 14: User Location & Permissions
Getting started
Adding location services
Creating the location services client
Querying current location
Faking locations in the emulator
Tracking the user’s location
My location
Where to go from here?
Chapter 15: Google Places
Getting started
Places API overview
Selecting points of interest
Load place details
Custom info window
Where to go from here?
Chapter 16: Saving Bookmarks with Room
Getting started
Room overview
Room and Android Architecture Components
PlaceBook architecture
Development approach
Adding the architecture components
Room classes
Creating the Repository
The ViewModel
Adding bookmarks
Observing database changes
Where to go from here?
Chapter 17: Detail Activity
Getting started
Fixing the info window
Bookmark detail activity
Where to go from here?
Chapter 18: Navigation & Photos
Getting started
Bookmark navigation
Custom photos
Where to go from here?
Chapter 19: Finishing Touches
Getting started
Bookmark categories
Searching for places
Create ad-hoc bookmarks
Deleting bookmarks
Sharing bookmarks
Color scheme
Progress indicator
Where to go from here?
Chapter 20: Networking
Getting started
Where are the podcasts?
Android networking
PodPlay architecture
iTunes search service
Retrofit
Where to go from here?
Chapter 21: Finding Podcasts
Android search
Where to go from here?
Chapter 22: Podcast Details
Getting started
Defining the Layouts
Basic architecture
Details Fragment
Where to go from here?
Chapter 23: Podcast Episodes
Getting started
Updating the podcast repo
Episode list adapter
Where to go from here?
Chapter 24: Podcast Subscriptions, Part One
Getting started
Saving podcasts
Where to go from here?
Chapter 25: Podcast Subscriptions, Part Two
Getting started
Background methods
Episode update logic
Firebase JobDispatcher
Where to go from here?
Chapter 26: Podcast Playback
Getting started
Media player basics
Building the MediaBrowserService
Connecting the MediaBrowser
Foreground service
Final pieces
Where to go from here?
Chapter 27: Episode Player
Getting started
Video playback
Where to go from here?
Chapter 28: Android Fragmentation & Support Libraries
Android: An open operating system
How fragmenting occurs
The Android Support Libraries
Where to go from here?
Chapter 29: Keeping Your App Up to Date
Following Android trends
Android versions
Screen size and density
OpenGL versions
Managing Android updates
Working with older versions of Android
Where to go from here?
Chapter 30: Preparing for Release
Code cleanup
Versioning information
Build release version
Check file size
Release testing
Google Play Store
Where to go from here?
Chapter 31: Testing & Publishing
Release types
Determining the content rating
Pricing and distribution
Version codes
Beta release
Production release
Post-production
Other publishing methods
Conclusion

Android Apprentice (Second Edition): Beginning Android Development with Kotlin
 194287877X, 9781942878773

  • 0 0 0
  • Like this paper and download? You can publish your own PDF file online for free in a few minutes! Sign Up
File loading please wait...
Recommend Papers