没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
试读
1190页
Android development is hot,and many programmers are interested in joining the fun.However,because this technology is based on Java,you should first obtain a solid grasp of the Java language and its foundational APIs to improve your chances of succeeding as an Android app developer.After all,you will be busy learning the architecture of an Android app,the various Android-specific APIs,and Android-specific tools.If you do not already know Java fundamentals,you will probably end up with a massive headache from also having to quickly cram those fundamentals into your knowledge base.
资源推荐
资源详情
资源评论
COMPANION eBOOK
Shelve in
Mobile Computing
User level:
Beginning–Intermediate
www.apress.com
BOOKS FOR PROFESSIONALS BY PROFESSIONALS
®
SOURCE CODE ONLINE
L
earn Java for Android Development, Third Edition, is an update of a strong selling book that now
includes a primer on Android app development. This book teaches programmers the essential
Java language skills necessary for effectively picking up and using the new Android SDK platform to
build mobile, embedded, and even PC apps, especially game apps.
Android development is hot, and many programmers are interested in joining the fun. However,
because this technology is based on Java, you should first obtain a solid grasp of the Java language
and its APIs in order to improve your chances of succeeding as an effective Android app developer.
This book helps you do that.
Each of the book’s chapters provides an exercise section that gives you the opportunity to reinforce
your understanding of the chapter’s material. Answers to the book’s more than 700 exercises are
provided in an appendix. A second appendix provides a significant game-oriented Java application,
which you can convert into an Android app.
Once you complete this one-of-a-kind book written by Jeff Friesen, an expert Java developer and
JavaWorld.com columnist, you should be ready to begin your indie or professional Android app
development journey.
What You’ll Learn:
•
The Java skills necessary for Android development
•
The core Java language fundamentals
•
Classes, objects, inheritance, polymorphism, and interfaces
•
Advanced Java language features (such as generics)
•
The basic Java APIs necessary for Android (such as the String class and threading)
•
The Collections Framework for organizing objects
•
The Concurrency Utilities for simplifying multithreading
•
Classic and New I/O
•
Networking and database access
•
Parsing, creating, and transforming XML documents
•
Additional APIs for creating and accessing ZIP and JAR files, and more
Learn
Java for Android
Development
Jeff Friesen
Learn the Java skills you will need to start
developing Android apps
Companion
eBook
Available
Friesen
Java for Android Development
Learn
THIRD EDITION
THIRD
EDITION
9781430 264545
54499
ISBN 978-1-4302-6454-5
www.it-ebooks.info
v
Contents at a Glance
About the Author ��������������������������������������������������������������������������������������������������������������� xxi
About the Technical Reviewer ����������������������������������������������������������������������������������������� xxiii
Acknowledgments ������������������������������������������������������������������������������������������������������������ xxv
Introduction �������������������������������������������������������������������������������������������������������������������� xxvii
Chapter 1: Getting Started with Java ■ ��������������������������������������������������������������������������������1
Chapter 2: Learning Language Fundamentals ■ �����������������������������������������������������������������31
Chapter 3: Discovering Classes and Objects ■ �������������������������������������������������������������������89
Chapter 4: Discovering Inheritance, Polymorphism, and Interfaces ■ �����������������������������141
Chapter 5: Mastering Advanced Language Features, Part 1 ■ �����������������������������������������189
Chapter 6: Mastering Advanced Language Features, Part 2 ■ �����������������������������������������235
Chapter 7: Exploring the Basic APIs, Part 1 ■ ������������������������������������������������������������������287
Chapter 8: Exploring the Basic APIs, Part 2 ■ ������������������������������������������������������������������359
Chapter 9: Exploring the Collections Framework ■ ����������������������������������������������������������401
Chapter 10: Exploring the Concurrency Utilities ■ ������������������������������������������������������������487
Chapter 11: Performing Classic I/O ■ �������������������������������������������������������������������������������539
Chapter 12: Accessing Networks ■ ����������������������������������������������������������������������������������621
www.it-ebooks.info
vi Contents at a Glance
Chapter 13: Migrating to New I/O ■ ���������������������������������������������������������������������������� 665
Chapter 14: Accessing Databases ■ ���������������������������������������������������������������������������763
Chapter 15: Parsing, Creating, and Transforming XML Documents ■ ������������������������� 803
Chapter 16: Focusing on Odds and Ends ■ �����������������������������������������������������������������885
Appendix A: Solutions to Exercises ■ ����������������������������������������������������������������������� 1015
Appendix B: Four of a Kind ■ ������������������������������������������������������������������������������������ 1127
Index ������������������������������������������������������������������������������������������������������������������������� 1149
www.it-ebooks.info
xxvii
Tip A good reason to consider Android app development over iPhone/iPad app development is the lower
startup costs that you’ll incur with Android. For example, you don’t need to purchase a Mac on which to
develop Android apps (a Mac is required for developing iPhone/iPad apps); your existing Windows, Linux, or
Unix machine will do nicely.
Introduction
Smartphones and tablets are all the rage these days. Their popularity is largely due to their ability to
run apps. Although the iPhone and iPad, with their growing collection of Objective-C based apps,
had a head start, Android-based smartphones and tablets, with their growing collection of
Java-based apps, have proven to be a strong competitor.
Not only are many iPhone/iPad app developers making money by selling their apps, but many
Android app developers are also making money by selling similar apps. According to tech web sites
such as The Register (www.theregister.co.uk), some Android app developers are making lots of
money (www.theregister.co.uk/2010/03/02/android_app_profit).
In today’s challenging economic climate, you might like to try your hand at developing Android apps
and make some money. If you have good ideas, perseverance, and some artistic talent (or perhaps
know some talented individuals), you are already part of the way toward achieving this goal.
Most importantly, you’ll need to possess a solid understanding of the Java language and
foundational application programming interfaces (APIs) before jumping into Android. After all,
Android apps are written in Java and interact with many of the standard Java APIs (such as
threading and input/output APIs).
I wrote Learn Java for Android Development to give you a solid Java foundation that you can later
extend with knowledge of Android architecture, API, and tool specifics. This book will give you a
strong grasp of the Java language and the many important APIs that are fundamental to Android
apps and other Java applications. It will also introduce you to key development tools.
www.it-ebooks.info
剩余1189页未读,继续阅读
资源评论
Tristansky
- 粉丝: 8
- 资源: 86
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- Screenshot_20240427_031602.jpg
- 网页PDF_2024年04月26日 23-46-14_QQ浏览器网页保存_QQ浏览器转格式(6).docx
- 直接插入排序,冒泡排序,直接选择排序.zip
- 在排序2的基础上,再次对快排进行优化,其次增加快排非递归,归并排序,归并排序非递归版.zip
- 实现了7种排序算法.三种复杂度排序.三种nlogn复杂度排序(堆排序,归并排序,快速排序)一种线性复杂度的排序.zip
- 冒泡排序 直接选择排序 直接插入排序 随机快速排序 归并排序 堆排序.zip
- 课设-内部排序算法比较 包括冒泡排序、直接插入排序、简单选择排序、快速排序、希尔排序、归并排序和堆排序.zip
- Python排序算法.zip
- C语言实现直接插入排序、希尔排序、选择排序、冒泡排序、堆排序、快速排序、归并排序、计数排序,并带图详解.zip
- 常用工具集参考用于图像等数据处理
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功