Android實(shí)例開(kāi)發(fā)完全手冊(cè)

出版時(shí)間:2012-7  出版社:陳強(qiáng) 人民郵電出版社 (2012-07出版)  作者:陳強(qiáng)  頁(yè)數(shù):775  
Tag標(biāo)簽:無(wú)  

內(nèi)容概要

  Android憑借其開(kāi)源開(kāi)放性、優(yōu)異的用戶體驗(yàn)和極為方便的開(kāi)發(fā)方式,贏得了廣大用戶和開(kāi)發(fā)者的青睞,目前已經(jīng)發(fā)展成為智能手機(jī)操作系統(tǒng)的翹楚?!  禔ndroid實(shí)例開(kāi)發(fā)完全手冊(cè)》言簡(jiǎn)意賅、通俗易懂、實(shí)例全面并典型,幾乎囊括了所有的和Android應(yīng)用相關(guān)的項(xiàng)目。全書分為16個(gè)章,分別講解了UI布局實(shí)例、控件實(shí)例、自動(dòng)化服務(wù)實(shí)例、數(shù)據(jù)存儲(chǔ)實(shí)例、電話和短信實(shí)例、圖形圖像實(shí)例和網(wǎng)絡(luò)有關(guān)的實(shí)例,以及多媒體實(shí)例、Google地圖實(shí)例。Google API實(shí)例、平板電腦應(yīng)用開(kāi)發(fā)、游戲應(yīng)用、程序優(yōu)化等?!  禔ndroid實(shí)例開(kāi)發(fā)完全手冊(cè)》適合Android程序員、研發(fā)人員及Android愛(ài)好者學(xué)習(xí),也可以作為相關(guān)培訓(xùn)學(xué)校和大專院校相關(guān)專業(yè)的教學(xué)用書。

書籍目錄

