Android Recipes: A Problem-Solution Approach

Front Cover
Apress, Dec 7, 2016 - Computers - 711 pages

Discover more than 100 down-to-earth code recipes, covering a wide range of useful topics using complete and real-world working code examples. This book is updated to include the Android N SDK (7.0), as well as earlier releases.

Crammed with insightful instruction and helpful examples, this fifth edition of Android Recipes is your guide to writing apps for one of today’s hottest mobile platforms. It offers pragmatic advice that will help you get the job done quickly and well. This can save you a great deal of work over creating a project from scratch.

Instead of abstract descriptions of complex concepts, in Android Recipes you'll find live code examples. When you start a new project you can consider copying and pasting the code and configuration files from this book and then modifying them for your own customization needs.

What You'll Learn

  • Code for Android smartphones and tablets
  • Use external libraries to save time and effort
  • Boost app performance by using the Android NDK and RenderScript
  • Design apps for performance, responsiveness, and seamlessness
  • Send data between devices and other external hardware
  • Persist application data and share it between applications
  • Capture and play back various device media items
  • Communicate with web services
  • Get the most out of your user interface
Who This Book Is For

All Android app developers.
 

Contents

Layouts and Views
1
User Interaction Recipes
85
Communications and Networking
189
Interacting with Device Hardware and Media
259
Persisting Data
367
Interacting with the System
443
Graphics and Drawing
585
Working with Android NDK and RenderScript
655
Index
699
Copyright

Other editions - View all

Common terms and phrases

About the author (2016)

Dave Smith is a professional engineer developing hardware and software for mobile and embedded platforms. Dave's engineering efforts are currently focused full-time on Android and iOS development. Since 2009, Dave has worked on developing at all levels of the Android platform, from writing user applications using the software development kit, to building and customizing the Android source code.

Bibliographic information