Hands-on Android application development with Google Firebase
Detalii
Descriere
Through its detailed content, with a lot of information and practical code examples, the book is addressed to all those who are passionate about programming mobile applications in Android and the Google Firebase platform, which have steadily become dominant players in the market of mobile apps. For future engineers, the book is important in that it offers them new skills, backed up by code examples, for integrating a Backend as a Service into their solutions.
TABLE OF CONTENTS
- INTRODUCTION
- ABOUT THE AUTHOR
- ABOUT THIS BOOK
- HELLO TO THE WORLD OF ANDROID
- INSTALLING ANDROID STUDIO
- ANDROID SDK, EMULATOR (AVD) AND THE DEVICE MONITOR (ADM)
- CREATING YOUR FIRST PROJECT
- PROJECT STRUCTURE
- RUNNING YOUR APPLICATION
- DEVELOPING THE HELLO ANDROID APP
- ADDITIONAL CHALLENGE WITH BUTTON LISTENERS
- ANDROID USER INTERFACE ELEMENTS
- ACTIVITIES
- LAYOUTS AND OTHER VIEWS
- MATERIAL DESIGN ELEMENTS
- PROGRAMMING TASK #1: SPINNERS AND DIALOGS
- INTENTS AND STARTING IMPLICIT ACTIONS
- PROGRAMMING TASK #2: INTENT TYPES
- ACTIVITY LIFECYCLE AND COMMUNICATION
- THE ACTIVITY STACK
- THE ACTIVITY LIFECYCLE
- RUNTIME OUTPUT WITH LOGCAT
- PROGRAMMING TASK #1: TRACING THE LIFECYCLE METHODS
- INTENT FILTERS
- PROGRAMMING TASK #2: IMPLICIT INTENTS
- ASYNCHRONOUS EXECUTION USING ANDROID SERVICES
- BACKGROUND SERVICES
- FOREGROUND SERVICES
- USING A WEBVIEW TO RENDER WEB PAGES
- SAVING APP STATE BY EXTENDING THE APPLICATION CLASS
- PROGRAMMING TASK #1: BACKGROUND IMAGE LOADING
- PROGRAMMING TASK #2: DOWNLOAD IN THE FOREGROUND
- CAPTURING SYSTEM EVENTS WITH BROADCAST RECEIVERS
- BROADCAST RECEIVERS
- USING ASYNCTASK TO RUN TASKS IN THE BACKGROUND
- PROGRAMMING TASK #1: MONITORING THE BATTERY STATUS
- DATA STORAGE OPTIONS IN ANDROID
- DATA STORAGE OPTIONS
- SAVING TO SHARED PREFERENCES
- SAVING TO FILES
- SAVING TO A DATABASE
- AN INTRODUCTION TO GOOGLE FIREBASE
- PROJECT SETUP WITH FIREBASE
- PROGRAMMING TASK #1: RECEIVING DATA SNAPSHOTS
- PROGRAMMING TASK #2: UPDATING NODES
- DATA LISTENERS IN THE FIREBASE REALTIME DATABASE
- HANDLING FIREBASE RDB DATA SNAPSHOTS
- HANDLING LISTS OF DATA
- PROGRAMMING TASK #1: WRITING DATA TO RDB
- HANDLING LISTS OF DATA IN ANDROID USING CUSTOM ADAPTERS
- WORKING WITH LISTS OF DATA IN ANDROID
- CUSTOM ADAPTERS
- PROGRAMMING TASK #1: POPULATING A LISTVIEW
- LISTVIEW LISTENERS AND FIREBASE REALTIME DATABASE
- ADDING LISTENERS ON THE LISTVIEW
- HANDLING FIREBASE UPDATES. THE APP STATE
- PROGRAMMING TASK #1: CRUD OPERATIONS WITH RDB
- PROGRAMMING TASK #2: FILTERING DATA FROM RDB
- OFFLINE PERSISTENCE OF DATA
- GENERAL OVERVIEW OF DATA PERSISTENCE
- OFFLINE CAPABILITIES USING FIREBASE
- PROGRAMMING TASK #1: BACKING UP PAYMENTS LOCALLY
- CONSIDERATIONS FOR USER AUTHENTICATION
- USER AUTHENTICATION: THE PRINCIPLES
- MANAGING USER LOGIN WITH FIREBASE
- AUTHENTICATION FLOW IN ANDROID APPS
- UPDATING THE DATABASE STRUCTURE TO SUPPORT MULTIPLE USERS
- PROGRAMMING TASK #1: RDB STRUCTURE TO SUPPORT AUTHENTICATION
- PROGRAMMING TASK #2: ADDING LOG-IN SUPPORT
- HANDLING USER DATA WITH FIREBASE STORAGE
- WORKING WITH FIREBASE STORAGE
- SAVING AND READING IMAGES FROM STORAGE
- ENABLING DATA PERSISTENCE WITH PICASSO
- PROGRAMMING TASK #1: UPLOADING THUMBNAILS TO STORAGE
- PROGRAMMING TASK #2: STYLING WITH ICONS
- LOCATING THE USER WITH GOOGLE MAPS
- GOOGLE MAPS
- THE GOOGLE MAPS PLATFORM
- EXTRA READING ABOUT MAPS API
REFERENCES