60 Android Hacks![]() Carlos Sessa MEAP Began: January 2012 Softbound print: Fall 2012 | 250 pages ISBN: 9781617290565 |
|||
| Pre-Order options* | |||
| Order today and start reading 60 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 | |
|
Layout
Hack 1. Centering views using weights - FREE Hack 2. Avoid replication of XML views using the include tag - AVAILABLE Hack 3. Lazy loading views with the ViewStub class - AVAILABLE Hack 4. Customizing the chooser Animation Hack 5. Snappy transitions with TextSwitcher and ImageSwitcher - AVAILABLE Hack 6. Adding eye candy to your ViewGroup's children - AVAILABLE Hack 7. Handling lights-out mode - AVAILABLE Hack 8. Doing animations over the canvas - AVAILABLE Hack 9. TBD View Hack 10. Avoiding date validations with an EditText for dates - AVAILABLE Hack 11. Removing the background to improve your activity startup time - AVAILABLE Hack 12. Rounded borders for backgrounds - AVAILABLE Hack 13. Getting the view's width and height in the onCreate() method - AVAILABLE Hack 14. VideoViews and orientation changes - AVAILABLE Hack 15. Formatting a TextView's text - AVAILABLE Hack 16. Creating tabs with fragments - AVAILABLE Hack 17. Adding glowing effects to texts - AVAILABLE Hack 18. Toast's hacks Hack 19. TBD Tools Hack 20. Using the Hierarchy Viewer tool to remove unnecessary views Hack 21. Removing log statements before releasing Hack 22. Improving your logcat view Hack 23. Collaborative internalization Hack 24. Adding analytics in an elegant way using AOP Patterns Hack 25. Creating fast adapters with a ViewHolder Hack 26. MVP pattern in Android Hack 27. Communicating with an Adapter using an Activity and a delegate Hack 28. Architecture pattern with Android libraries Hack 29. Making other apps depend on yours Hack 30. Getting dependencies from the market Hack 31. Offline mode Service Hack 32. Controlling Services with Alarms Hack 33. TBD |
AdapterView
Hack 34. Handling empty lists Hack 35. Taking advantage of ListView's header Hack 36. Handling orientation changes inside a ViewPager Hack 37. Fast endless Lists Hack 38. TBD Third party Hack 39. Balloon boxes in your Maps Hack 40. Roboguice to the rescue Hack 41. Empowering your application using Cocos2d-x Boilerplate code Hack 42. Getting user information when receiving feedback Hack 43. Detected rooted devices Hack 44. TBD Fragmentation Hack 45. Using android: targetSdkVersion to reach a larger audience Hack 46. Using new APIs in older devices Hack 47. Android 1.5 with different resource folders Hack 48. TBD Hack 49. TBD Scala Hack 50. Using Scala inside Android Hack 51. Using Scala Actors in Android Building tools Hack 52. Handling dependencies with Apache Maven Hack 53. Installing dependencies in a rooted device Hack 54. Hudson magic for Android Hack 55. Deploying to different devices using Apache Maven BroadcastReceiver Hack 56. BroadcastReceiver following Activity's lifecycle Hack 57. Using BOOT_COMPLETE respecting others User Experience Hack 58. Replacing long press with quick actions Hack 59. Creating a splash screen Hack 60. Making your main screen a dashboard |
|
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 60 hacks that will save you time, stretch your skills, and maybe even make you smile.
This book organizes 60 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 Adding glowing effects to text
- Hack 30 Getting dependencies from the market
- Hack 37 Fast endless Lists
- Hack 43 Detected rooted devices
- Hack 51 Using Scala Actors in Android
- Hack 58 Replacing long press with quick actions
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 60 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.


