Android Recipes: A Problem-Solution Approach, 2/e (Paperback) (Android 食譜:問題解決方法(第二版))

Dave Smith, Jeff Friesen

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

相關主題

商品描述

Android continues to be one of the leading mobile OS and development platforms driving today's mobile innovations and the apps ecosystem. Android appears complex, but offers a variety of organized development kits to those coming into Android with differing programming language skill sets.

Android Recipes: A Problem-Solution Approach, Second Edition guides you step-by-step through a wide range of useful topics using complete and real-world working code examples.  It's updated to include latest Jelly Bean Android SDK as well as earlier releases. 

In this expanded edition,

  • You'll start off with a recap of Android architecture and app fundamentals, and then get down to business and build an app with Android SDK 4.1 version or earlier release at the command line and Eclipse.
  • Next, you'll learn how to accomplish practical tasks pertaining to the user interface, communications with the cloud, device hardware, data persistence, communications between applications, and interacting with Android itself.
  • Finally, you'll learn how to leverage various libraries and Scripting Layer for Android (SL4A) to help you perform tasks more quickly, how to use the Android NDK to boost app performance, and how to design apps for performance, responsiveness, seamlessness, and more.
Instead of abstract descriptions of complex concepts, in Android Recipes, you'll find live code examples. When you start a new project, you can consider copying and pasting the code and configuration files from this book, then modifying them for your own customization needs. This can save you a great deal of work over creating a project from scratch!

What you’ll learn

  • Discover Android architecture and various Android-specific APIs
  • How to develop a unit conversion app in the context of command-line/Android SDK and Eclipse/Android SDK environments
  • How to accomplish various tasks related to the user interface and more
  • How to use external libraries to save time and effort
  • How to quickly develop an app using the Scripting Layer for Android (SL4A) tool
  • How to boost app performance by using the Android NDK
  • Guidelines for designing filtered apps, performant apps, responsive apps, and seamless apps

Who this book is for

This book is a handy reference for all Android app developers.  Newcomers may also find this of interest, too.

Table of Contents

1. Getting Started with Android
2. User Interface Recipes
3. Communications and Networking
4. Interacting with Device Hardware and Media
5. Persisting Data
6. Interacting with the System
7. Working with Libraries
8. Working with Android NDK and Renderscript  
9. Appendix A: Scripting Layer for Android
10. Appendix B: Android Tools Overview
11. Appendix C: App Design Guidelines
12. Appendix D: Univerter Architecture

商品描述(中文翻譯)

Android仍然是領先的移動操作系統和開發平台之一,推動著當今的移動創新和應用生態系統。Android看似複雜,但提供了各種有組織的開發工具包,適用於具有不同程式語言技能的開發者。

《Android Recipes: A Problem-Solution Approach, Second Edition》通過完整且真實的工作代碼示例,逐步引導您探索各種有用的主題。該書已更新至最新的Jelly Bean Android SDK以及之前的版本。

在這本擴展版中,

- 首先,您將回顧Android架構和應用基礎知識,然後使用命令行和Eclipse在Android SDK 4.1版本或之前的版本上構建應用程式。
- 接下來,您將學習如何完成與用戶界面、與雲端的通信、設備硬體、數據持久化、應用程式間通信以及與Android本身的交互等實際任務。
- 最後,您將學習如何利用各種庫和Scripting Layer for Android (SL4A)來更快地執行任務,如何使用Android NDK提升應用程式性能,以及如何設計具有性能、響應性、無縫性等特點的應用程式。

《Android Recipes》不僅提供抽象的複雜概念描述,還提供實際的代碼示例。當您開始一個新項目時,可以考慮從本書中複製和粘貼代碼和配置文件,然後根據自己的定制需求進行修改。這樣可以節省大量的工作,而不必從頭開始創建項目!

《Android Recipes》將教您:

- 了解Android架構和各種Android特定的API
- 在命令行/Android SDK和Eclipse/Android SDK環境中開發單位轉換應用程式
- 完成與用戶界面等各種任務相關的工作
- 使用外部庫節省時間和精力
- 使用Scripting Layer for Android (SL4A)工具快速開發應用程式
- 通過使用Android NDK提升應用程式性能
- 設計過濾應用程式、高效應用程式、響應式應用程式和無縫應用程式的指南

這本書是所有Android應用程式開發者的實用參考資料,新手也可能會對此感興趣。

目錄:

1. 開始使用Android
2. 用戶界面示例
3. 通信和網絡
4. 與設備硬體和媒體互動
5. 數據持久化
6. 與系統互動
7. 使用庫
8. 使用Android NDK和Renderscript
9. 附錄A:Scripting Layer for Android
10. 附錄B:Android工具概述
11. 附錄C:應用程式設計指南
12. 附錄D:Univerter架構