50 Android Hacks
Carlos M. Sessa
  • June 2013
  • ISBN 9781617290565
  • 216 pages
  • printed in black & white

How to solve common problems that arise in Android development.

From the Foreword by Jake Wharton, Android Engineer

The best programming techniques are often the shortest and simplest. The hacks. In this compact and infinitely useful book, Android expert Carlos Sessa delivers 50 hacks that will save you time, stretch your skills, and maybe even make you smile.

About the book

Hacks. Clever programming techniques to solve thorny little problems. Ten lines of code that save you two days of work. The little gems you learn from the old guy in the next cube or from the geniuses on Stack Overflow. That's just what you'll find in this compact and useful book.

The name 50 Android Hacks says it all. Ranging from the mundane to the spectacular, each self-contained, fully illustrated hack is just a couple of pages long and includes annotated source code. These practical techniques are organized into twelve collections covering layout, animations, patterns, and more.

What's inside

  • Hack 3 Creating a custom ViewGroup
  • Hack 8 Slideshow using the Ken Burns effect
  • Hack 20 The Model-View-Presenter pattern
  • Hack 23 The SyncAdapter pattern
  • Hack 31 Aspect-oriented programming in Android
  • Hack 34 Using Scala inside Android
  • Hack 43 Batching database operations
  • Plus 43 more hacks!

About the reader

Most hacks work with Android 2.x and greater. Version-specific hacks are clearly marked.

About the author

Carlos Sessa is a passionate professional Android developer. He's active on Stack Overflow and is an avid hack collector.


combo $34.99 pBook + eBook
eBook $27.99 pdf + ePub + kindle

FREE domestic shipping on three or more pBooks

One of the best how-to books I’ve read!

Christian Badenas, Android and .NET Developer

Packed with useful Android development tidbits not found in the official documentation.

Matthias Käppler, SoundCloud

A great resource for creating nontrivial user experiences for the Android platform.

Frank Ableson, Coauthor of Android in Action