没有合适的资源?快使用搜索试试~ 我知道了~
首页Android程序员实战指南:从基础到高级应用开发
"《Android程序员指南》是一本深入浅出的书籍,旨在引导读者按照逻辑顺序学习Android应用开发。首先,作者会从Android平台架构出发,探讨其发展历程、支持的设备类型以及开发所需工具(如Android SDK和Eclipse开发环境)的安装和配置(章节2-4)。接着,读者将步入实践阶段,学习设计和创建Android应用程序的具体步骤,这是本书的核心内容,涵盖在第五章中。 本书并非初级教程,而是针对有一定编程基础的开发者编写的。对于读者来说,熟悉Java编程基础知识至关重要,因为Android应用程序主要基于Java语言构建。书中涵盖了如何利用Google服务进行集成,如在第九章和第十一章中介绍如何将应用程序与Google Maps和GTalk等服务无缝连接。此外,还包含一个快速参考指南,方便读者随时查阅关键信息(第十二章)。 版权方面,本书由McGraw-Hill公司在2008年发行,所有复制、分发或存储需事先获得出版商的书面许可。电子书中的内容也同步于印刷版,保留了各自公司的商标,并遵循了版权法的规定。在书中提及商标时,遵循了编辑式的使用方式,以尊重商标所有人权益。 《Android程序员指南》是一本实战型的指南,它不仅提供了理论知识,还提供了实际开发的技能和策略,帮助读者掌握Android应用开发的关键技术,无论是对于已经有一定基础的开发者还是希望进阶的专业人士,都具有很高的实用价值。"
资源详情
资源推荐
![](https://csdnimg.cn/release/download_crawler_static/10406697/bg10.jpg)
Introduction
W
elcome to Android: A Programmer’s Guide. This book has been designed to give
you the best first step toward the exciting new frontier of open source mobile
development. Android is the newest mobile device operating system, and this is one
of the first books to help the average programmer become a fearless Android developer.
Through the course of this book, you will be introduced to the fundamentals of mobile
device application development using the Open Handset Alliance’s Android platform.
By the end of this book, you will be able to confidently create your own mobile device
programs.
The format of this book is such that it will take you through Android application
development in a logical manner. The book begins by examining the architecture of
Android as a platform, looking at how it was developed, what it can run on, and what
tools are required to develop programs for it. After discussing and installing the
development tools, Android SDK, and the Eclipse development environment
(Chapters 2, 3, and 4), the book dives directly into designing and creating Android
applications (Chapter 5). The book concludes with instructions on tying your applications
to existing Google tools such as Google Maps (Chapters 9 and 11) and GTalk (Chapter
10). A quick reference guide is also included in Chapter 12.
This book is a programmer’s guide, not a beginner’s guide, meaning that you do need
to possess some programming skills to get the most from it. Foremost among these skills
is a working knowledge of Java programming fundamentals. Android applications are
xv
Copyright © 2008 by The McGraw-Hill Companies. Click here for terms of use.
![](https://csdnimg.cn/release/download_crawler_static/10406697/bg11.jpg)
developed in Java and run on the Linux 2.6 kernel. If you are a quick learner, you may be
able to understand what is going on with just some basic object-oriented programming
(OOP) experience. Chapter 2 explains how to download and install the preferred
integrated development environment, Eclipse. All the code samples and screenshots in
this book are provided using Eclipse (Europa release) and the Android plugin for Eclipse.
Any comments, questions, or suggestions about any of the material in this book can
be forwarded directly to the author at jfdimarzio@jfdimarzio.com.
xvi Android: A Programmer’s Guide
![](https://csdnimg.cn/release/download_crawler_static/10406697/bg12.jpg)
Chapter1
What Is Android?
Copyright © 2008 by The McGraw-Hill Companies. Click here for terms of use.
![](https://csdnimg.cn/release/download_crawler_static/10406697/bg13.jpg)
2 Android: A Programmer’s Guide
I
t can be said that, for a while, traditional desktop application developers have been
spoiled. This is not to say that traditional desktop application development is easier than
other forms of development. However, as traditional desktop application developers, we
have had the ability to create almost any kind of application we can imagine. I am
including myself in this grouping because I got my start in desktop programming.
One aspect that has made desktop programming more accessible is that we have
had the ability to interact with the desktop operating system, and thus interact with any
underlying hardware, pretty freely (or at least with minimal exceptions). This kind of
freedom to program independently, however, has never really been available to the
small group of programmers who dared to venture into the murky waters of cell phone
development.
NOTE
I refer to two different kinds of developers in this discussion:
traditional desktop
application developers
, who work in almost any language and whose end product,
applications, are built to run on any “desktop” operating system; and
Android
developers
, Java developers who develop for the Android platform. This is not
for the purposes of saying one is by any means better or worse than the other.
Rather, the distinction is made for purposes of comparing the development styles
and tools of desktop operating system environments to the mobile operating
system environment, Android.
Brief History of Embedded Device Programming
For a long time, cell phone developers comprised a small sect of a slightly larger group of
developers known as embedded device developers. Seen as a less “glamorous” sibling to
desktop—and later web—development, embedded device development typically got the
Key Skills & Concepts
●
History of embedded device programming
●
Explanation of Open Handset Alliance
●
First look at the Android home screen
![](https://csdnimg.cn/release/download_crawler_static/10406697/bg14.jpg)
Chapter 1: What Is Android? 3
proverbial short end of the stick as far as hardware and operating system features, because
embedded device manufacturers were notoriously stingy on feature support. Embedded
device manufacturers typically needed to guard their hardware secrets closely, so they
gave embedded device developers few libraries to call when trying to interact with a
specific device.
Embedded devices differ from desktops in that an embedded device is typically a
“computer on a chip.” For example, consider your standard television remote control; it is
not really seen as an overwhelming achievement of technological complexity. When any
button is pressed, a chip interprets the signal in a way that has been programmed into the
device. This allows the device to know what to expect from the input device (key pad),
and how to respond to those commands (for example, turn on the television). This is a
simple form of embedded device programming. However, believe it or not, simple
devices such as these are definitely related to the roots of early cell phone devices and
development.
Most embedded devices ran (and in some cases still run) proprietary operating
systems. The reason for choosing to create a proprietary operating system rather than use
any consumer system was really a product of necessity. Simple devices did not need very
robust and optimized operating systems.
As a product of device evolution, many of the more complex embedded devices, such
as early PDAs, household security systems, and GPSs, moved to somewhat standardized
operating system platforms about five years ago. Small-footprint operating systems such
as Linux, or even an embedded version of Microsoft Windows, have become more
prevalent on many embedded devices. Around this time in device evolution, cell phones
branched from other embedded devices onto their own path. This branching is evident
when you examine their architecture.
Nearly since their inception, cell phones have been fringe devices insofar as they run
on proprietary software—software that is owned and controlled by the manufacturer, and
is almost always considered to be a “closed” system. The practice of manufacturers using
proprietary operating systems began more out of necessity than any other reason. That is,
cell phone manufacturers typically used hardware that was completely developed in-house,
or at least hardware that was specifically developed for the purposes of running cell phone
equipment. As a result, there were no openly available, off-the-shelf software packages
or solutions that would reliably interact with their hardware. Since the manufacturers
also wanted to guard very closely their hardware trade secrets, some of which could be
revealed by allowing access to the software level of the device, the common practice
剩余335页未读,继续阅读
![application/pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://profile-avatar.csdnimg.cn/default.jpg!1)
derek_lee
- 粉丝: 0
- 资源: 2
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助
![](https://csdnimg.cn/release/wenkucmsfe/public/img/voice.245cc511.png)
最新资源
- Vue实现iOS原生Picker组件:详细解析与实现思路
- Arduino蓝牙小车:参数调试与功能控制
- 百度Java面试精华:200页精选资源涵盖核心知识点
- Swift使用CoreData填坑指南:CoreData在Swift 3.0的变化
- 微距离无线充电器创新设计及其实验探索
- MTK Android平台开发全攻略:44步详解流程
- RecyclerView全面解析:替代ListView的新选择
- Android开发:自动适配中英文键盘解决方案
- Android调用WebService接口教程
- Android开发:BitmapUtil图片处理全解析与实例
- Android多线程断点续传实现详解
- PCA算法在人脸识别会议签到系统中的应用
- EventBus 3.0:Android事件总线详解与实战应用
- Android FileUtil:全面解析文件操作实用技巧与实例
- RecyclerView添加头部和尾部实战教程
- Android实现微博滑动固定顶部栏实战与优化
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
![](https://img-home.csdnimg.cn/images/20220527035711.png)
![](https://img-home.csdnimg.cn/images/20220527035711.png)
![](https://img-home.csdnimg.cn/images/20220527035111.png)
安全验证
文档复制为VIP权益,开通VIP直接复制
![](https://csdnimg.cn/release/wenkucmsfe/public/img/green-success.6a4acb44.png)