第1章 正式開(kāi)發(fā)前的準(zhǔn)備 1.1 Windows下安裝Java環(huán)境JDK 1.1.1 實(shí)例說(shuō)明 1.1.2 具體實(shí)現(xiàn) 1.1.3 特別提醒——檢測(cè)是否安裝成功 1.2 在Windows環(huán)境下安裝Eclipse 1.2.1 實(shí)例說(shuō)明 1.2.2 具體實(shí)現(xiàn) 1.2.3 特別提醒——為Eclipse建立快捷方式 1.3 在Windows環(huán)境下安裝Android SDK 1.1.1 實(shí)例說(shuō)明 1.1.2 具體實(shí)現(xiàn) 1.3.3 特別提醒——不同的SDK版本 1.4 在Windows環(huán)境下安裝ADT 1.4.1 實(shí)例說(shuō)明 1.4.2 具體實(shí)現(xiàn) 1.4.3 特別提醒——不用擔(dān)心安裝過(guò)程慢 1.5 將Android SDK和Eclipse相關(guān)聯(lián) 1.5.1 實(shí)例說(shuō)明 1.5.2 具體實(shí)現(xiàn) 1.5.3 特別提醒——不關(guān)聯(lián)啟動(dòng)SDK的方法 1.6 驗(yàn)證Android開(kāi)發(fā)環(huán)境 1.6.1 實(shí)例說(shuō)明 1.6.2 具體實(shí)現(xiàn) 1.6.3 特別提醒——快速運(yùn)行Android的訣竅 1.7 使用CMD方式創(chuàng)建Android虛擬設(shè)備 1.7.1 實(shí)例說(shuō)明 1.7.2 具體實(shí)現(xiàn) 1.7.3 特別提醒 1.8 使用圖形界面方式創(chuàng)建AVD模擬器 1.8.1 實(shí)例說(shuō)明 1.8.2 具體實(shí)現(xiàn) 1.8.3 特別提醒——?jiǎng)h除/修改AVD 1.9 手動(dòng)更新Android SDK 1.9.1 實(shí)例說(shuō)明 1.9.2 具體實(shí)現(xiàn) 1.9.3 特別提醒——自定義選擇安裝的SDK 1.10 單獨(dú)下載的方式來(lái)更新Android SDK 1.10.1 實(shí)例說(shuō)明 1.10.2 具體實(shí)現(xiàn) 1.10.3 特別提醒——快速安裝Android SDK的訣竅 1.11 在Linux環(huán)境下搭建Android平臺(tái) 1.11.1 實(shí)例說(shuō)明 1.11.2 具體實(shí)現(xiàn) 1.11.3 特別提醒 1.12 蘋果Mac環(huán)境下搭建Android平臺(tái) 1.12.1 實(shí)例說(shuō)明 1.12.2 具體實(shí)現(xiàn) 1.12.3 特別提醒——都是一個(gè)原理 1.13 搭建過(guò)程中的常見(jiàn)錯(cuò)誤 1.13.1 實(shí)例說(shuō)明 1.13.2 最常見(jiàn)的三個(gè)錯(cuò)誤 1.13.3 特別提醒——其他錯(cuò)誤 1.14 第一個(gè)Android程序 1.14.1 實(shí)例說(shuō)明 1.14.2 具體實(shí)現(xiàn) 1.14.3 特別提醒——解決模擬器運(yùn)行時(shí)間長(zhǎng)而引發(fā)的錯(cuò)誤 1.15 向Eclipse中導(dǎo)入Android程序 1.15.1 實(shí)例說(shuō)明 1.15.2 具體實(shí)現(xiàn) 1.15.3 特別提醒——一次向Eclipse中導(dǎo)入多個(gè)Android程序 1.16 斷點(diǎn)調(diào)試Android程序 1.16.1 實(shí)例說(shuō)明 1.16.2 具體實(shí)現(xiàn) 1.16.3 特別提醒——其他調(diào)試方法 第2章 界面布局 2.1 使用線性布局(LinearLayout) 2.1.1 實(shí)例說(shuō)明 2.1.2 具體實(shí)現(xiàn) 2.1.3 特別提醒——布局類型的繼承 2.2 使用相對(duì)布局(Relative Layout) 2.2.1 實(shí)例說(shuō)明 2.2.2 具體實(shí)現(xiàn) 2.2.3 特別提醒——RelativeLayout效果結(jié)構(gòu) 2.3 使用表格布局(TableLayout) 2.3.1 實(shí)例說(shuō)明 2.3.2 具體實(shí)現(xiàn) 2.3.3 特別提醒——使用表格布局的注意事項(xiàng) 2.4 使用絕對(duì)布局(AbsoluteLayout) 2.4.1 實(shí)例說(shuō)明 2.4.2 具體實(shí)現(xiàn) 2.4.3 特別提醒——為什么不推薦使用AbsoluteLayout 2.5 使用標(biāo)簽布局(TabLayout) 2.5.1 實(shí)例說(shuō)明 2.5.2 具體實(shí)現(xiàn) 2.5.3 特別提醒——計(jì)算器的升級(jí)理念 2.6 使用層布局(FrameLayout) 2.6.1 實(shí)例說(shuō)明 2.6.2 具體實(shí)現(xiàn) 2.6.3 特別提醒——層與層的覆蓋 2.7 演示Layout布局的綜合應(yīng)用 2.7.1 實(shí)例說(shuō)明 2.7.2 具體實(shí)現(xiàn) 2.7.3 特別提醒——設(shè)置的圖片不能太大 2.8 創(chuàng)建一個(gè)桌面組件Widget 2.8.1 實(shí)例說(shuō)明 2.8.2 具體實(shí)現(xiàn) 2.8.3 特別提醒——其他的實(shí)例 2.9 在屏幕中實(shí)現(xiàn)一個(gè)按鈕效果 2.9.1 實(shí)例說(shuō)明 2.9.2 具體實(shí)現(xiàn) 2.9.3 特別提醒——更加漂亮的按鈕 2.10 在屏幕中顯示文字 2.10.1 實(shí)例說(shuō)明 2.10.2 具體實(shí)現(xiàn) 2.10.3 特別提醒——Color屬性代表的顏色 2.11 設(shè)置手機(jī)屏幕中的字體 2.11.1 實(shí)例說(shuō)明 2.11.2 具體實(shí)現(xiàn) 2.11.3 特別提醒——更改TextView文字的顏色 2.12 在屏幕中顯示編輯框 2.12.1 實(shí)例說(shuō)明 2.12.2 具體實(shí)現(xiàn) 2.12.3 特別提醒——限制文本框中文字字?jǐn)?shù) 2.14 在屏幕中顯示復(fù)選框 2.14.1 實(shí)例說(shuō)明 2.14.2 具體實(shí)現(xiàn) 2.14.3 特別提醒——RadioButton(單選框)控件 2.15 在屏幕中顯示單選框 2.15.1 實(shí)例說(shuō)明 2.15.2 具體實(shí)現(xiàn) 2.15.3 特別提醒——按鈕的不同狀態(tài) 2.16 在屏幕中顯示下拉列表框 2.16.1 實(shí)例說(shuō)明 2.16.2 具體實(shí)現(xiàn) 2.16.3 特別提醒——Spinner的屬性和方法 2.17 在屏幕中實(shí)現(xiàn)自動(dòng)輸入文本效果 2.17.1 實(shí)例說(shuō)明 2.17.2 具體實(shí)現(xiàn) 2.17.3 特別提醒——下拉框的霧化效果 2.18 使用日期選擇器控件DatePicker 2.18.1 實(shí)例說(shuō)明 2.18.2 具體實(shí)現(xiàn) 2.18.3 特別提醒——控件DatePicker中的方法 2.19 使用時(shí)間選擇器控件TimePicker 2.19.1 實(shí)例說(shuō)明 2.19.2 具體實(shí)現(xiàn) 2.19.3 特別提醒——在屏幕中同時(shí)顯示日期和時(shí)間 2.20 在屏幕內(nèi)實(shí)現(xiàn)滾動(dòng)效果 2.20.1 實(shí)例說(shuō)明 2.20.2 具體實(shí)現(xiàn) 2.20.3 特別提醒——解決ScrollView控件中的內(nèi)容不能完整顯示的問(wèn)題 2.21 在屏幕內(nèi)實(shí)現(xiàn)進(jìn)度條效果 2.21.1 實(shí)例說(shuō)明 2.22.2 具體實(shí)現(xiàn) 2.22.3 特別提醒——為控件Progressbar設(shè)置樣式 2.23 在屏幕內(nèi)使用拖動(dòng)條功能 2.23.1 實(shí)例說(shuō)明 2.23.2 具體實(shí)現(xiàn) 2.23.3 特別提醒——在拖動(dòng)條中顯示提示文字 2.24 在屏幕內(nèi)使用評(píng)分組件 2.24.1 實(shí)例說(shuō)明 2.24.2 具體實(shí)現(xiàn) 2.24.3 特別提醒——使用RatingBar控件的流程 2.25 在屏幕內(nèi)顯示一副圖片 2.25.1 實(shí)例說(shuō)明 2.25.2 具體實(shí)現(xiàn) 2.25.3 特別提醒——制作一個(gè)相框 2.26 設(shè)置一副圖片當(dāng)作按鈕 2.26.1 實(shí)例說(shuō)明 2.26.2 具體實(shí)現(xiàn) 2.26.3 特別提醒——圖片按鈕控件的事件響應(yīng) 2.27 實(shí)現(xiàn)類似QQ空間的照片效果 2.27.1 實(shí)例說(shuō)明 2.27.2 具體實(shí)現(xiàn) 2.27.3 特別提醒——ImageSwitcher控件的三個(gè)方法 2.28 使用網(wǎng)格視圖控件布局屏幕 2.28.1 實(shí)例說(shuō)明 2.28.2 具體實(shí)現(xiàn) 2.28.3 特別提醒——升級(jí)實(shí)例 2.29 在屏幕內(nèi)實(shí)現(xiàn)多個(gè)標(biāo)簽欄樣式的效果 2.29.1 實(shí)例說(shuō)明 2.29.2 具體實(shí)現(xiàn) 2.29.3 特別提醒——TabView的標(biāo)準(zhǔn)用法格式 第3章 基本控件應(yīng)用 3.1 使用EditText控件和setOnKeyListener事件實(shí)現(xiàn)文本處理 3.1.1 實(shí)例說(shuō)明 3.1.2 具體實(shí)現(xiàn) 3.1.3 特別提醒——實(shí)現(xiàn)文字過(guò)濾 3.2 在屏幕中實(shí)現(xiàn)一個(gè)背景圖片按鈕 3.2.1 實(shí)例說(shuō)明 3.2.2 具體實(shí)現(xiàn) 3.2.3 特別提醒——“res/drawable”目錄的作用 3.3 使用Toast實(shí)現(xiàn)提醒 3.3.1 實(shí)例說(shuō)明 3.3.2 具體實(shí)現(xiàn) 3.3.3 特別提醒——Toast的優(yōu)勢(shì) 3.4 用RadioGroup控件實(shí)現(xiàn)選擇處理 3.4.1 實(shí)例說(shuō)明 3.4.2 具體實(shí)現(xiàn) 3.4.3 特別提醒——RadioGroup控件的特殊作用 3.5 使用CheckBox實(shí)現(xiàn)一個(gè)購(gòu)物清單 3.5.1 實(shí)例說(shuō)明 3.5.2 具體實(shí)現(xiàn) 3.5.3 特別提醒——應(yīng)用觸摸屏技術(shù) 3.6 使用CheckBox實(shí)現(xiàn)同意條款效果 3.6.1 實(shí)例說(shuō)明 3.6.2 具體實(shí)現(xiàn) 3.6.3 特別提醒——處理CheckBox的狀態(tài) 3.7 使用ImageView控件實(shí)現(xiàn)相框效果 3.7.1 實(shí)例說(shuō)明 3.7.2 具體實(shí)現(xiàn) 3.7.3 特別提醒——ImageButton的按鈕切換 3.8 使用Spinner實(shí)現(xiàn)選擇處理 3.8.1 實(shí)例說(shuō)明 3.8.2 具體實(shí)現(xiàn) 3.8.3 特別提醒——設(shè)置下拉菜單中的TextView 3.9 使用Gallery控件實(shí)現(xiàn)個(gè)人相簿功能 3.9.1 實(shí)例說(shuō)明 3.9.2 具體實(shí)現(xiàn) 3.9.3 特別提醒——設(shè)置Gallery圖片的寬高 3.10 在手機(jī)中實(shí)現(xiàn)文件搜索功能 3.10.1 實(shí)例說(shuō)明 3.10.2 具體實(shí)現(xiàn) 3.10.3 特別提醒——搜索子目錄 3.11 使用ImageButton控件實(shí)現(xiàn)按鈕置換功能 3.11.1 實(shí)例說(shuō)明 3.11.2 具體實(shí)現(xiàn) 3.11.3 特別提醒——操作顯示的默認(rèn)圖片 3.12 使用AnalogClock實(shí)現(xiàn)一個(gè)時(shí)鐘效果 3.12.1 實(shí)例說(shuō)明 3.12.2 具體實(shí)現(xiàn) 3.13.3 特別提醒——三種常用的System Clock 3.14 在手機(jī)屏幕中實(shí)現(xiàn)不同的進(jìn)度條效果 3.14.1 實(shí)例說(shuō)明 3.14.2 具體實(shí)現(xiàn) 3.14.3 特別提醒——在進(jìn)度條中的4種不同風(fēng)格 3.15 在屏幕中手動(dòng)選擇日期和時(shí)間 3.15.1 實(shí)例說(shuō)明 3.15.2 具體實(shí)現(xiàn) 3.15.3 特別提醒——控件TimePicker中的主要方法 3.16 動(dòng)態(tài)排版手機(jī)屏幕 3.16.1 實(shí)例說(shuō)明 3.16.2 具體實(shí)現(xiàn) 3.16.3 特別提醒——總結(jié)UI界面布局 3.17 使用ListActivity實(shí)現(xiàn)界面布局 3.17.1 實(shí)例說(shuō)明 3.17.2 具體實(shí)現(xiàn) 3.17.3 特別提醒——ListActivity的用法總結(jié) 3.18 加載手機(jī)磁盤中的文件 1463.18.1 實(shí)例說(shuō)明 3.18.2 具體實(shí)現(xiàn) 3.18.3 特別提醒——解析Android中的圖片素材目錄 3.19 使用菜單控件MENU 3.19.1 實(shí)例說(shuō)明 3.19.2 具體實(shí)現(xiàn) 3.19.3 特別提醒——Android系統(tǒng)中的3種菜單類型 3.20 使用SimpleAdapter實(shí)現(xiàn)ListView效果 3.20.1 實(shí)例說(shuō)明 3.20.2 具體實(shí)現(xiàn) 3.20.3 特別提醒——ArrayAdapter接受一個(gè)數(shù)組或者List作為參數(shù) 3.21 在屏幕中實(shí)現(xiàn)抽屜樣式效果 3.21.1 實(shí)例說(shuō)明 3.21.2 具體實(shí)現(xiàn) 3.21.3 特別提醒——實(shí)現(xiàn)可拖拉的抽屜效果 3.22 在屏幕中演示使用多種對(duì)話框 3.22.1 實(shí)例說(shuō)明 3.22.2 具體實(shí)現(xiàn) 3.22.3 特別提醒——自定義消除alertdialog的黑、白邊框 3.23 聯(lián)合使用Toast和Notification實(shí)現(xiàn)提醒 3.23.1 實(shí)例說(shuō)明 3.23.2 具體實(shí)現(xiàn) 3.23.3 特別提醒——更新通知信息 3.24 動(dòng)態(tài)添加/刪除Spinner菜單 3.24.1 實(shí)例說(shuō)明 3.24.2 具體實(shí)現(xiàn) 3.24.3 特別提醒——改變TextView內(nèi)容 3.25 自定義一個(gè)Android控件 3.25.1 實(shí)例說(shuō)明 3.25.2 具體實(shí)現(xiàn) 3.25.3 特別提醒——將屬性值綁定到控件的基本步驟 3.26 設(shè)置控件的外觀樣式 3.26.1 實(shí)例說(shuō)明 3.26.2 具體實(shí)現(xiàn) 3.26.3 特別提醒——查看Android開(kāi)源代碼 3.27 使用自定義控件在屏幕中繪制一條虛線 3.27.1 實(shí)例說(shuō)明 3.27.2 具體實(shí)現(xiàn) 3.27.3 特別提醒——總結(jié)實(shí)現(xiàn)自定義控件的流程 3.28 實(shí)現(xiàn)自定義組合控件和自定義對(duì)話框 3.28.1 實(shí)例說(shuō)明 3.28.2 具體實(shí)現(xiàn) 3.28.3 特別提醒——應(yīng)吸取的經(jīng)驗(yàn) 3.29 使用OptionsMenu在屏幕中自定義菜單 3.29.1 實(shí)例說(shuō)明 3.29.2 具體實(shí)現(xiàn) 3.29.3 特別提醒——編寫自定義樣式 3.30 使用ExpandableListView實(shí)現(xiàn)手風(fēng)琴效果 3.30.1 實(shí)例說(shuō)明 3.30.2 具體實(shí)現(xiàn) 3.30.3 特別提醒——ExpandableListAdapter接口 3.31 基于自定義適配器的ExpandableListView 3.31.1 實(shí)例說(shuō)明 3.31.2 具體實(shí)現(xiàn) 3.31.3 特別提醒——實(shí)現(xiàn)規(guī)整的布局 3.32 使用Chronometer在屏幕中實(shí)現(xiàn)定時(shí)器效果 3.32.1 實(shí)例說(shuō)明 3.32.2 具體實(shí)現(xiàn) 3.32.3 特別提醒——進(jìn)一步設(shè)置時(shí)間 3.33 使用控件SlidingDrawer在屏幕中實(shí)現(xiàn)滑動(dòng)式抽屜的效果 3.33.1 實(shí)例說(shuō)明 3.33.2 具體實(shí)現(xiàn) 3.33.3 特別提醒——布局SlidingDrawer里面的控件 第4章 屏幕顯示應(yīng)用 4.1 在屏幕中輸出顯示一段文字 4.1.1 實(shí)例說(shuō)明 4.1.2 具體實(shí)現(xiàn) 4.1.3 特別提醒——處理超出屏幕寬度的文字 4.2 更改屏幕背景顏色 4.2.1 實(shí)例說(shuō)明 4.2.2 具體實(shí)現(xiàn) 4.2.3 特別提醒——“res/values”目錄保存設(shè)置顏色 4.3 更改屏幕中的文字顏色 4.3.1 實(shí)例說(shuō)明 4.3.2 具體實(shí)現(xiàn) 4.3.3 特別提醒——遵循MVC開(kāi)發(fā)模式 4.5 置換屏幕中TextView文字的顏色 4.4.1 實(shí)例說(shuō)明 4.4.2 具體實(shí)現(xiàn) 4.4.3 特別提醒——使用轉(zhuǎn)義字符 4.5 獲取手機(jī)屏幕的分辨率 4.5.1 實(shí)例說(shuō)明 4.5.2 具體實(shí)現(xiàn) 4.5.3 特別提醒——DisplayMetrics的用法 4.6 設(shè)置屏幕中的文字樣式 4.6.1 實(shí)例說(shuō)明 4.6.2 具體實(shí)現(xiàn) 4.6.3 特別提醒——更改Layout中對(duì)象的外觀 4.7 響應(yīng)按鈕事件 4.7.1 實(shí)例說(shuō)明 4.7.2 具體實(shí)現(xiàn) 4.7.3 特別提醒——兩個(gè)注意事項(xiàng) 4.8 實(shí)現(xiàn)屏幕界面的轉(zhuǎn)換 4.8.1 實(shí)例說(shuō)明 4.8.2 具體實(shí)現(xiàn) 4.8.3 特別提醒——setContentView轉(zhuǎn)換屏幕界面 4.9 在一個(gè)Activity中調(diào)用另一個(gè)Activity 4.9.1 實(shí)例說(shuō)明 4.9.2 具體實(shí)現(xiàn) 4.9.3 特別提醒——Intent的作用 4.10 計(jì)算標(biāo)準(zhǔn)體重 4.10.1 實(shí)例說(shuō)明 4.10.2 具體實(shí)現(xiàn) 4.10.3 特別提醒——Activity的原理 4.11 將數(shù)據(jù)返回到前一個(gè)Activity 4.11.1 實(shí)例說(shuō)明 4.11.2 具體實(shí)現(xiàn) 4.11.3 特別提醒——重新返回給主Activity1 4.12 單擊按鈕后改變文字顏色 4.12.1 實(shí)例說(shuō)明 4.12.2 具體實(shí)現(xiàn) 4.12.3 特別提醒——使用HTML控制顏色 4.13 設(shè)置手機(jī)屏幕中文本的字體 4.13.1 實(shí)例說(shuō)明 4.13.2 具體實(shí)現(xiàn) 4.13.3 特別提醒——使用字體的問(wèn)題 4.14 在手機(jī)屏幕中實(shí)現(xiàn)拖動(dòng)圖片特效 4.14.1 實(shí)例說(shuō)明 4.14.2 具體實(shí)現(xiàn) 4.14.3 特別提醒——導(dǎo)入外部圖片作為內(nèi)置圖 4.15 制作一個(gè)簡(jiǎn)單的計(jì)算器 4.15.1 實(shí)例說(shuō)明 4.15.2 具體實(shí)現(xiàn) 4.15.3 特別提醒——計(jì)算小數(shù) 4.16 在屏幕中實(shí)現(xiàn)一個(gè)About(關(guān)于)信息效果 4.16.1 實(shí)例說(shuō)明 4.16.2 具體實(shí)現(xiàn) 4.16.3 特別提醒——實(shí)現(xiàn)一個(gè)確認(rèn)對(duì)話框 4.17 在手機(jī)屏幕中實(shí)現(xiàn)程序加載效果 4.17.1 實(shí)例說(shuō)明 4.17.2 具體實(shí)現(xiàn) 4.17.3 特別提醒——ProgressDialog類 4.18 創(chuàng)建一個(gè)有選擇項(xiàng)的對(duì)話框 4.18.1 實(shí)例說(shuō)明 4.18.2 具體實(shí)現(xiàn) 4.18.3 特別提醒——AlertDialog.Builder的內(nèi)部組成 4.19 改變手機(jī)的主題 4.19.1 實(shí)例說(shuō)明 4.19.2 具體實(shí)現(xiàn) 4.19.3 特別提醒——設(shè)置Style 4.20 在屏幕中自動(dòng)顯示輸入的數(shù)據(jù) 4.20.1 實(shí)例說(shuō)明 4.20.2 具體實(shí)現(xiàn) 4.20.3 特別提醒——鏈接字符串的妙用 4.21 實(shí)現(xiàn)手機(jī)振動(dòng)效果 4.21.1 實(shí)例說(shuō)明 4.21.2 具體實(shí)現(xiàn) 4.21.3 特別提醒——Vibrator對(duì)象實(shí)現(xiàn)振動(dòng) 4.22 實(shí)現(xiàn)圖文提醒效果 4.22.1 實(shí)例說(shuō)明 4.22.2 具體實(shí)現(xiàn) 4.22.3 特別提醒——帶圖提醒的妙用 4.23 實(shí)現(xiàn)類似于MSN/QQ狀態(tài)效果 4.23.1 實(shí)例說(shuō)明 4.23.2 具體實(shí)現(xiàn) 4.23.3 特別提醒——使用NotificationManager的基本步驟 4.24 檢索手機(jī)中的通訊錄 4.24.1 實(shí)例說(shuō)明 4.24.2 具體實(shí)現(xiàn) 4.24.3 特別提醒——URL介紹和ContentResolver的用法剖析 4.25 管理手機(jī)系統(tǒng)中的文件 4.25.1 實(shí)例說(shuō)明 4.25.2 具體實(shí)現(xiàn) 4.25.3 特別提醒——同時(shí)顯示文件名、圖標(biāo)和文件夾名 4.26 清除、還原手機(jī)桌面 4.26.1 實(shí)例說(shuō)明 4.26.2 具體實(shí)現(xiàn) 4.26.3 特別提醒——類ContextWrapper的根類 4.27 “修改/刪除”手機(jī)中的文件 4.27.1 實(shí)例說(shuō)明 4.27.2 具體實(shí)現(xiàn) 4.27.3 特別提醒——I/O類的操作流程 4.28 獲取當(dāng)前運(yùn)行程序的路徑 4.28.1 實(shí)例說(shuō)明 4.28.2 具體實(shí)現(xiàn) 4.28.3 特別提醒——兩種表示目錄的方式 4.29 獲取手機(jī)內(nèi)SIM卡的信息 4.29.1 實(shí)例說(shuō)明 4.29.2 具體實(shí)現(xiàn) 4.29.3 特別提醒——SIM卡的意義 4.30 查看當(dāng)前系統(tǒng)中正在運(yùn)行的程序 4.30.1 實(shí)例說(shuō)明 4.30.2 具體實(shí)現(xiàn) 4.30.3 特別提醒——AndroidManifest.xml中的權(quán)限 4.31 修改手機(jī)屏幕的顯示方向 4.31.1 實(shí)例說(shuō)明 4.31.2 具體實(shí)現(xiàn) 4.31.3 特別提醒——切換和不切換的實(shí)現(xiàn)方法 第5章 自動(dòng)為您服務(wù) 5.1 獲取手機(jī)屏幕的分辨率 5.1.1 實(shí)例說(shuō)明 5.1.2 具體實(shí)現(xiàn) 5.1.3 特別提醒——一個(gè)模擬器模擬短信操作 5.2 獲取手機(jī)剩余的電池容量 5.2.1 實(shí)例說(shuō)明 5.2.2 具體實(shí)現(xiàn) 5.2.3 特別提醒——Reseiver的作用 5.3 來(lái)電時(shí)自動(dòng)發(fā)送信息提醒 5.3.1 實(shí)例說(shuō)明 5.3.2 具體實(shí)現(xiàn) 5.3.3 特別提醒——TelephonyManager和PhoneStateListener 5.4 獲取手機(jī)中存儲(chǔ)卡的容量 5.4.1 實(shí)例說(shuō)明 5.4.2 具體實(shí)現(xiàn) 5.4.3 特別提醒——使用FAT32格式的磁盤鏡像作為SD卡的模擬 5.5 操作存儲(chǔ)卡和內(nèi)存卡中的信息 5.5.1 實(shí)例說(shuō)明 5.5.2 具體實(shí)現(xiàn) 5.5.3 特別提醒——管理SD卡中的內(nèi)容 5.6 設(shè)置鬧鐘 5.6.1 實(shí)例說(shuō)明 5.6.2 具體實(shí)現(xiàn) 5.6.3 特別提醒——類AlarmManager的作用 5.7 設(shè)置黑名單來(lái)電自動(dòng)靜音 5.7.1 實(shí)例說(shuō)明 5.7.2 具體實(shí)現(xiàn) 5.7.3 特別提醒——檢測(cè)Android系統(tǒng)是否靜音 5.8 定時(shí)更換手機(jī)桌面背景 5.8.1 實(shí)例說(shuō)明 5.8.2 具體實(shí)現(xiàn) 5.8.3 特別提醒——AlarmManager的原理 5.9 開(kāi)機(jī)后自動(dòng)顯示一個(gè)界面 5.9.1 實(shí)例說(shuō)明 5.9.2 具體實(shí)現(xiàn) 5.9.3 特別提醒——開(kāi)機(jī)發(fā)送BOOT_COMPLETED廣播信息 5.10 替換手機(jī)屏幕的背景圖片 5.10.1 實(shí)例說(shuō)明 5.10.2 具體實(shí)現(xiàn) 5.10.3 特別提醒——維持圖片的寬高比 5.11 在手機(jī)屏幕中拖動(dòng)一個(gè)按鈕 5.11.1 實(shí)例說(shuō)明 5.11.2 具體實(shí)現(xiàn) 5.11.3 特別提醒——通過(guò)keyCode來(lái)判斷A~Z的按鍵 5.12 自動(dòng)控制系統(tǒng)服務(wù) 5.12.1 實(shí)例說(shuō)明 5.12.2 具體實(shí)現(xiàn) 5.12.3 特別提醒——Service 的作用 5.13 手機(jī)背面朝上時(shí)自動(dòng)啟動(dòng)振動(dòng)模式 5.13.1 實(shí)例說(shuō)明 5.13.2 具體實(shí)現(xiàn) 5.13.3 特別提醒——registerListener()的參數(shù) 第6章 數(shù)據(jù)存儲(chǔ)服務(wù) 6.1 在屏幕中顯示SharedPreferences存儲(chǔ)的信息 6.1.1 實(shí)例說(shuō)明 6.1.2 具體實(shí)現(xiàn) 6.1.3 特別提醒——存放數(shù)據(jù)的路徑 6.2 演示數(shù)據(jù)添加、刪除等操作 6.2.1 實(shí)例說(shuō)明 6.2.2 具體實(shí)現(xiàn) 6.2.3 特別提醒——打印輸出級(jí)別 6.3 使用ContentProvider 6.3.1 實(shí)例說(shuō)明 6.3.2 具體實(shí)現(xiàn) 6.3.3 特別提醒——ContentResolver的接口 6.4 使用SQLite編寫一個(gè)日記本 6.4.1 實(shí)例說(shuō)明 6.4.2 具體實(shí)現(xiàn) 6.4.3 特別提醒——SimpleCursorAdapter介紹 6.5 使用ContentProvider實(shí)現(xiàn)日記本功能 6.5.1 實(shí)例說(shuō)明 6.5.2 具體實(shí)現(xiàn) 6.5.3 特別提醒——使用Uri 的形式 6.6 保存用戶信息 6.6.1 實(shí)例說(shuō)明 6.6.2 具體實(shí)現(xiàn) 6.6.3 特別提醒——獲取XML文件中的數(shù)據(jù) 6.7 使用文件保存數(shù)據(jù) 6.7.1 實(shí)例說(shuō)明 6.7.2 具體實(shí)現(xiàn) 6.7.3 特別提醒——方法openFileOutput() 6.8 將網(wǎng)上圖片保存在SD卡中并顯示出來(lái) 6.8.1 實(shí)例說(shuō)明 6.8.2 具體實(shí)現(xiàn) 6.8.3 特別提醒——Android的數(shù)據(jù)存儲(chǔ)方式 第7章 電話和短信應(yīng)用 7.1 一個(gè)簡(jiǎn)單的撥號(hào)程序 7.1.1 實(shí)例說(shuō)明 7.1.2 具體實(shí)現(xiàn) 7.1.3 特別提醒——IntentFilter實(shí)現(xiàn)撥號(hào) 7.2 發(fā)送短信程序 7.2.1 實(shí)例說(shuō)明 7.2.2 具體實(shí)現(xiàn) 7.2.3 特別提醒——android.telephony和android.telephony.gsm 7.3 一個(gè)按鈕撥號(hào)程序 7.3.1 實(shí)例說(shuō)明 7.3.2 具體實(shí)現(xiàn) 7.3.3 特別提醒——方法isPhoneNumberValid來(lái)檢查字符串 7.4 短信發(fā)送系統(tǒng) 7.4.1 實(shí)例說(shuō)明 7.4.2 具體實(shí)現(xiàn) 7.4.3 特別提醒——SmsManager類中的方法 7.5 屏幕觸控?fù)芴?hào)程序 7.5.1 實(shí)例說(shuō)明 7.5.2 具體實(shí)現(xiàn) 7.5.3 特別提醒——將Action動(dòng)作定義成常數(shù) 7.6 實(shí)現(xiàn)短信群發(fā)功能 7.6.1 實(shí)例說(shuō)明 7.6.2 具體實(shí)現(xiàn) 7.6.3 特別提醒——群組發(fā)送 7.7 發(fā)送短信時(shí)實(shí)現(xiàn)E-mail郵件通知 7.7.1 實(shí)例說(shuō)明 7.7.2 具體實(shí)現(xiàn) 7.7.3 特別提醒——Intent機(jī)制的通信 7.8 來(lái)電后自動(dòng)發(fā)送郵件通知 7.8.1 實(shí)例說(shuō)明 7.8.2 具體實(shí)現(xiàn) 7.8.3 特別提醒——模擬器失敗提示 7.9 監(jiān)聽(tīng)短信是否發(fā)送成功 7.9.1 實(shí)例說(shuō)明 7.9.2 具體實(shí)現(xiàn) 7.9.3 特別提醒——短信發(fā)送的兩種狀態(tài) 7.10 監(jiān)控手機(jī)撥接狀態(tài) 7.10.1 實(shí)例說(shuō)明 7.10.2 具體實(shí)現(xiàn) 7.10.3 特別提醒——系統(tǒng)服務(wù)的返回對(duì)象 7.11 監(jiān)控收取的短信中是否含有某關(guān)鍵字 7.11.1 實(shí)例說(shuō)明 7.11.2 具體實(shí)現(xiàn) 7.11.3 特別提醒——Activity程序的喚醒 第8章 圖形和圖像處理 8.1.1 實(shí)例說(shuō)明 8.1.2 具體實(shí)現(xiàn) 8.1.3 特別提醒——類Paint中的方法 8.2 在手機(jī)屏幕中繪制一個(gè)畫布 8.2.1 實(shí)例說(shuō)明 8.2.2 具體實(shí)現(xiàn) 8.2.3 特別提醒——生成圖片水印 8.3 在手機(jī)屏幕中繪制各種圖形 8.3.1 實(shí)例說(shuō)明 8.3.2 具體實(shí)現(xiàn) 8.3.3 特別提醒——方法save和restore 8.4 在手機(jī)屏幕中模擬實(shí)現(xiàn)水紋效果 8.4.1 實(shí)例說(shuō)明 8.4.2 實(shí)例說(shuō)明 8.4.3 特別提醒——Bitmap類縮放圖片 8.5 在手機(jī)屏幕中渲染一個(gè)幾何圖形 8.5.1 實(shí)例說(shuō)明 8.5.2 具體實(shí)現(xiàn) 8.5.3 特別提醒——類Shader的直接子類 8.6 在手機(jī)屏幕中實(shí)現(xiàn)動(dòng)畫效果 8.6.1 實(shí)例說(shuō)明 8.6.2 具體實(shí)現(xiàn) 8.6.3 特別提醒——Tween的4種動(dòng)畫效果 8.7 在手機(jī)屏幕中實(shí)現(xiàn)Frame動(dòng)畫效果 8.7.1 具體實(shí)現(xiàn) 8.7.2 特別提醒——使用Frame動(dòng)畫的流程 8.8 使用Matrix實(shí)現(xiàn)圖片縮放 8.8.1 實(shí)例說(shuō)明 8.8.2 具體實(shí)現(xiàn) 8.8.3 特別提醒——4種縮放位圖的方法 8.9 旋轉(zhuǎn)屏幕中的圖片 8.9.1 實(shí)例說(shuō)明 8.9.2 具體實(shí)現(xiàn) 8.9.3 特別提醒——Matrix或Canvas旋轉(zhuǎn)位圖 8.10 實(shí)現(xiàn)天上移動(dòng)星星的效果 8.10.1 實(shí)例說(shuō)明 8.10.2 具體實(shí)現(xiàn) 8.10.3 特別提醒——OpenGL技術(shù) 8.11 構(gòu)建一個(gè)模擬3D場(chǎng)景效果 8.11.1 實(shí)例說(shuō)明 8.11.2 具體實(shí)現(xiàn) 8.11.3 特別提醒——OpenGL標(biāo)準(zhǔn)接口 8.12 實(shí)現(xiàn)浮動(dòng)的旗幟效果 8.12.1 實(shí)例說(shuō)明 8.12.2 具體實(shí)現(xiàn) 8.12.3 特別提醒——OpenGL ES繪圖的基本流程 8.13 屏幕中顯示多個(gè)物體 8.13.1 實(shí)例說(shuō)明 8.13.2 具體實(shí)現(xiàn) 8.13.3 特別提醒——類FloatBuffer 8.14 模擬實(shí)現(xiàn)粒子系統(tǒng)效果 8.14.1 實(shí)例說(shuō)明 8.14.2 具體實(shí)現(xiàn) 8.14.3 特別提醒——粒子系統(tǒng)的實(shí)現(xiàn)流程 8.15 移動(dòng)手機(jī)屏幕中的圖片 8.15.1 實(shí)例說(shuō)明 8.15.2 具體實(shí)現(xiàn) 8.15.3 特別提醒——save和restore實(shí)現(xiàn)繪制 8.16 在Canvas 畫布中繪制字符串 8.16.1 實(shí)例說(shuō)明 8.16.2 具體實(shí)現(xiàn) 8.16.3 特別提醒——設(shè)置畫布的屬性 8.17 在手機(jī)屏幕中移動(dòng)一個(gè)不斷變換顏色的圖形 8.17.1 實(shí)例說(shuō)明 8.17.2 具體實(shí)現(xiàn) 8.17.3 特別提醒——SurfaceView的用法 8.18 在手機(jī)屏幕中實(shí)現(xiàn)一個(gè)圖片移動(dòng)的動(dòng)畫效果 8.18.1 實(shí)例說(shuō)明 8.18.2 具體實(shí)現(xiàn) 8.18.3 特別提醒——SurfaceHolder.Callback回調(diào)接口方法 8.19 繪制一個(gè)三維圓柱體 8.19.1 實(shí)例說(shuō)明 8.19.2 具體實(shí)現(xiàn) 8.19.3 特別提醒——數(shù)學(xué)中的圓柱體 8.20 在手機(jī)屏幕中混合圖像 8.20.1 實(shí)例說(shuō)明 8.20.2 具體實(shí)現(xiàn) 8.20.3 特別提醒——常用的混合方式 8.21 顯示圖片的寬和高 8.21.1 實(shí)例說(shuō)明 8.21.2 具體實(shí)現(xiàn) 8.21.3 特別提醒——處理位圖 8.22 繪制各種空心圖形、實(shí)心圖形和漸變圖形 8.22.1 實(shí)例說(shuō)明 8.22.2 具體實(shí)現(xiàn) 8.22.3 特別提醒——Canvas與ImageView 8.23 編寫一個(gè)屏保程序 8.23.1 實(shí)例說(shuō)明 8.23.2 具體實(shí)現(xiàn) 8.23.3 特別提醒——Runnable的作用 8.24 在屏幕中通過(guò)觸摸單擊的方式移動(dòng)圖片 8.24.1 實(shí)例說(shuō)明 8.24.2 具體實(shí)現(xiàn) 8.24.3 特別提醒——Bitmap的用法 8.25 在手機(jī)屏幕中繪制一個(gè)矩形 8.25.1 實(shí)例說(shuō)明 8.25.2 具體實(shí)現(xiàn) 8.25.3 特別提醒——模擬器中創(chuàng)建虛擬SD卡 8.26 在手機(jī)屏幕中顯示系統(tǒng)內(nèi)的圖片信息 8.26.1 實(shí)例說(shuō)明 8.26.2 具體實(shí)現(xiàn) 8.26.3 特別提醒——類Canvas顯示位圖 第9章 互聯(lián)網(wǎng)應(yīng)用 9.1 傳遞HTTP參數(shù) 9.1.1 實(shí)例說(shuō)明 9.1.2 具體實(shí)現(xiàn) 9.1.3 特別提醒——在Android系統(tǒng)中打開(kāi)鏈接 9.2 在手機(jī)中瀏覽網(wǎng)頁(yè) 9.2.1 實(shí)例說(shuō)明 9.2.2 具體實(shí)現(xiàn) 9.2.3 特別提醒——loadUrl方法訪問(wèn)網(wǎng)頁(yè) 9.3 在手機(jī)中使用HTML程序 9.3.1 實(shí)例說(shuō)明 9.3.2 具體實(shí)現(xiàn) 9.3.3 特別提醒——開(kāi)發(fā)Android網(wǎng)絡(luò)項(xiàng)的注意事項(xiàng) 9.4 使用內(nèi)置瀏覽器打開(kāi)網(wǎng)頁(yè) 9.4.1 實(shí)例說(shuō)明 9.4.2 具體實(shí)現(xiàn) 9.4.3 特別提醒——WebSettings設(shè)置WebView屬性 9.5 在屏幕中顯示QQ空間中的圖片 9.5.1 實(shí)例說(shuō)明 9.5.2 具體實(shí)現(xiàn) 9.5.3 特別提醒——Gallery控件在游戲中的應(yīng)用 9.5.4 實(shí)例說(shuō)明 9.5.5 具體實(shí)現(xiàn) 9.5.6 特別提醒——將InputStream轉(zhuǎn)換為String 9.6 將文件上傳至服務(wù)器 9.6.1 實(shí)例說(shuō)明 9.6.2 具體實(shí)現(xiàn) 9.6.3 特別提醒——表單上傳程序?qū)崿F(xiàn)文件上傳 9.7 實(shí)現(xiàn)一個(gè)RSS系統(tǒng) 9.7.1 實(shí)例說(shuō)明 9.7.2 具體實(shí)現(xiàn) 9.7.3 特別提醒——RSS2.0的語(yǔ)法規(guī)則 9.8 遠(yuǎn)程下載并安裝一個(gè)軟件 9.8.1 實(shí)例說(shuō)明 9.8.2 具體實(shí)現(xiàn) 9.8.3 特別提醒——APK文件介紹 9.9 開(kāi)發(fā)一個(gè)移動(dòng)微博發(fā)布器 9.9.1 實(shí)例說(shuō)明 9.9.2 具體實(shí)現(xiàn) 9.9.3 特別提醒——樂(lè)多博客的接口 第10章 多媒體應(yīng)用 10.1 調(diào)節(jié)手機(jī)音量的大小 10.1.1 實(shí)例說(shuō)明 10.1.2 具體實(shí)現(xiàn) 10.1.3 特別提醒——AudioManager管理手機(jī)聲音 10.2 在手機(jī)中播放MP3文件 10.2.1 實(shí)例說(shuō)明 10.2.2 具體實(shí)現(xiàn) 10.2.3 特別提醒——播放手機(jī)卡里的音樂(lè)或者網(wǎng)絡(luò)中的流媒體 10.3 編寫一個(gè)錄音程序 10.3.1 實(shí)例說(shuō)明 10.3.2 具體實(shí)現(xiàn) 10.3.3 特別提醒——Android的開(kāi)源多媒體框架 10.4 在手機(jī)中實(shí)現(xiàn)相機(jī)預(yù)覽和拍照功能 10.4.1 實(shí)例說(shuō)明 10.4.2 具體實(shí)現(xiàn) 10.4.3 特別提醒——使用攝像頭的方法 10.5 在手機(jī)中播放影片 10.5.1 實(shí)例說(shuō)明 10.5.2 具體實(shí)現(xiàn) 10.5.3 特別提醒——VideoView類的構(gòu)造函數(shù) 10.6 編程的方式設(shè)置手機(jī)中的鈴聲 10.6.1 實(shí)例說(shuō)明 10.6.2 具體實(shí)現(xiàn) 10.6.3 特別提醒——設(shè)置3種聲音 10.7 播放遠(yuǎn)程網(wǎng)絡(luò)中的MP3 10.7.1 實(shí)例說(shuō)明 10.7.2 具體實(shí)現(xiàn) 10.7.3 特別提醒——Runnable并不一定是新開(kāi)一個(gè)線程 10.8 從網(wǎng)絡(luò)中遠(yuǎn)程下載手機(jī)鈴聲 10.8.1 實(shí)例說(shuō)明 10.8.2 具體實(shí)現(xiàn) 10.8.3 特別提醒——使用Notification的注意事項(xiàng) 10.9 遠(yuǎn)程觀看網(wǎng)絡(luò)中的3GP視頻 10.9.1 實(shí)例說(shuō)明 10.9.2 具體實(shí)現(xiàn) 10.9.3 特別提醒——Gallery調(diào)用MediaProvider的數(shù)據(jù) 10.10 在屏幕中播放GIF動(dòng)畫 10.10.1 實(shí)例說(shuō)明 10.10.2 具體實(shí)現(xiàn) 10.10.3 特別提醒——GIF動(dòng)畫和幀播放 10.11 編寫一個(gè)簡(jiǎn)單的音樂(lè)播放器 10.11.1 實(shí)例說(shuō)明 10.11.2 具體實(shí)現(xiàn) 10.11.3 特別提醒——SD卡支持ContentProvider接口 10.12 在手機(jī)中播放MP4視頻 10.12.1 實(shí)例說(shuō)明 10.12.2 具體實(shí)現(xiàn) 10.12.3 特別提醒——VideoView中的常用方法 第11章 地圖服務(wù) 11.1 獲取當(dāng)前位置的坐標(biāo) 11.1.1 實(shí)例說(shuō)明 11.1.2 具體實(shí)現(xiàn) 11.1.3 特別提醒——android.location的定位功能 11.2 使用谷歌地圖 11.2.1 實(shí)例說(shuō)明 11.2.2 具體實(shí)現(xiàn) 11.2.3 特別提醒——使用Map API密鑰的基本流程 11.3 輸入一個(gè)坐標(biāo)后在地圖中實(shí)現(xiàn)定位 11.3.1 實(shí)例說(shuō)明 11.3.2 具體實(shí)現(xiàn) 11.3.3 特別提醒——類GeoPoint的方法 14.4 在手機(jī)中實(shí)現(xiàn)地址查詢 11.4.1 實(shí)例說(shuō)明 11.4.2 具體實(shí)現(xiàn) 11.4.3 特別提醒——Google Map API解密 11.5 實(shí)現(xiàn)路徑導(dǎo)航 11.5.1 實(shí)例說(shuō)明 11.5.2 具體實(shí)現(xiàn) 11.5.3 特別提醒——起點(diǎn)和終點(diǎn)的設(shè)置 11.6 移動(dòng)手機(jī)時(shí)自動(dòng)實(shí)現(xiàn)位置更新 11.6.1 實(shí)例說(shuō)明 11.6.2 具體實(shí)現(xiàn) 11.6.3 特別提醒——判斷GPS模塊是否存在或開(kāi)啟 11.7 在地圖中繪制線路并計(jì)算距離 11.7.1 實(shí)例說(shuō)明 11.7.2 具體實(shí)現(xiàn) 11.7.3 特別提醒——JavaScript overlay類型 11.8 在谷歌地圖中顯示指定的位置 11.8.1 實(shí)例說(shuō)明 11.8.2 具體實(shí)現(xiàn) 11.8.3 特別提醒——Android的位置訪問(wèn) 11.9 在屏幕中顯示當(dāng)前位置的詳細(xì)信息 11.9.1 實(shí)例說(shuō)明 11.9.2 具體實(shí)現(xiàn) 11.9.3 特別提醒——Android中實(shí)現(xiàn)定位的地圖 11.10 快速查詢某個(gè)位置 11.10.1 實(shí)例說(shuō)明 11.10.2 具體實(shí)現(xiàn) 11.10.3 特別提醒——谷歌地圖的3種視圖模式 11.11 在手機(jī)地圖中查詢一個(gè)地址 11.11.1 實(shí)例說(shuō)明 11.11.2 具體實(shí)現(xiàn) 11.11.3 特別提醒——選擇中文輸入法 第12章 Google API 12.1 模擬驗(yàn)證官方賬號(hào) 12.1.1 實(shí)例說(shuō)明 12.1.2 具體實(shí)現(xiàn) 12.1.3 特別提醒——Google Account的組成 12.2 實(shí)現(xiàn)谷歌搜索功能 12.2.1 實(shí)例說(shuō)明 12.2.2 具體實(shí)現(xiàn) 12.2.3 特別提醒——使用Google Search API的流程 12.3 使用Google Chart API生成二維條碼 12.3.1 實(shí)例說(shuō)明 12.3.2 具體實(shí)現(xiàn) 12.3.3 特別提醒——Google Chart API的用法詳解 12.4 在手機(jī)中編寫一個(gè)翻譯軟件 12.4.1 實(shí)例說(shuō)明 12.4.2 具體實(shí)現(xiàn) 12.4.3 特別提醒——Ajax語(yǔ)言的API 12.5 在手機(jī)屏幕中生成二維條碼 12.5.1 實(shí)例說(shuō)明 12.5.2 具體實(shí)現(xiàn) 12.5.3 特別提醒——DisplayMetircs處理分辨率問(wèn)題 12.6 引用qrcode項(xiàng)目實(shí)現(xiàn)二維條碼 12.6.1 實(shí)例說(shuō)明 12.6.2 具體實(shí)現(xiàn) 12.6.3 特別提醒——Android拍照的兩種方式 第13章 游戲應(yīng)用 13.1 五子棋游戲 13.1.1 實(shí)例說(shuō)明 13.1.2 具體實(shí)現(xiàn) 13.2 益智類游戲——魔塔 13.2.1 實(shí)例說(shuō)明 13.2.2 具體實(shí)現(xiàn) 13.2.3 特別提醒—— 一款游戲產(chǎn)品受到的限制 13.3 一個(gè)簡(jiǎn)單的貪吃蛇游戲 13.3.1 實(shí)例說(shuō)明 13.3.2 具體實(shí)現(xiàn) 13.3.3 特別提醒——貪吃蛇游戲的基本思路 13.4 撲克游戲 13.4.1 實(shí)例說(shuō)明 13.4.2 具體實(shí)現(xiàn) 13.4.3 特別提醒——游戲的大綱策劃 13.5 掃雷游戲 13.5.1 實(shí)例說(shuō)明 13.5.2 具體實(shí)現(xiàn) 13.5.3 特別提醒——用“?”標(biāo)記空白 第14章 程序優(yōu)化 14.1 標(biāo)簽在UI界面中的優(yōu)化作用 14.1.1 實(shí)例說(shuō)明 14.1.2 具體實(shí)現(xiàn) 14.1.3 特別提醒——使用標(biāo)簽的注意事項(xiàng) 14.2 測(cè)試計(jì)算機(jī)的性能 14.2.1 實(shí)例說(shuō)明 14.2.2 具體實(shí)現(xiàn) 14.2.3 特別提醒——使用動(dòng)態(tài)代理的好處 14.3 測(cè)試內(nèi)存性能 14.3.1 實(shí)例說(shuō)明 14.3.2 具體實(shí)現(xiàn) 14.3.3 特別提醒——命名問(wèn)題 14.4 Android Layout優(yōu)化 14.4.1 實(shí)例說(shuō)明 14.4.2 具體實(shí)現(xiàn) 14.4.3 特別提醒——Layout布局的注意事項(xiàng) 14.5 優(yōu)化Bitmap圖片 14.5.1 實(shí)例說(shuō)明 14.5.2 具體實(shí)現(xiàn) 14.5.3 特別提醒——Options中的屬性 14.6 優(yōu)化Android模擬器 14.6.1 實(shí)例說(shuō)明 14.6.2 具體實(shí)現(xiàn) 14.6.3 特別提醒——開(kāi)啟動(dòng)畫效果選項(xiàng) 第15章 平板電腦應(yīng)用開(kāi)發(fā) 15.1 設(shè)置平板設(shè)備程序開(kāi)發(fā)環(huán)境 15.1.1 實(shí)例說(shuō)明 15.1.2 具體實(shí)現(xiàn) 15.1.3 特別提醒——平板電腦的分辨率 15.2 在平板電腦中開(kāi)發(fā)一個(gè)音樂(lè)播放器 15.2.1 實(shí)例說(shuō)明 15.2.2 具體實(shí)現(xiàn) 15.2.3 特別提醒——在平板電腦中開(kāi)發(fā)一個(gè)視頻播放程序 15.3 瀏覽指定的網(wǎng)頁(yè) 15.3.1 實(shí)例說(shuō)明 15.3.2 具體實(shí)現(xiàn) 15.3.3 特別提醒——設(shè)置樣式自適應(yīng) 15.4 開(kāi)發(fā)一個(gè)天氣預(yù)報(bào)系統(tǒng) 15.4.1 實(shí)例說(shuō)明 15.4.2 具體實(shí)現(xiàn) 15.4.3 特別提醒——XML實(shí)現(xiàn)方式 15.5 使用文件存儲(chǔ)數(shù)據(jù)的方法保存音樂(lè)狀態(tài) 15.5.1 實(shí)例說(shuō)明 15.5.2 具體實(shí)現(xiàn) 15.5.3 特別提醒——修改平板電腦程序 第16章 創(chuàng)意開(kāi)發(fā) 16.1 開(kāi)發(fā)一個(gè)控制玩具車的藍(lán)牙遙控器 16.1.1 實(shí)例說(shuō)明 16.1.2 具體實(shí)現(xiàn) 16.1.3 特別提醒——藍(lán)牙在模擬器上發(fā)生問(wèn)題 16.2 手機(jī)模擬實(shí)現(xiàn)跋杯儀式 16.2.1 實(shí)例說(shuō)明 16.2.2 具體實(shí)現(xiàn) 16.2.3 特別提醒——使用傳感器技術(shù) 16.3 隨時(shí)檢測(cè)當(dāng)前的加速度 16.3.1 實(shí)例說(shuō)明 16.3.2 具體實(shí)現(xiàn) 16.3.3 特別提醒——安裝SensorSimulator工具 16.4 語(yǔ)音識(shí)別系統(tǒng) 16.4.1 實(shí)例說(shuō)明 16.4.2 具體實(shí)現(xiàn) 16.4.3 特別提醒——谷歌的語(yǔ)音識(shí)別技術(shù) 16.5 在Android中使用JavaScript 16.5.1 實(shí)例說(shuō)明 16.5.2 具體實(shí)現(xiàn) 16.5.3 特別提醒——在Android中做網(wǎng)頁(yè)

