Book description
Advanced Android™ Application Development, Fourth Edition, is the definitive guide to building robust, commercial-grade Android apps. Systematically revised and updated, this guide brings together powerful, advanced techniques for the entire app development cycle, including design, coding, testing, debugging, and distribution. With the addition of quizzes and exercises in every chapter, it is ideal for both professional and classroom use.
An outstanding practical reference for the newest Android APIs, this guide provides in-depth explanations of code utilizing key API features and includes downloadable sample apps for nearly every chapter. Together, they provide a solid foundation for any modern app project.
Throughout, the authors draw on decades of in-the-trenches experience as professional mobile developers to provide tips and best practices for highly efficient development. They show you how to break through traditional app boundaries with optional features, including the Android NDK, Google Analytics and Android Wear APIs, and Google Play Game Services.
New coverage in this edition includes
Integrating Google Cloud Messaging into your apps
Utilizing the new Google location and Google Maps Android APIs
Leveraging in-app billing from Google Play, as well as third-party providers
Getting started with the Android Studio IDE
Localizing language and using Google Play App Translation services
Extending your app’s reach with Lockscreen widgets and DayDreams
Leveraging improvements to Notification, Web, SMS, and other APIs
Annuzzi has released new source code samples for use with Android Studio. The code updates are posted to the associated blog site: http://advancedandroidbook.blogspot.com/
This title is an indispensable resource for intermediate- to advanced-level Java programmers who are now developing for Android, and for seasoned mobile developers who want to make the most of the new Android platform and hardware.
This revamped, newly titled edition is a complete update of Android™ Wireless Application Development, Volume II: Advanced Topics, Third Edition.
Table of contents
- About This eBook
- Title Page
- Copyright Page
- Praise for Advanced Android™ Application Development, Fourth Edition
- Dedication Page
- Contents at a Glance
- Contents
- Acknowledgments
- About the Authors
- Introduction
-
I: Advanced Android Application Design Principles
- 1. Threading and Asynchronous Processing
- 2. Working with Services
- 3. Leveraging SQLite Application Databases
- 4. Building Android Content Providers
- 5. Broadcasting and Receiving Intents
-
6. Working with Notifications
- Notifying the User
- A Word on Compatibility
- Notifying with the Status Bar
- Vibrating the Phone
- Blinking the Lights
- Making Noise
- Customizing the Notification
- Expandable and Contractible Notifications
- Notification Priority
- Introducing the Notification Listener
- Designing Useful Notifications
- Summary
- Quiz Questions
- Exercises
- References and More Information
-
II: Advanced Android User Interface Design Principles
- 7. Designing Powerful User Interfaces
- 8. Handling Advanced User Input
- 9. Designing Accessible Applications
- 10. Development Best Practices for Tablets, TVs, and Wearables
-
III: Leveraging Common Android APIs
- 11. Using Android Networking APIs
- 12. Using Android Web APIs
- 13. Using Android Multimedia APIs
- 14. Using Android Telephony APIs
- 15. Accessing Android’s Hardware Sensors
- 16. Using Android’s Optional Hardware APIs
-
IV: Leveraging Google APIs
- 17. Using Location and Map APIs
- 18. Working with Google Cloud Messaging
- 19. An Overview of In-App Billing APIs for Android
-
20. Enabling Application Statistics with Google Analytics
- Creating a Google Account for Analytics
- Adding the Library to Your Android IDE Project
- Collecting Data from Your Applications
- Logging Different Events
- Using the Google Analytics Dashboard
- Gathering E-commerce Information
- Tracking Ad and Market Referrals
- Gathering Statistics
- Protecting Users’ Privacy
- Summary
- Quiz Questions
- Exercises
- References and More Information
-
21. An Overview of Google Play Game Services
- Getting Up and Running with Google Play Game Services
- Incorporating Google Play Game Services into Your Applications
- Understanding Achievements
- Understanding Leaderboards
- Saving Game Data with Cloud Save
- Introducing Multiplayer Gaming
- Understanding Antipiracy
- Summary
- Quiz Questions
- Exercises
- References and More Information
-
V: Drawing, Animations, and Graphics Programming with Android
- 22. Developing Android 2D Graphics Applications
- 23. Working with Animation
-
24. Developing Android 3D Graphics Applications
- Working with OpenGL ES
- Using OpenGL ES APIs in the Android SDK
- Handling OpenGL ES Tasks Manually
- Drawing 3D Objects
- Interacting with Android Views and Events
- Cleaning Up OpenGL ES
- Using GLSurfaceView (Easy OpenGL ES)
- Using OpenGL ES 2.0
- Exploring OpenGL ES 3.0
- Summary
- Quiz Questions
- Exercises
- References and More Information
- 25. Using the Android NDK
-
VI: Maximizing Android’s Unique Features
- 26. Extending Android Application Reach
- 27. Enabling Application Search
- 28. Managing User Accounts and Synchronizing User Data
-
VII: Advanced Topics in Application Publication and Distribution
- 29. Internationalizing Your Applications
- 30. Protecting Applications from Software Piracy
- VIII: Preparing for Future Android Releases
-
IX: Appendixes
-
A. Quick-Start Guide: Android Debug Bridge
- Listing Connected Devices and Emulators
- Directing ADB Commands to Specific Devices
- Starting and Stopping the ADB Server
- Listing ADB Commands
- Issuing Shell Commands
- Copying Files
- Installing and Uninstalling Applications
- Working with LogCat Logging
- Controlling the Backup Service
- Generating Bug Reports
- Using the Shell to Inspect SQLite Databases
- Using the Shell to Stress Test Applications
- Installing Custom Binaries via the Shell
- Summary
- Quiz Questions
- Exercises
- References and More Information
-
B. Quick-Start Guide: SQLite
- Exploring Common Tasks with SQLite
- Using the sqlite3 Command-Line Interface
-
Learning by Example: A Student Grade Database
- Designing the Student Grade Database Schema
- Creating Simple Tables with AUTOINCREMENT
- Inserting Data into Tables
- Querying Tables for Results with SELECT
- Using Foreign Keys and Composite Primary Keys
- Altering and Updating Data in Tables
- Querying Multiple Tables Using JOIN
- Using Calculated Columns
- Using Subqueries for Calculated Columns
- Deleting Tables
- Summary
- Quiz Questions
- Exercises
- References and More Information
- C. Java for Android Developers
-
D. Quick-Start Guide: Android Studio
- Getting Up and Running with Android Studio
- Understanding the Android Studio Project Structure
- Learning about the Gradle Build System
- Overview of the Android Studio User Interface
- Introducing the Layout Editor
- Debugging Your Android Studio Applications
- Useful Keyboard Shortcuts
- Summary
- Quiz Questions
- Exercises
- References and More Information
-
E. Answers to Quiz Questions
- Chapter 1
- Chapter 2
- Chapter 3
- Chapter 4
- Chapter 5
- Chapter 6
- Chapter 7
- Chapter 8
- Chapter 9
- Chapter 10
- Chapter 11
- Chapter 12
- Chapter 13
- Chapter 14
- Chapter 15
- Chapter 16
- Chapter 17
- Chapter 18
- Chapter 19
- Chapter 20
- Chapter 21
- Chapter 22
- Chapter 23
- Chapter 24
- Chapter 25
- Chapter 26
- Chapter 27
- Chapter 28
- Chapter 29
- Chapter 30
- Chapter 31
- Appendix A
- Appendix B
- Appendix C
- Appendix D
-
A. Quick-Start Guide: Android Debug Bridge
- Index
- Code Snippets
Product information
- Title: Advanced Android™ Application Development, Fourth Edition
- Author(s):
- Release date: November 2014
- Publisher(s): Addison-Wesley Professional
- ISBN: 9780133892420
You might also like
book
Android Wireless Application Development, 2/e
Android™ Wireless Application Development Second Edition Lauren Darcey Shane Conder The start-to-finish guide to Android application …
book
Android Software Internals Quick Reference: A Field Manual and Security Reference Guide to Java-based Android Components
Use this handy field guide as a quick reference book and cheat sheet for all of …
book
Android Wireless Application Development
The start-to-finish guide to Android development–from concept to market! Android Wireless Application Development combines all the …
book
Android Application Development Cookbook: 93 Recipes for Building Winning Apps
A must-have collection of ready-to-use Android recipes! The popularity of Google Android devices is seemingly unstoppable …