Android Application Development Case Tutorial (Android Studio Edition)
张霞 / 肖正兴 / 李斌 / 李金子Posts & Telecom Press · ChinaAug 2021
Rating 3.4- Word count
- 51K words
- Chapters
- 155
- ISBN
- 9787115446893
Tags
Examinations UI DesignMobile DevelopmentSoftware DevelopmentStep-by-Step GuideField CasesCase TutorialProgramming TutorialSelf-Study GuideStudent ReadingBeginner FriendlySummary
This book is accessible and highly practical. It is divided into nine chapters. Chapters 1–7 introduce the fundamentals of Android Studio in detail, covering Android UI design, activities and multiple user interfaces, multimedia playback and recording, broadcasts and services, data storage, images and animation, and network programming. Chapters 8 and 9 present two practice projects that help readers integrate what they have learned and extend it appropriately with current Android technologies.Editor's review
Android App Development by Example (Android Studio Edition) is a practice-oriented textbook for beginners in Android development. Using the mainstream Android Studio as its development environment, it connects the core knowledge of Android app development through a wealth of examples. From an editor's perspective, its greatest value lies in its clear case-driven teaching logic: every important concept comes with a runnable code example, avoiding the tedium of purely theoretical exposition.In terms of content organization, the book covers key modules such as the Android development framework, UI design, data storage, and network communication, with particular emphasis on Material Design guidelines and Fragment, an essential skill in modern Android development. Compared with similar textbooks, it describes practical details such as configuring the Android Studio environment and debugging techniques in greater depth, which helps beginners avoid common pitfalls in early environment setup.
It is worth noting that the cases are oriented toward teaching demonstrations and have limited complexity for real commercial projects; the book is better suited to building a systematic knowledge framework than to directly tackling complex project requirements. The code style is standardized and the comments are detailed, but some cases, due to the time of publication, do not cover the latest technology trends such as Jetpack Compose. Overall, this is a solid introductory stepping-stone that gives readers a good foundation in Android development thinking.
Who it's for
A good fit for
- College students in computer-related majors, as a companion textbook for Android mobile development courses
- Programming beginners with a Java foundation who wish to move into Android development
- Working developers who need to systematically review Android fundamentals
- Students in introductory Android development courses at training institutions
Not a good fit for
- Senior Android engineers seeking advanced architecture design or performance optimization experience
- Developers who want to learn the latest technology stacks such as Kotlin or Jetpack Compose
Reading tips
- Read the chapters in order, and be sure to run each code example yourself and understand its logic
- While reading, consult the official Android documentation to compare the standard definitions of the concepts in the book
- After completing the foundational chapters, try extending the book's examples with custom features to reinforce your learning
About the publisher
Posts & Telecom Press China · Founded in 1953Posts & 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章 Android UI设计
- 1.1 新建Android项目
- 1.1.1 Android Studio自动构建新项目
- 1.1.2 Android项目结构
- 1.1.3 res资源引用方法
- 1.1.4 AndroidManifest.xml项目配置文件
- 1.1.5 Android应用程序架构分析
- 1.2 Android布局管理
- 1.2.1 布局文件的规范与重要属性
- 1.2.2 常见的布局方式
- 1.3 用户界面组件包
- 1.3.1 widget包
- 1.3.2 View类
- 1.4 常用组件
- 1.4.1 文本框
- 1.4.2 文本编辑框
- 1.4.3 图像显示类
- 1.4.4 按钮
- 1.4.5 进度条
- 1.4.6 单选组件与单选按钮
- 1.4.7 复选框
- 1.5 列表组件
- 1.5.1 ListView类
- 1.5.2 数组适配器
- 1.5.3 使用ListActivity类改写程序
- 1.5.4 带图片的列表:定制的列表布局
- 1.5.5 没有数据的ListView
- 1.6 实战演练——生肖背后的故事
- 第2章 Activity与多个用户界面
- 2.1 什么是Activity
- 2.1.1 启动Activity要素
- 2.1.2 Activity与布局之间的关系
- 2.1.3 Activity与View之间的关系
- 2.2 创建新的Activity
- 2.3 Intent介绍
- 2.3.1 显式Intent
- 2.3.2 隐式Intent
- 2.3.3 Activity之间的跳转
- 2.4 Bundle类及应用Intent传递数据
- 2.4.1 Bundle类
- 2.4.2 应用Intent在不同的Activity之间传递数据
- 2.5 消息提示类
- 2.6 对话框
- 2.6.1 消息对话框
- 2.6.2 其他常用对话框
- 2.7 菜单设计
- 2.7.1 选项菜单
- 2.7.2 上下文菜单
- 2.8 实战演练——BMI体质指数计算器
- 第3章 多媒体播放与录制
- 3.1 音频播放
- 3.1.1 多媒体处理包
- 3.1.2 多媒体处理播放器
- 3.1.3 播放音频文件
- 3.1.4 播放SD卡里的文件
- 3.2 视频播放
- 3.2.1 应用媒体播放器播放视频
- 3.2.2 应用视频播放器播放视频
- 3.3 录音与拍照
- 3.3.1 MediaRecorder类
- 3.3.2 录音示例
- 3.3.3 拍照
- 3.4 实战演练——音乐播放器
- 第4章 广播与服务
- 4.1 消息广播
- 4.2 Android的系统服务
- 4.2.1 常见的系统服务
- 4.2.2 系统功能的调用
- 4.3 后台服务
- 4.4 实战演练——播放后台音乐
- 第5章 数据存储
- 5.1 文件存储
- 5.1.1 内部存储
- 5.1.2 外部存储
- 5.2 JSON数据格式
- 5.2.1 JSON数据介绍
- 5.2.2 JSON数据结构
- 5.2.3 JSON文件
- 5.2.4 解析JSON数据
- 5.3 轻量级存储SharedPreferences
- 5.4 SQLite数据库
- 5.4.1 SQLite数据库简介
- 5.4.2 数据库的管理和操作
- 5.4.3 数据表的管理和操作
- 5.4.4 数据记录的管理和操作
- 5.5 实战演练——掌上日记本
- 第6章 图像和动画
- 6.1 图形绘制
- 6.1.1 几何图形绘制类
- 6.1.2 几何图形的绘制过程
- 6.2 动画技术
- 6.2.1 动画组件类
- 6.2.2 补间动画
- 6.2.3 属性动画
- 6.3 图像浏览
- 6.3.1 图像显示类
- 6.3.2 图片切换类
- 6.3.3 网格视图
- 6.4 游戏中的触屏事件处理
- 6.5 实战演练——图片与动画
- 第7章 网络编程
- 7.1 基于WebKit的网络程序设计
- 7.1.1 WebKit库
- 7.1.2 Web视图WebView类
- 7.2 基于HTTP的网络程序设计
- 7.2.1 HttpURLConnection类
- 7.2.2 StrictMode类
- 7.3 应用Volley框架访问Web服务器
- 7.3.1 Volley包的下载与安装
- 7.3.2 Volley的工作原理和重要对象
- 7.3.3 Volley的基本使用方法
- 7.4 应用Volley框架解析JSON数据
- 7.5 实战演练——城市天气预报
- 第8章 实践项目——分享动漫
- 8.1 项目介绍
- 8.1.1 主要技术
- 8.1.2 运行截屏
- 8.1.3 项目的图片资源
- 8.1.4 项目的JSON资源
- 8.1.5 项目的文件清单
- 8.1.6 工程准备
- 8.2 项目制作
- 8.2.1 完善主页布局文件
- 8.2.2 单击侧滑栏菜单的跳转
- 8.2.3 设计作品列表布局文件
- 8.2.4 完善主页控制文件
- 8.2.5 RecyclerViewAdapter适配器
- 8.2.6 作品列表控制文件
- 8.2.7 作品内容控制文件
- 8.2.8 完善配置文件
- 8.3 项目拓展
- 第9章 实践项目——天气预报
- 9.1 项目介绍
- 9.1.1 主要技术
- 9.1.2 运行截屏
- 9.1.3 项目文件
- 9.2 工程准备
- 9.2.1 API
- 9.2.2 assets文件夹
- 9.2.3 图片资源
- 9.2.4 网络权限
- 9.3 项目制作
- 9.3.1 用MyDBHelper创建数据库
- 9.3.2 创建天气信息布局文件
- 9.3.3 完善天气信息控制文件
- 9.3.4 适配器
- 9.3.5 完善主页布局文件
- 9.3.6 完善主页控制文件
- 9.3.7 设计城市列表布局文件
- 9.3.8 设计城市列表控制文件
- 9.4 项目拓展
- 附录 Android Studio的安装与配置
FAQ
What prior knowledge does this book require?
A basic knowledge of Java programming and object-oriented programming concepts is required. A basic understanding of XML and databases will make it easier to get started, but is not essential.Are the code examples in the book complete and usable?
The examples are written for the Android Studio environment, and the code is complete and tested. Note, however, that updates to the Android SDK version may require minor adaptation adjustments.What are the main differences between this book and older Android textbooks based on Eclipse?
This book is entirely based on the Android Studio development environment and covers the use of modern toolchains such as the Gradle build system and the layout editor. It also introduces new design guidelines such as Material Design, making it more in line with current development practice.Related on WeRead
Android应用开发案例教程(Android Studio版) 张霞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
张霞 AuthorZhang Xia is a Chinese author whose works span a notably wide range of subjects, though public information about her is limited and her nationality, dates of birth and death, and educational background are not clearly recorded. Judging from the eleven works held in the collection, her writing covers medicine, food, social culture, essays and miscellaneous writings, examinations, and politics. In medicine, the volume on Ding Ying's clinical experience in pediatric kidney and rheumatic immune diseases reflects an interest in organizing clinical experience in traditional Chinese pediatrics. In food, her works include titles on Cantonese dim sum, pastry baking, and Chinese dim sum, with an emphasis on practical operation and teaching. The diary of refuge in the ren-gui and xin-mao years belongs to the compilation of modern historical sources, while the study of mechanisms for building political consensus in the Chinese People's Political Consultative Conference has a political-science orientation. Overall, Zhang Xia appears to be a compiler who combines professional organization with popularization, and her works are notable for their practicality and documentary value.
肖正兴 AuthorXiao Zhengxing is an author with published works in the field of Chinese-language technical education books. Public information about him is limited, and details such as his nationality, dates of birth and death, education, and professional positions cannot currently be confirmed. Judging from the three works held in the library, his writing focuses on mobile application and Java development, including Android Application Development Case Tutorial (Android Studio Edition), Android Studio Mobile Application Development Task Tutorial (Micro-Lecture Edition), and Java Application Development Technology Example Tutorial. These titles show a clear practical orientation: content is organized around cases and tasks, supported by formats such as micro-lectures, and aimed at classroom learning and hands-on practice for university computer courses and beginners. The works are categorized under examinations, suggesting they are also used for exam preparation and skills training. Overall, he is a writer of technical tutorials that rely on specific development tools and emphasize operational steps and example-based practice.
李斌 AuthorLi Bin's works span a broad range of subjects, covering legal practice, social documentary writing, and philosophical reading. In corporate law, he offers practical analysis of the design of articles of association and shareholder disputes, using real cases to discuss corporate control, combining operational guidance with cautionary insight. In the field of historical documentary writing, he took part in compiling and translating several volumes of the Historical Materials on the Nanjing Massacre, including the diaries and recollections of Japanese officers and soldiers as well as related reporting in Japanese newspapers of the time, providing primary sources for researchers. He has also produced reader-friendly interpretations of classics such as Mencius: A Reader and Sunzi: A Reader. Because public information is limited, his dates of birth and death, nationality, and educational background remain unknown, but these thirty works show that he attends both to practical legal issues and to historical sources and the popularization of traditional culture.
李金子 AuthorLi Jinzi is an author in the Chinese book market about whom limited public information is available; neither verified biographical details nor personal experience can be confirmed at present. Only one work by this author is held in the collection, namely Android Application Development Case Tutorial (Android Studio Edition), which is classified under exam preparation and is aimed at readers who need to study for exams or learn Android application development systematically. Judging from the title and category, the book takes case-based teaching as its main approach, centers on the Android Studio development environment, and emphasizes explaining development processes and key operations through concrete examples, making it a typical practical technical tutorial. The author stresses clear steps and operable content so that readers can practice along with the text, and the book is suitable as a course textbook or for self-study. In the absence of further biographical information, this book is the main basis for understanding the author's editorial direction and reflects a practical commitment to teaching mobile application development.