Unleash the power of the Android OS and build the kinds of brilliant, innovative apps users love to use If you already know your way around the Android OS and can build a simple Android app in under an hour, this book is for you. If you re itching to see just how far you can push it and discover what Android is really capable of, it s for you. And if you re ready to learn how to build advanced, intuitive, innovative apps that are a blast to use, this book is definitely for you.
From custom views and advanced multi-touch gestures, to integrating online web services and exploiting the latest geofencing and activity recognition features, ace Android developer, Erik Hellman, delivers expert tips, tricks and little-known techniques for pushing the Android envelope so you can: * Optimize your components for the smoothest user experience possible * Create your own custom Views * Push the boundaries of the Android SDK * Master Android Studio and Gradle * Make optimal use of the Android audio, video and graphics APIs * Program in Text-To-Speech and Speech Recognition * Make the most of the new Android maps and location API * Use Android connectivity technologies to communicate with remote devices * Perform background processing * Use Android cryptography APIs * Find and safely use hidden Android APIs * Cloud-enable your applications with Google Play Services * Distribute and sell your applications on Google Play Store Learn how to unleash the power of Android and transform your apps from good to great in Android Programming: Pushing the Limits.
Erik Hellman is currently working as a senior mobile consultant at Factor10. He previously worked as research engineer and lead software architect at Sony Mobile where he specializes in mobile apps, web technologies, cloud & enterprise services and 3D graphics. Erik is a regular speaker at DroidCon, JFokus, JavaOne and other major developer conferences.
Introduction 1 Part I Building a Better Foundation 7 Chapter 1 Fine-Tuning Your Development Environment 9 Chapter 2 Efficient Java Code for Android 33 Part II Getting the Most Out of Components 55 Chapter 3 Components, Manifests, and Resources 57 Chapter 4 Android User Experience and Interface Design 77 Chapter 5 Android User Interface Operations 93 Chapter 6 Services and Background Tasks 111 Chapter 7 Android IPC 131 Chapter 8 Mastering BroadcastReceivers and Configuration Changes 151 Chapter 9 Data Storage and Serialization Techniques 165 Chapter 10 Writing Automated Tests 191 Part III Pushing the Limits 205 Chapter 11 Advanced Audio, Video, and Camera Applications 207 Chapter 12 Secure Android Applications 231 Chapter 13 Maps, Location, and Activity APIs 249 Chapter 14 Native Code and JNI 267 Chapter 15 The Hidden Android APIs 287 Chapter 16 Hacking the Android Platform 299 Chapter 17 Networking, Web Service, and Remote APIs 319 Chapter 18 Communicating with Remote Devices 349 Chapter 19 Google Play Services 369 Chapter 20 Distributing Applications on Google Play Store 389 Index 403