没有合适的资源?快使用搜索试试~ 我知道了~
首页the-busy-coders-guide-to-android-development.pdf
the-busy-coders-guide-to-android-development.pdf
4星 · 超过85%的资源 需积分: 9 27 下载量 152 浏览量
更新于2023-03-03
评论 1
收藏 8.08MB PDF 举报
free ebook: The Busy Coder's Guide to Android Development (v1.1) by Mark L. Murphy Copyright © 2008 CommonsWare, LLC
资源详情
资源评论
资源推荐
This document is licensed for Cheng Po-wen's exclusive use by CommonsWare, LLC
This document is licensed for Cheng Po-wen's exclusive use by CommonsWare, LLC
The Busy Coder's Guide to Android
Development
by Mark L. Murphy
This document is licensed for Cheng Po-wen's exclusive use by CommonsWare, LLC
The Busy Coder's Guide to Android Development
by Mark L. Murphy
Copyright © 2008 CommonsWare, LLC. All Rights Reserved.
Printed in the United States of America.
CommonsWare books may be purchased in printed (bulk) or digital form for educational or
business use. For more information, contact direct@commonsware.com.
Printing History:
Aug 2008: Version 1.1 ISBN: 978-0-9816780-0-9
The CommonsWare name and logo, “Busy Coder's Guide”, and related trade dress are
trademarks of CommonsWare, LLC.
All other trademarks referenced in this book are trademarks of their respective firms.
The publisher and author(s) assume no responsibility for errors or omissions or for damages
resulting from the use of the information contained herein.
This document is licensed for Cheng Po-wen's exclusive use by CommonsWare, LLC
Table of Contents
Welcome to the Warescription!..................................................................................xiii
Preface..........................................................................................................................xv
Welcome to the Book!...........................................................................................................xv
Prerequisites..........................................................................................................................xv
Warescription.......................................................................................................................xvi
Book Bug Bounty.................................................................................................................xvii
Source Code License..........................................................................................................xviii
Creative Commons and the Four-to-Free (42F) Guarantee............................................xviii
The Big Picture................................................................................................................1
What Androids Are Made Of.................................................................................................3
Activities...........................................................................................................................3
Content Providers...........................................................................................................4
Intents..............................................................................................................................4
Services.............................................................................................................................4
Stuff At Your Disposal.............................................................................................................5
Storage..............................................................................................................................5
Network............................................................................................................................5
Multimedia.......................................................................................................................5
GPS...................................................................................................................................5
Phone Services.................................................................................................................6
Project Structure............................................................................................................7
Root Contents..........................................................................................................................7
The Sweat Off Your Brow.......................................................................................................8
iii
This document is licensed for Cheng Po-wen's exclusive use by CommonsWare, LLC
And Now, The Rest of the Story.............................................................................................8
What You Get Out Of It.........................................................................................................9
Inside the Manifest........................................................................................................11
In The Beginning, There Was the Root, And It Was Good.................................................11
Permissions, Instrumentations, and Applications (Oh, My!).............................................12
Your Application Does Something, Right?..........................................................................13
Creating a Skeleton Application...................................................................................17
Begin at the Beginning...........................................................................................................17
The Activity............................................................................................................................18
Dissecting the Activity...........................................................................................................19
Building and Running the Activity.......................................................................................21
Using XML-Based Layouts............................................................................................23
What Is an XML-Based Layout?...........................................................................................23
Why Use XML-Based Layouts?............................................................................................24
OK, So What Does It Look Like?..........................................................................................25
What's With the @ Signs?....................................................................................................26
And We Attach These to the Java...How?...........................................................................26
The Rest of the Story.............................................................................................................27
Employing Basic Widgets.............................................................................................29
Assigning Labels....................................................................................................................29
Button, Button, Who's Got the Button?..............................................................................30
Fleeting Images......................................................................................................................31
Fields of Green. Or Other Colors.........................................................................................32
Just Another Box to Check....................................................................................................35
Turn the Radio Up.................................................................................................................38
It's Quite a View....................................................................................................................40
Useful Properties...........................................................................................................40
Useful Methods.............................................................................................................40
Working with Containers.............................................................................................43
Thinking Linearly..................................................................................................................44
Concepts and Properties...............................................................................................44
Example..........................................................................................................................47
All Things Are Relative.........................................................................................................52
iv
剩余435页未读,继续阅读
terabits
- 粉丝: 1
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- ExcelVBA中的Range和Cells用法说明.pdf
- 基于单片机的电梯控制模型设计.doc
- 主成分分析和因子分析.pptx
- 共享笔记服务系统论文.doc
- 基于数据治理体系的数据中台实践分享.pptx
- 变压器的铭牌和额定值.pptx
- 计算机网络课程设计报告--用winsock设计Ping应用程序.doc
- 高电压技术课件:第03章 液体和固体介质的电气特性.pdf
- Oracle商务智能精华介绍.pptx
- 基于单片机的输液滴速控制系统设计文档.doc
- dw考试题 5套.pdf
- 学生档案管理系统详细设计说明书.doc
- 操作系统PPT课件.pptx
- 智慧路边停车管理系统方案.pptx
- 【企业内控系列】企业内部控制之人力资源管理控制(17页).doc
- 温度传感器分类与特点.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论1