章節(jié)摘錄

版權(quán)頁(yè):   插圖: 

編輯推薦

《Android實(shí)例開(kāi)發(fā)完全手冊(cè)》適合Android程序員、研發(fā)人員及Android愛(ài)好者學(xué)習(xí),也可以作為相關(guān)培訓(xùn)學(xué)校和大專院校相關(guān)專業(yè)的教學(xué)用書。

圖書封面

圖書標(biāo)簽Tags

無(wú)

評(píng)論、評(píng)分、閱讀與下載


    Android實(shí)例開(kāi)發(fā)完全手冊(cè) PDF格式下載


用戶評(píng)論 (總計(jì)8條)

 
 

  •   迄今為止,我見(jiàn)過(guò)的實(shí)例最全的安卓書,每個(gè)實(shí)例都有代表性,并且講解非常深入,適合初學(xué)者,物所超值的一本書
  •   是一本好書,是一本中級(jí)的書!里面有好的例子,適合想提升Android的學(xué)習(xí)者!快遞不給力,我收到的時(shí)候,包裝都爛了。
  •   粗略的看了下,比較好。App應(yīng)用層開(kāi)發(fā)中,比較好的工具書。framework層來(lái)說(shuō):就幾乎毫無(wú)涉及了。欠缺:framework ,notification activity content broadcast framework service等其他的類似的虛擬概念解釋。
  •   案例都有但是感覺(jué)體系有點(diǎn)亂,而且案例說(shuō)明不怎么詳細(xì),很多地方不知道如何操作。
  •   除了內(nèi)容過(guò)時(shí)了,其他的都好
  •   感覺(jué)有點(diǎn)跟不上最新版
  •   內(nèi)容再充實(shí)點(diǎn)就完美了。
  •   首先贊揚(yáng)下亞馬遜的配送速度,那是相當(dāng)快,晚上下單,第二天下午就到,拿到書后翻了幾頁(yè)就發(fā)現(xiàn)有錯(cuò)誤了,再翻幾頁(yè),發(fā)現(xiàn)有文不對(duì)題的地方,估計(jì)也是從網(wǎng)上搜、別的書上拷貝來(lái)的,而且就一個(gè)環(huán)境搭建就搞了四十頁(yè),估計(jì)是把讀者當(dāng)成沒(méi)有一點(diǎn)編程經(jīng)驗(yàn)的門外漢了吧,要不就有湊頁(yè)數(shù)的嫌疑,總之不是很好,后悔莫及。
 

250萬(wàn)本中文圖書簡(jiǎn)介、評(píng)論、評(píng)分,PDF格式免費(fèi)下載。 第一圖書網(wǎng) 手機(jī)版

京ICP備13047387號(hào)-7