Beginning Android 4 (Paperback)

Mark Murphy

  • 出版商: Apress
  • 出版日期: 2011-12-23
  • 售價: $1,850
  • 貴賓價: 9.5$1,758
  • 語言: 英文
  • 頁數: 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應用商店等等。Google的Android操作系統已經風靡整個行業,從最初只是一個智能手機操作系統,發展到現在成為一個可以在各種設備上運行應用程式的平台,包括手機、平板電腦、上網本和電視等等,而且這個列表還在不斷增長。

聰明的開發者不會坐視不管,而是積極參與創造創新且可銷售的應用程式,以應對這個快速增長的移動和消費者設備平台。如果你還沒有參與其中,現在就是你的機會!

《Beginning Android 4》詳細介紹了最新版本的Android平台。從安裝工具和編譯骨架應用程式開始,逐步創建佈局、使用小工具、接受用戶輸入並返回結果。很快,你將能夠創建涉及多點觸控、多任務處理和使用GPS的基於位置的功能集的創新應用程式。

你將能夠使用網絡服務實時從互聯網上獲取數據,並通過提供改善生活的應用程式來取悅你的客戶。自從個人電腦時代開始以來,對於普通開發者來說,從未有過如此多的機會。你還在等什麼?趕快拿起《Beginning Android 4》開始吧!

你將學到什麼:
- 開發基於Java的手機應用程式和遊戲,適用於各種手機和設備。
- 使用WebKit和Android小工具框架創建用戶界面。
- 利用互聯網上的實時數據源建立基於位置和地圖的應用程式。
- 在應用程式中加入活動、服務、內容提供者和廣播接收器。
- 支持多個Android版本、多個屏幕尺寸和其他設備特定特性。
- 構建和體驗Android的新WebM視頻和其他多媒體API等等。

這本書適合對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用戶界面
27. 使用操作欄
28. 片段
29. 處理平台變化
30. 訪問文件
31. 使用首選項
32. 管理和訪問本地數據庫
33. 利用Java庫
34. 通過互聯網進行通信
35. 服務:理論
36. 基本服務模式
37. 通過通知提醒用戶
38. 請求和要求權限
39. 訪問基於位置的服務
40. M