200 Classic Android Programming Examples cover

200 Classic Android Programming Examples

No rating yet
Word count
1.2M words
Chapters
14
Series
Bai Lian Cheng Gang Series
ISBN
9787121205354

Tags

Summary

200 Classic Android Programming Examples is a hands-on tutorial in the Bai Lian Cheng Gang Series from the Publishing House of Electronics Industry, written by Chu Wujiu, a developer long active on the Android Bus forum, and published in August 2013. The book runs about 644 pages, with roughly 1,159 thousand characters of main text, and comes with a companion disc. Example-driven throughout, it presents 200 Android development cases progressing from easy to advanced across 14 chapters: it begins with Android's origins, features, setting up the development environment, the first HelloAndroid program, and project structure, then covers simple and advanced controls (buttons, various layouts, text and image controls, lists, dialogs, clocks, and more), mobile user interfaces (obtaining screen resolution, interface responses, menus, switching between Activities and passing data), mobile communication services and device control (dialing, SMS, email, contacts, Wi-Fi and desktop wallpaper, SIM card information), background automatic services (starting and stopping services, monitoring SMS, querying battery level, auto-start on boot, auto-reply to incoming calls and messages), file I/O and the SQLite database, network applications (browsers, network images and music, RSS readers, weather client downloads), Google services (account login, search, maps, translation dictionaries), multimedia (audio and image capture, video playback, animation), 3D graphics (triangles, cubes, spheres, lighting, fog, 3D photo albums), and mobile special effects (screen-switching animations, shaking, multi-touch, sensor-driven dynamic wallpaper). The final two chapters close with two complete casual game projects, "Q-Style Crazy Cannon" and "3D Maze." Each example gives a development approach, key code with comments, and a difficulty rating with estimated time, so readers can follow along hands-on. Note that the book is based on the early Android 2.x/4.x Eclipse plus SDK environment; its APIs, Gradle builds, and permission model now differ considerably from today's, so it serves better as a reference for classic cases and interface implementation ideas than as a first choice for learning modern Android development.

Editor's review

这本书在国产Android图书里算是“量大管饱”的一类:200个实例、14章、629页正文,从一行按钮代码一路讲到3D相册和两款完整小游戏的开发。它的价值不在体系严密,而在“能跑起来”——每个案例都配有开发思路、关键代码和复杂度标注,读者完全可以照着敲一遍,先建立手感,再回头理解原理。第3章的高级控件、第4章的用户界面、第5章的通信与设备控制这三章,把Android开发中最常被问到的“怎么做”集中做成了可复用的小抄;第7章的SQLite与文件读写、第8章的网络请求,至今仍在各类App里以类似思路出现。第13、14章的两个游戏项目尤其难得,把画面绘制、精灵运动、关卡与碰撞这些散落的知识点串成一条完整的工程链路。需要提醒的是,本书出版于2013年,配套环境是Eclipse加旧版SDK,Activity生命周期、权限申请、网络框架与今天的主流写法已有明显差异。如果你手上正好有这本旧书或电子版,把它当作一份“案例字典”来查,会比当作教材从头读更合适。

Who it's for

A good fit for

  • 已有Java基础、想通过动手案例快速了解Android开发全貌的初学者
  • 需要一本可随时翻查的Android界面与控件实现参考书的开发者
  • 对旧版Android 2.x/4.x项目维护、或需要迁移老代码的工程师
  • 想通过小游戏项目理解绘图、动画与游戏循环机制的读者

Not a good fit for

  • 完全没有编程基础、希望零基础入门的读者
  • 使用Kotlin、Jetpack Compose开发新项目的现代Android工程师
  • 期望获得系统化理论讲解与架构设计训练的读者

Reading tips

  1. 先按第1章搭建环境跑通HelloAndroid,确认工具链可用后再进入后续章节。
  2. 以“挑着做”为原则:按当前需求从第2至第8章中选实例,做完再回头读原理说明。
  3. 动手时把光盘或随书源码与书中代码对照,遇到已废弃API优先查阅官方文档的替代方案。
  4. 把第13、14章的游戏项目当作综合练习,完整复现一遍并尝试替换素材或增加关卡。

About the publisher

Publishing House of Electronics Industry China · Founded in 1982

The Publishing House of Electronics Industry is a comprehensive publisher distinguished by its focus on electronic information and related fields. Judging from the more than 3,000 titles in its catalogue, its publishing covers programming and design, artificial intelligence, computer science, finance and economics, photography, and social sciences, attending both to cutting-edge technology and to general readers. Representative titles include Factor Investing: Methods and Practice, x86 Assembly Language: From Real Mode to Protected Mode, The RISC-V Reader, Artificial Intelligence: Speech Recognition, Understanding and Practice, Phased Array Radar Technology, Radar Target Characteristics, and 100 Go Mistakes and How to Avoid Them, most of which centre on technical methods and engineering practice. Its authors include Shi Chuan, Li Zhong, Wang Xiaobo, David Patterson, Andrew Waterman, and Yu Zihao, among others from China and abroad. Owing to limited public information, no further publishing features are elaborated here.

Contents

  1. Chapter 1 Introduction to Android
  2. Chapter 2 Development and Application of Simple Android Controls
  3. Chapter 3 Development and Application of Advanced Android Controls
  4. Chapter 4 Mobile User Interfaces
  5. Chapter 5 Mobile Communication Services and Device Control
  6. Chapter 6 Automatic Service Functions of the Phone
  7. Chapter 7 File I/O and Database Applications on the Phone
  8. Chapter 8 Mobile Network Applications
  9. Chapter 9 Google Service Functions on the Phone
  10. Chapter 10 Mobile Multimedia Service Functions
  11. Chapter 11 The 3D World of Android Phones
  12. Chapter 12 Mobile Special Effects Development
  13. Chapter 13 Casual Game: Q-Style Crazy Cannon
  14. Chapter 14 Entertainment Game: 3D Maze

FAQ

这本书现在还有必要读吗?
作为现代Android入门书已不推荐,但作为案例集仍有参考价值:控件用法、界面布局思路、SQLite与网络请求的基本模型可以借鉴。学习时请配合最新的官方文档,注意API与构建方式已经变化。
书中的代码能在新版Android Studio里直接运行吗?
多数不能直接运行。原书基于Eclipse加旧版SDK,Activity、Menu、通知、权限等接口已大幅调整。建议将案例拆解为思路参考,再用当前SDK重新实现一遍。
读者需要什么基础?
作者定位是初学者和Android开发人员,但实例以Java代码为主,最好具备Java语法、面向对象和XML基础。完全零基础的读者应先补Java,再进入本书。
随书光盘里有什么内容?
据出版信息,随书附带DVD一张,包含各实例的源代码及约400分钟的多媒体教学视频。若购买二手书,需先确认光盘是否还在、能否正常读取。
这本书属于哪个系列?
属于电子工业出版社的“百炼成钢系列丛书”,同系列还有其他实例型编程图书。本书是该系列中的独立一册,不与其他册次连续阅读。

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.

Top rated in the same category