《Android编程(第2版影印版)》编著者梅德尼克斯。
构建设计精良的Android应用程序需要什么条件?使用这本《Android程序设计(影印版新生代移动设备的Java编程)》,深度探索Android的核心构造模块和应用程序编程接口,并且学习如何创建适用于全系列Android设备的引人注目的应用程序。你将使用经过验证的方法进行应用设计和实现——包括在你的项目起步时可用的应用程序框架。
深入探究传感器、原生开发、三维图形以及其他主题,并且探索发现如何在你所选择的平台上构建应用程序。如果你是一个技能中等以上的程序员,你将学会如何制作了不起的Android应用程序。
本书由Zigurd Mednieks、Laird Dornin、G. Blake Meike和Masumi Nakamura著。
Preface
Part I Tools and Basics
1 Installing the Android SDK and Prerequisites
Installing the Android SDK and Prerequisites
The Iava Development Kit 0DK)
The Eclipse Integrated Development Environment(IDE)
The Android SDK
Adding Build Targets to the SDK
The Android Developer Tools(ADT)Plug—in for Eclipse
Test Drive:Confirm That Your Installation Works
Making an Android Project
Making an Android Virtual Device(AVD)
Running a Program on an AVD
Running a Program on an Android Device
Troubleshootin2 SDK Problems:NO Build Targets
Components of the SDK
The Android Debug Bridge(adb)
The Dalvik Debug Monitor Server(DDMS)
Components of the ADT Eclipse Plug-in
Android Virtual Devices
0ther SDK Tools
Keeping Up-to-Date
Keeping the Android SDK Up-tO-Date
Keeping Eclipse and the ADT Plug-in Up-tO-Date
Keeping the JDK Up-tO-Date
Example Code
SDK Example Code
Example Code from This Book
On Reading Code
2 JavaforAndroid
Android Is Reshaping Client—Side Java
The Java Type System
Primitive Types
Objects and Classes
Object Creation
The Object Class and Its Methods
Objects,Inheritance,and Polymorphism
Final and Static Declarations
Abstract Classes
Interfaces
Exceptions
The Tava Collections Framework
Garbage Collection
Scope
Java Packages
Access Modifiers and Encapsulation
Idioms of Java Programming
Type Safety inJava
Using Anonymous Classes
Modular Programming in Java
Basic Multithreaded Concurrent Programming in Java
Svnchronization and Thread Safety
Thread Control with wait()and notify()Methods
Svnchronization and Data Structures
3.The Ingredients ofan Android Application
2.JavaforAndroid
3.The Ingredients ofan Android Application
4.Getting Your Application into Users’Hands
5.Eclipse for Android Software Development
Part II.About the Android Framework
6.Building a View
7.Fragments and Multiplatform Support
8.Drawing 2D and 3D Graphics
9.Handling and Persisting Data
Part III.A Skeleton Application for Android
10.A Framework for a Well-Behaved Application
11.Building a User Interface
12.Using Content Providers
13.A Content Provider as a Facade for a RESTfuI Web Service
Part IV.Advanced Topics
14.Search
15.Location and Mapping
16.Multimedia
17.Sensors|NFCISpeechfGesturesfandAccessibility
18.Communication l Identity|Sync l and Social Media
19.The Android Native Development Kit(N DK)
Index