Android Application Development Tutorial (Android Studio Edition) cover

Android Application Development Tutorial (Android Studio Edition)

No rating yet
Word count
531 words
Chapters
19
Series
A Textbook for Android Application Development
ISBN
9787121289309

Tags

Summary

This textbook is designed for undergraduate and graduate courses in Android application development. Using Google's official IDE Android Studio and the Genymotion emulator as the development environment, it organizes its content according to a "basics—advanced—capstone projects" structure. The book is divided into two parts. The Basics part begins with the Android system and development environment, covering JDK installation and environment variable configuration, Android Studio installation on Windows and Mac, SDK download and domestic mirrors, the Genymotion emulator and its plugin, and the first Hello World project. It then explains Android UI design (layouts, ListView, GridView, TextView, EditText, Button, and other common widgets), Activity as the basic program unit, Intent and Intent Filter, event handling, Service, BroadcastReceiver, ContentProvider for data sharing, graphics, images, and multimedia, network programming fundamentals (Socket, URL and HttpURLConnection, WebView, WebService), data storage (SharedPreferences, files, SQLite), and GPS positioning with Baidu Maps. The Capstone Projects part presents four complete cases—an Android-based calculator, a graphical number game, an audio player, and a database notepad—each developed layer by layer from system analysis and system design to coding implementation and testing. Written in an "example-driven" style with more than 50 examples, the book's source code is freely available from the Huaxin Education Resource website, making it suitable as both a classroom textbook for mobile development courses and a self-study reference.

Editor's review

很多 Android 入门书要么讲得太深、一上手就是源码细节,要么只堆控件不落地项目,这本书在两者之间取了折中:先用一章把 Android Studio、SDK、Genymotion 这套开发环境彻底搭好,让零基础的人能顺利跑起第一个工程;再按四大组件与 UI、多媒体、网络、存储、定位的顺序把知识点串起来;最后用计算器、数字游戏、音频播放器、数据库记事本四个完整项目,把前面零散的知识重新组装成能运行的 App。 作为“十三五”规划教材,它的章节划分和课时节奏对教学比较友好,全书 50 多个实例都配有源码,可以在华信教育资源网下载,教师可以直接拿来做课堂演示和上机任务。 需要提醒的是,本书基于 Android Studio 1.3 时代的环境编写,Genymotion 插件、SDK 镜像、百度地图 SDK 等部分工具链和接口已发生变化,阅读环境搭建章节时要有“对照官方最新文档”的心理准备。把它当作理解 Android 开发整体脉络与组件模型的入门框架书,而不是 API 速查手册,收获会更大。

Who it's for

A good fit for

  • 计算机、软件工程、信息管理等专业修读移动开发课程的本科生与研究生
  • 有 Java 与面向对象基础、想系统入门 Android 开发的程序员
  • 高职与培训机构中需要一本按课时推进、带完整案例的 Android 讲师
  • 想通过完整小项目理解 App 从设计到实现全流程的初学者

Not a good fit for

  • 寻求 Kotlin、Jetpack Compose 等现代 Android 开发技术栈的读者
  • 需要查询最新 API 或官方最佳实践的资深 Android 工程师
  • 完全没有编程经验、连变量与类都陌生的零基础读者

Reading tips

  1. 先按第1章把 JDK、Android Studio、SDK 和模拟器完整跑通,环境不通不要急着读后面的代码。
  2. 阅读时同步敲代码:每个实例先自己写一遍,再对照书中源码查漏,比只看不练效率高得多。
  3. 遇到工具链报错时,以官方文档为准替换书中的旧版本配置,把精力放在组件与生命周期等稳定知识上。
  4. 学完第12章后集中做综合项目篇,任选两个项目独立完成,再回看四大组件章节,理解会明显加深。

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. Part 1 Basics
  2. Chapter 1 The Android System and Development Environment: platform architecture, Android Studio basics, JDK and SDK configuration, Genymotion emulator, Hello World project
  3. Chapter 2 Android UI Design: UI layouts, ListView and array adapters, GridView, TextView, EditText, AutoCompleteTextView, Button, ImageButton, and other widgets
  4. Chapter 3 Activity: lifecycle and states, creating and launching, navigating between Activities
  5. Chapter 4 Intent and Filters: explicit and implicit Intents, intent filters, passing data between components
  6. Chapter 5 Android Event Handling: listener-based and callback-based event handling mechanisms
  7. Chapter 6 Service: started and bound modes, lifecycle
  8. Chapter 7 BroadcastReceiver: sending and receiving broadcasts, registration methods
  9. Chapter 8 ContentProvider for Data Sharing: URIs, creating and using ContentProviders
  10. Chapter 9 Graphics, Images, and Multimedia: drawing basics, bitmaps and animation, playing audio and video with MediaPlayer, taking photos with the camera
  11. Chapter 10 Android Network Programming Fundamentals: Socket communication, URL and HttpURLConnection, WebView, WebService calls (phone number location lookup)
  12. Chapter 11 Android Data Storage: SharedPreferences, File storage and SD cards, SQLite databases
  13. Chapter 12 GPS Application Development and Baidu Maps: LocationProvider, obtaining location information, Baidu Maps SDK and positioning
  14. Part 2 Capstone Projects
  15. Chapter 13 Android-Based Calculator: system analysis, system design, UI and logic implementation, running and testing
  16. Chapter 14 Graphical Number Game: system analysis, system design, project structure, UI and game logic implementation
  17. Chapter 15 Android-Based Audio Player: system analysis, system design, UI and playback logic implementation
  18. Chapter 16 Android Database Notepad: system analysis, system design, UI and note-taking logic implementation
  19. References

FAQ

这本书用的是 Java 还是 Kotlin?
本书基于 Java 语言与 Android Studio 1.3 时代的开发环境编写,书中示例均为 Java 代码,未涉及 Kotlin。今天阅读时可以把示例当作理解 Android 组件模型的材料,再自行迁移到 Kotlin。
零基础可以直接读这本书吗?
不建议完全零基础直接上手。书中默认读者具备 Java 语法与面向对象的基本概念,如类、继承、接口和线程;若尚无 Java 基础,建议先补一至两周 Java 再进入本书。
书中的案例源码在哪里下载?
据出版社介绍,书中全部实例与综合项目源码可在华信教育资源网(hxedu.com.cn)注册后免费下载,具体入口以电子工业出版社该书页面的配套资源说明为准。
书中讲的 Genymotion 和百度地图还能用吗?
能参考其配置思路,但具体版本与接口已变化。Genymotion 插件的安装方式、百度地图 SDK 的申请与接入流程均有更新,实操时请以各官网当前文档为准,不必死抠书中截图。
书和作者后续版本的《理论、实验与在线金课》有什么区别?
后续版本在同一作者体系下增加了实验项目与在线课程配套内容,并更新了部分开发环境说明。若用于当前教学,新版在实践环节与配套资源上更完整;本书则更接近最初的纯教材形态。

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