50 Android Hacks![]() Carlos Sessa MEAP Began: January 2012 Softbound print: April 2013 (est.) | 250 pages ISBN: 9781617290565 |
||||
| Pre-Order options* | ||||
| Order today and start reading 50 Android Hacks today through MEAP | ||||
| MEAP + Ebook only - $27.99 | ||||
| MEAP + Print book (includes Ebook) when available - $34.99 | ||||
| * For more information, please see the MEAP FAQs page. | ||||
| About MEAP Release Date Estimates | ||||
Table of Contents, MEAP Chapters & Resources
| Table of Contents | Resources | |
|
PART I:WORKING YOUR WAY AROUND LAYOUTS
1 Centering views using weights - FREE 2 Using lazy loading and avoiding replication - AVAILABLE 3 Creating a custom ViewGroup - AVAILABLE 4 Settings hacks - AVAILABLE PART II: CREATING COOL ANIMATIONS 5 Snappy transitions with TextSwitcher and ImageSwitcher - AVAILABLE 6 Adding eye candy to your ViewGroup's children - AVAILABLE 7 Doing animations over the Canvas - AVAILABLE 8 Slideshow using Ken Burns effect - AVAILABLE PART III: VIEW TIPS AND TRICKS 9 Avoiding date validations with an EditText for dates - AVAILABLE 10 Formatting a TextView's text - AVAILABLE 11 Adding text glowing effects - AVAILABLE 12 Rounded borders for backgrounds - AVAILABLE 13 Getting the view's width and height in the onCreate() method - AVAILABLE 14 VideoViews and orientation changes - AVAILABLE 15 Removing the background to improve your Activity startup time - AVAILABLE 16 Toast's position hack - AVAILABLE 17 Creating a wizard form using a Gallery - AVAILABLE PART IV: TOOLS 18 Removing log statements before releasing - AVAILABLE 19 Using the Hierarchy Viewer tool to remove unnecessary views - AVAILABLE PART V: PATTERNS 20 The Model-View-Presenter pattern - AVAILABLE 21 BroadcastReceiver following the Activity lifecycle - AVAILABLE 22 Architecture pattern using Android libraries - AVAILABLE 23 The SyncAdapter pattern - AVAILABLE PART VI:WORKING WITH LISTS/ADAPTERS 24 Handling empty lists - AVAILABLE 25 Creating fast adapters with a ViewHolder - AVAILABLE 26 Adding section headers to a ListView - AVAILABLE 27 Communicating with an adapter using an activity and a delegate - AVAILABLE 28 Taking advantage of ListView's header - AVAILABLE 29 Handling orientation changes inside a ViewPager - AVAILABLE 30 ListView's choice mode - AVAILABLE |
PART VII: USEFUL LIBRARIES
31 Aspect-oriented programming in Android - AVAILABLE 32 Empowering your application using Cocos2d-x - AVAILABLE PART VIII: INTERACTING WITH OTHER LANGUAGES 33 Running Objective-C in Android - AVAILABLE 34 Using Scala inside Android - AVAILABLE PART IX: READY-TO-USE SNIPPETS 35 Firing up multiple intents - AVAILABLE 36 Getting user information when receiving feedback - AVAILABLE 37 Adding an MP3 to the Media ContentProvider - AVAILABLE 38 Adding a refresh action to the action bar - AVAILABLE 39 Getting dependencies from the market - AVAILABLE 40 Last-in-first out image loading - AVAILABLE PART X: BEYOND DATABASE BASICS 41 Building Databases with ORMLite - AVAILABLE 42 Creating custom functions in SQLite - AVAILABLE 43 Batching database operations - AVAILABLE PART XI: AVOIDING FRAGMENTATION 44 Handling lights-out mode - AVAILABLE 45 Using new APIs in older devices - AVAILABLE 46 Backward-compatible notifications - AVAILABLE 47 Creating tabs with fragments - AVAILABLE PART XII: BUILDING TOOLS 48 Handling dependencies with Apache Maven - AVAILABLE 49 Installing dependencies in a rooted device - AVAILABLE 50 Using Jenkins to deal with device diversity - AVAILABLE |
|
DESCRIPTION
The best programming techniques are often the shortest and simplest. The hacks. The little gems you learn from the old guy in the next cube or from the geniuses on StackOverflow. 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.
This book organizes 50 Android hacks into categories including Layout, Animation, Patterns, UX, and more. Each fully-illustrated hack is just a couple pages long and includes annotated source code.
WHAT'S INSIDE
- Hack 6 Adding eye candy to your ViewGroup's children
- Hack 14 VideoViews and orientation changes
- Hack 17 Creating a wizard form using a Gallery
- Hack 30 ListView's choice mode
- Hack 34 Using Scala inside Android
- Hack 37 Adding an mp3 to the Media ContentProvider
- Hack 43 Batching database operations
Most hacks work with Android 2.x and greater. This book also includes a few Honeycomb-specific hacks.
About the Author
Carlos Sessa is a passionate full-time Android developer. He's active on StackOverflow and is an avid hack collector.
About the Early Access Version
This Early Access version of 50 Android Hacks enables you to receive new chapters as they are being written. You can also interact with the authors to ask questions, provide feedback and errata, and help shape the final manuscript on the Author Online
Want to learn More?
Sign up to read more content when it is released and to receive news about this book.



