50 Android Hacks (Paperback)

Carlos Sessa

買這商品的人也買了...

相關主題

商品描述

Summary

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 this 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!

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 Author

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

Table of Contents

  1. Working your way around layouts
  2. Creating cool animations
  3. View tips and tricks
  4. Tools
  5. Patterns
  6. Working with lists and adapters
  7. Useful libraries
  8. Interacting with other languages
  9. Ready-to-use snippets
  10. Beyond database basics
  11. Avoiding fragmentation
  12. Building tools

商品描述(中文翻譯)


摘要


最好的編程技巧通常是最簡短和最簡單的——即所謂的「hack」。在這本緊湊而無限有用的書中,Android 專家 Carlos Sessa 提供了 50 個「hack」,這些「hack」將為您節省時間,提升技能,甚至可能讓您微笑。


關於本書


「Hack」。聰明的編程技巧,用於解決棘手的小問題。十行代碼可以節省您兩天的工作時間。這些小寶石可以從隔壁辦公桌的老人或者 Stack Overflow 上的天才那裡學到。這正是您將在這本緊湊而有用的書中找到的。


名為「50 Android Hacks」的書籍已經說明了一切。從平凡到壯觀,每個獨立的、圖文並茂的「hack」只有幾頁長,並包含了註釋的源代碼。這些實用技巧分為十二個集合,涵蓋了佈局、動畫、模式等方面。


內容簡介



  • 「Hack 3 創建自定義 ViewGroup」
  • 「Hack 8 使用肯·伯恩斯效果製作幻燈片」
  • 「Hack 20 模型-視圖-表示器模式」
  • 「Hack 23 同步適配器模式」
  • 「Hack 31 Android 中的面向方面的編程」
  • 「Hack 34 在 Android 中使用 Scala」
  • 「Hack 43 批量處理數據庫操作」
  • 還有其他 43 個「hack」!


大多數「hack」適用於 Android 2.x 及更高版本。特定版本的「hack」已經明確標記。


購買印刷版書籍將包括 Manning Publications 提供的 PDF、Kindle 和 ePub 格式的免費電子書。

關於作者

Carlos Sessa 是一位熱情的專業 Android 開發者。他在 Stack Overflow 上活躍,並是一位熱衷於收集「hack」的人。


目錄



  1. 繞過佈局的方法
  2. 創建酷炫的動畫
  3. 視圖的技巧和訣竅
  4. 工具
  5. 模式
  6. 處理列表和適配器
  7. 有用的庫
  8. 與其他語言互動
  9. 可直接使用的代碼片段
  10. 超越數據庫基礎知識
  11. 避免碎片化
  12. 構建工具