SummaryThe best programming techniques are often the shortest and simplestthe 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 this BookHacks. 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 InsideHack 3 Creating a custom ViewGroupHack 8 Slideshow using the Ken Burns effectHack 20 The Model-View-Presenter patternHack 23 The SyncAdapter patternHack 31 Aspect-oriented programming in AndroidHack 34 Using Scala inside AndroidHack 43 Batching database operationsPlus 43 more hacks!Most hacks work with Android 2.x and greater. Version-specific hacks are clearly marked.Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.About the AuthorCarlos Sessa is a passionate professional Android developer. He's active on Stack Overflow and is an avid hack collector.Table of ContentsWorking your way around layoutsCreating cool animationsView tips and tricksToolsPatternsWorking with lists and adaptersUseful librariesInteracting with other languagesReady-to-use snippetsBeyond database basicsAvoiding fragmentationBuilding tools