Beginning Android 4 (Paperback)
暫譯: Android 4 入門 (平裝本)

Mark Murphy

  • 出版商: Apress
  • 出版日期: 2011-12-23
  • 售價: $1,930
  • 貴賓價: 9.5$1,834
  • 語言: 英文
  • 頁數: 604
  • 裝訂: Paperback
  • ISBN: 1430239840
  • ISBN-13: 9781430239840
  • 相關分類: Android
  • 海外代購書籍(需單獨結帳)

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

商品描述

Beginning Android 4 is your first step on the path to creating marketable apps for the burgeoning Android Market, Amazon's Android Appstore, and more. Google’s Android operating-system has taken the industry by storm, going from its humble beginnings as a smartphone operating system to its current status as a platform for apps that run across a gamut of devices from phones to tablets to netbooks to televisions, and the list is sure to grow.

Smart developers are not sitting idly by in the stands, but are jumping into the game of creating innovative and salable applications for this fast-growing, mobile- and consumer-device platform. If you’re not in the game yet, now is your chance!

Beginning Android 4 is fresh with details on the latest iteration of the Android platform. Begin at the beginning by installing the tools and compiling a skeleton app. Move through creating layouts, employing widgets, taking user input, and giving back results. Soon you’ll be creating innovative applications involving multi-touch, multi-tasking, location-based feature sets using GPS.

You’ll be drawing data live from the Internet using web services and delighting your customers with life-enhancing apps. Not since the PC era first began has there been this much opportunity for the common developer. What are you waiting for? Grab your copy of Beginning Android 4 and get started!

What you’ll learn

  • Develop Java-based mobile applications and games for a wide range of phones and devices.
  • Create user interfaces using WebKit and the Android widget framework.
  • Build location- and map-based applications drawing on live feeds over the Internet.
  • Incorporate activities, services, content providers, and broadcast receivers into your applications.
  • Support multiple Android versions, multiple screen sizes, and other device-specific characteristics.
  • Build and experience the array of new WebM video and other multimedia APIs for Android and more.

Who this book is for

Beginning Android 4 is aimed at programmers new to Android application development who desire to create marketable applications for the burgeoning market of smartphone, tablet, and other Android device users.

Table of Contents

  1. The Big Picture
  2. How to Get Started
  3. Your First Android Project
  4. Examining Your First Project
  5. A Bit About Eclipse
  6. Enhancing Your First Project
  7. Rewriting Your First Project
  8. Using XML-Based Layouts
  9. Employing Basic Widgets
  10. Working with Containers
  11. The Input Method Framework
  12. Using Selection Widgets
  13. Getting Fancy with Lists
  14. Still More Widgets and Containers
  15. Embedding the WebKit Browser
  16. Applying Menus
  17. Showing Pop-up Messages
  18. Handling Activity Lifecycle Events
  19. Handling Rotation
  20. Dealing with Threads
  21. Creating Intent Filters
  22. Launching Activities and Sub-Activities
  23. Working with Resources
  24. Defining and Using Styles
  25. Handling Multiple Screen Sizes
  26. Introducing the Honeycomb UI
  27. Using the Action Bar
  28. Fragments
  29. Handling Platform Changes
  30. Accessing Files
  31. Using Preferences
  32. Managing and Accessing Local Databases
  33. Leveraging Java Libraries
  34. Communicating via the Internet
  35. Services: The Theory
  36. Basic Service Patterns
  37. Alerting Users via Notifications
  38. Requesting and Requiring Permissions
  39. Accessing Location-Based Services
  40. Mapping with MapView and MapActivity
  41. Handling Telephone Calls
  42. Fonts
  43. More Development Tools
  44. The Role of Alternative Environments
  45. HTML5
  46. PhoneGap
  47. Other Alternative Environments
  48. Dealing with Devices
  49. Where Do We Go from Here?

商品描述(中文翻譯)

Beginning Android 4 是您邁向為蓬勃發展的 Android 市場、亞馬遜的 Android Appstore 等創建可銷售應用程式的第一步。Google 的 Android 作業系統已經在業界引起轟動,從最初的智慧型手機作業系統發展到如今的應用程式平台,涵蓋從手機到平板電腦、上網本到電視等各種設備,未來的擴展潛力無限。

聰明的開發者並沒有坐在觀眾席上,而是積極投入創造這個快速增長的移動和消費設備平台的創新且可銷售的應用程式。如果您還沒有參與這場比賽,現在就是您的機會!

Beginning Android 4 充滿了有關 Android 平台最新版本的詳細資訊。從安裝工具和編譯一個骨架應用程式開始,接著學習創建佈局、使用小部件、接收用戶輸入並返回結果。不久之後,您將能夠創建涉及多點觸控、多任務處理、基於位置的功能集(使用 GPS)的創新應用程式。

您將能夠使用網路服務即時從互聯網提取數據,並用增強生活的應用程式讓您的客戶感到驚喜。自從個人電腦時代開始以來,普通開發者從未有過如此多的機會。您還在等什麼?快來拿起您的 Beginning Android 4,開始您的旅程吧!

您將學到什麼



  • 為各種手機和設備開發基於 Java 的移動應用程式和遊戲。

  • 使用 WebKit 和 Android 小部件框架創建用戶界面。

  • 構建基於位置和地圖的應用程式,並從互聯網獲取即時數據。

  • 將活動、服務、內容提供者和廣播接收器整合到您的應用程式中。

  • 支持多個 Android 版本、多種螢幕尺寸及其他設備特性。

  • 構建並體驗一系列新的 WebM 視頻和其他多媒體 API 及更多。

本書適合誰



Beginning Android 4 旨在幫助對 Android 應用程式開發感興趣的程式設計師,特別是那些希望為不斷增長的智慧型手機、平板電腦及其他 Android 設備用戶創建可銷售應用程式的人。

目錄



  1. 全景概覽

  2. 如何開始

  3. 您的第一個 Android 專案

  4. 檢視您的第一個專案

  5. 關於 Eclipse 的一些資訊

  6. 增強您的第一個專案

  7. 重寫您的第一個專案

  8. 使用基於 XML 的佈局

  9. 使用基本小部件

  10. 處理容器

  11. 輸入法框架

  12. 使用選擇小部件

  13. 處理列表的花樣

  14. 更多小部件和容器

  15. 嵌入 WebKit 瀏覽器

  16. 應用菜單

  17. 顯示彈出消息

  18. 處理活動生命週期事件

  19. 處理旋轉

  20. 處理執行緒

  21. 創建意圖過濾器

  22. 啟動活動和子活動

  23. 處理資源

  24. 定義和使用樣式

  25. 處理多種螢幕尺寸

  26. 介紹 Honeycomb UI

  27. 使用操作列

  28. 片段

  29. 處理平台變更

  30. 訪問檔案

  31. 使用偏好設定

  32. 管理和訪問本地資料庫

  33. 利用 Java 函式庫

  34. 通過互聯網進行通信

  35. 服務:理論

  36. 基本服務模式

  37. 通過通知提醒用戶

  38. 請求和要求權限

  39. 訪問基於位置的服務

  40. 使用 MapView 和 MapActivity 進行地圖繪製

  41. 處理電話通話

  42. 字型

  43. 更多開發工具

  44. 替代環境的角色

  45. HTML5

  46. PhoneGap

  47. 其他替代環境

  48. 處理設備

  49. 接下來我們該怎麼辦?