Android Development: A Beginner's Guide with Hands-On Projects cover

Android Development: A Beginner's Guide with Hands-On Projects

No rating yet
Chapters
16
Series
Mobile Development Series
ISBN
9787115209306

Tags

Summary

One of the earliest original Android primers written by a domestic development team, this book was based on the Android SDK 1.5 released at the time and is aimed at readers who already have some programming background and want to get into Android app development as quickly as possible. It begins with the origins of the Android platform and its development ecosystem, then covers environment setup and the SDK tools, dissects the structure of an Android application layer by layer, and goes on to explain in detail how the core components—Activity, Intent and Intent Filters, Broadcast Receiver, Service, and Content Provider—work and how to use them. After the foundational components, the book addresses the practical problems developers often run into: data storage, threads and processes, UI design, network communication and XML parsing, and adaptation to multiple devices. It ties each topic to hands-on experiments, using "Mini Experiment" and "Tip" boxes to flag common pitfalls and practical techniques. The final part presents five complete projects—an RSS reader, a personal GPS app built on Google Maps, a Douban (Web 2.0) client, an online music player, and a phone information assistant—walking through the full process from requirements to code and showing how to assemble the components and techniques covered earlier into a working app. Accompanying videos and sample code make it easy to learn by doing. Note that the book was written some years ago: its examples rely on the traditional Eclipse + ADT workflow and an older SDK, which differs markedly from today's mainstream Android Studio and Kotlin environment. It is best used as a reference for understanding Android's basic component concepts and early mobile development practice.

Editor's review

这本《Android开发入门与实战》在当年颇有代表性:它由一个活跃在国内 Android 社区的开发团队写成,出版时是国内少见的原创 Android 中文教程,而不是外版书的翻译。作者把写作重点放在“能跑起来”上,环境搭建给出 Windows、Linux、Mac 三套方案,核心组件逐个配例,易错之处用“小实验”“小知识”单独点出,读起来更像一位有经验的同事在旁边讲解。 最值得肯定的是实战部分。RSS 阅读器、个人 GPS、豆瓣网客户端、在线音乐播放器、手机信息助手这五个案例覆盖了网络请求、位置服务、Web 2.0 接口调用、多媒体播放与系统信息读取等不同方向,读者可以挑一个感兴趣的完整跟做,体会从界面到数据再到服务的组织方式。随书视频和示例代码也降低了上手门槛。 当然,必须提醒读者注意年代问题:书中基于 Android SDK 1.5 与 Eclipse + ADT,如今 Android Studio、Gradle、Kotlin、Jetpack 已成主流,很多操作界面与 API 已不再适用。因此建议把它当作理解 Activity、Service、Broadcast、ContentProvider 等基础概念与设计思路的“概念参考书”,动手实践时再配合当前官方文档。对于想追溯 Android 早期开发生态的读者,它也是一份不错的技术史料。

Who it's for

A good fit for

  • 已具备 Java 基础、想系统理解 Android 四大组件原理的初学者
  • 希望了解 Android 早期开发方式与移动开发历史的技术爱好者
  • 需要一份成体系案例讲解来梳理应用整体结构的自学者
  • 计算机相关专业教师,可作为移动开发课程的历史参考材料

Not a good fit for

  • 希望直接学习 Android Studio、Kotlin、Jetpack 等现代技术栈的读者
  • 零编程基础、尚未接触过 Java 或面向对象概念的完全新手
  • 需要按书中步骤在当前环境复现项目的读者(工具与 API 已大幅变更)

Reading tips

  1. 先通读第1至第7章建立组件概念,再挑一个案例边读边敲,避免只读不练。
  2. 遇到环境搭建章节不必死磕旧版 Eclipse 配置,可在 Android Studio 中对照理解工程结构。
  3. 把旧 API 当作概念参照,动手时以 Android 官方最新文档为准,注意权限模型与后台限制的变化。
  4. 读完一个案例后尝试替换其中的网络接口或界面布局,用改造来检验自己是否真正理解。

About the publisher

Posts & Telecom Press China · Founded in 1953

Posts & Telecom Press is known for its strengths in science and technology, computing, and information and communications titles, and has extended its publishing into photography, art, software learning, and inspirational growth, giving it a fairly diverse range. Its catalog includes computing and communications works such as Refactoring and Patterns (Revised Edition) and Huawei Switch Learning Guide (Second Edition), alongside bilingual collector's editions such as The Little Prince (Chinese-English-French illustrated collector's edition), The Great Gatsby, and Three Days to See. Beijing Ten Years: 1980-1990 and Ghost Blade: WLOP Personal Illustration Collection reflect its presence in photography and art. Its authors include Antoine de Saint-Exupéry, Helen Keller, Joshua Kerievsky, Wang Da, Zhang Zhaozeng, and WLOP.

Contents

  1. Chapter 1 Lift the Veil: Getting to Know Android
  2. Chapter 2 Sharpening the Tools: Setting Up the Android Development Environment
  3. Chapter 3 Taking Stock: An Introduction to the Android SDK
  4. Chapter 4 The Money-Making Market: Android Market and App Publishing
  5. Chapter 5 A Journey of a Thousand Miles Begins with One Step: Your First App, HelloWorld
  6. Chapter 6 Preparation Pays Off: Understanding Android Application Structure
  7. Chapter 7 A Good Start: Introduction to Android Basic Components
  8. Chapter 8 The Mobile Information Storehouse: Data Storage in Android
  9. Chapter 9 Broadcasting Your Intentions: Intents and Broadcast Face to Face
  10. Chapter 10 Everything in Service of the User: Service Application Examples
  11. Chapter 11 Step by Step: The Basic Steps of Android App Development
  12. Chapter 12 Comprehensive Project 1: RSS Reader
  13. Chapter 13 Comprehensive Project 2: A Personal Mobile Map Built on Google APIs
  14. Chapter 14 Comprehensive Project 3: A Douban (Web 2.0) Mobile Client for Android
  15. Chapter 15 Comprehensive Project 4: Online Music Player
  16. Chapter 16 Comprehensive Project 5: Phone Information Viewer

FAQ

这本书现在还有必要读吗?
如果目标是立刻上手做现代 Android 开发,建议优先选择基于 Android Studio 和 Kotlin 的新书。但本书对 Activity、Service、Broadcast Receiver、Content Provider 等基础组件的讲解依然清晰,作为概念梳理和了解早期移动开发方式的参考仍有价值。
零基础可以直接看这本书吗?
不太建议。书中默认读者具备一定软件开发经验,Java 语法、面向对象和基本 IDE 操作都未展开讲解,零基础读者最好先补 Java 基础,再进入本书的组件部分。
书中的代码还能直接运行吗?
较难。示例基于 Android SDK 1.5 与 Eclipse + ADT 环境,构建工具、权限机制、后台服务限制和 Google Map 接口都已发生重大变化,代码更适合作为理解思路的参考,实际运行需要大幅改造。
这本书有第二版吗?有什么区别?
有。《Android开发入门与实战(第二版)》由姚尚朗、靳岩等编写,人民邮电出版社出版,ISBN 为 9787115314642。第二版在结构上做了较大调整,补充了线程与进程、Widget、多设备适配、UI 设计规范等内容,并把综合案例扩展为六个。
书里的五个案例分别讲什么?
依次是 RSS 阅读器、基于 Google Map 的个人 GPS 应用、豆瓣网(Web 2.0)移动客户端、在线音乐播放器和手机信息查看助手,分别涉及网络数据解析、位置服务、Web 接口调用、多媒体播放与系统信息读取等方向。

Comments

Find this book

This site is an index: you start “Search all sources” in your browser, and the entries it lists all point to third-party sites; please judge their availability yourself.

About the author

靳岩 Author

Jin Yan is a Chinese author of books on programming. Publicly available information about him is limited: apart from his signed work, his nationality, dates of birth and death, educational background, and professional experience are not clearly documented. The library holds one title by him, Android Development: Getting Started and in Practice (Second Edition), which is classified under programming and design. The book is aimed at readers who wish to learn Android app development and combines introductory guidance with hands-on practice. Judging from the title and its classification, the author focuses on linking development fundamentals with practical exercises, helping beginners build a complete approach to development and become familiar with concrete workflows through examples. The second edition suggests that the content was revised and updated to keep pace with changes in the field. Because verifiable personal details are scarce, Jin Yan is known mainly through this work, and a fuller picture of his writing style and actual influence would require more sources and reader feedback.

姚尚朗 Author

Yao Shanglang: publicly available information about this author is limited, and details such as nationality, dates of birth and death, and English name cannot be confirmed. Within the library's holdings, he has only one work, Android Development: Getting Started and in Practice (Second Edition), which is commonly classified under programming and design. It can therefore be inferred that his writing focuses on mobile application development, particularly introductory and hands-on work around the Android platform. Books that combine introductory material with practical exercises are usually aimed at beginners and developers changing fields, and tend to connect setting up a development environment, interface layouts, component usage, and project exercises so that readers build an overall understanding of the platform through hands-on practice. The revised second edition also suggests that the content is adjusted as the technology evolves. Given the scarcity of biographical material, readers may focus instead on the introductory teaching style the book represents: practical, operation-oriented, and offering a relatively gentle learning path for those new to Android development.

More by the same author

Top rated in the same category