Android Application Development Tutorial cover

Android Application Development Tutorial

No rating yet
Word count
718 words
Chapters
40
Series
Practical Planning Textbook for Computer Science Majors in 21st-Century Universities
ISBN
9787302483182

Tags

Summary

This textbook is intended for students in computer science and related majors at colleges and universities. Built around two development environments, Android Studio and Eclipse, it teaches the core knowledge of Android application development through a project-driven approach. The book has 10 chapters. Chapter 1 introduces the Android system architecture and how to set up a development environment. Chapter 2 explains how to create, run, debug, and publish an Android application. Chapter 3 takes an in-depth look at the three core components Activity, Fragment, and Intent, including their lifecycles, data passing, and filters. Chapter 4 covers the fundamentals of UI design, common layouts, and common widgets. Chapter 5 introduces event-handling mechanisms, advanced widgets, and menus. Chapter 6 explains background services, including the Service lifecycle and the started and bound modes, BroadcastReceiver, and Notification. Chapter 7 introduces SharedPreferences, file storage, SQLite databases, and data sharing. Chapter 8 covers multimedia services such as 2D/3D graphics drawing, animation, audio and video playback, and sound and image capture. Chapter 9 introduces location services and Baidu Map application development. Chapter 10 presents a complete case study, an online job-search mobile client, tying together requirements analysis, structural design, login and registration, job details, and personal information modules to demonstrate the full development process of a runnable project. Each chapter includes numerous tested examples with their output, and ends with multiple-choice, fill-in-the-blank, short-answer, and applied exercises. Answers to the exercises are provided at the end of the book, along with teaching slides and the source code for all examples, supporting both classroom instruction and self-study.

Editor's review

这是一本结构非常规整的 Android 入门教材,最大的优点是“章节顺序即为学习路径”:从环境搭建、项目创建,到四大组件、界面控件、事件处理、数据存储、多媒体、定位,最后收束到一个完整项目,几乎没有跳跃,适合照着从头做到尾。作者赵明渊长期从事一线教学,书中示例都给出清晰的解题思路与开发步骤,并附运行结果,初学者不容易卡在“代码能跑但不知道为什么”。每章配有选择、填空、问答和应用题四类习题,书末附答案,教师可直接取用为课后作业;教学课件与全部实例源代码可在清华大学出版社网站获取,备课成本低。第 10 章的“网上求职手机客户端”案例从需求分析走到页面实现,是本书相对同类教材更有价值的实战部分。需要提醒的是,本书 2018 年出版,示例基于 Android Studio 与较早期的 SDK 与 API,读者在较新版本上运行时可能需要做少量适配;百度地图部分还需自行申请密钥。总体而言,作为高校一学期课程教材或培训班讲义,它的完整度和可教性都相当可靠。

Who it's for

A good fit for

  • 高等院校计算机、软件工程等专业修读移动开发课程的学生,可配合课堂进度逐章实践
  • 已掌握 Java 基础语法与面向对象,准备系统入门 Android 的自学者
  • 职业院校与培训机构中需要一套完整讲义与习题的授课教师
  • 想通过一个完整案例了解 App 从需求到上线的初级开发者

Not a good fit for

  • 完全没有编程基础、未接触过 Java 的读者,阅读组件与回调部分会比较吃力
  • 已有多年 Android 开发经验、希望学习 Kotlin、Jetpack Compose 等新技术的工程师
  • 只关心跨平台方案(Flutter、React Native)而非原生 Android 的读者

Reading tips

  1. 先花半天把第 1、2 章的环境与项目跑通,确认能编译运行示例,再进入后续章节
  2. 第 3 章 Activity、Fragment、Intent 是全书枢纽,建议手敲示例并对照生命周期图理解
  3. 第 6、7 章的服务与数据存储可结合实际需求改写示例,例如给幻灯片案例加上本地缓存
  4. 最后集中完成第 10 章项目,并按章末习题自行扩展一两个功能模块以检验掌握程度

About the publisher

Tsinghua University Press China · Founded in 1980

Founded in 1980, Tsinghua University Press has 57 titles in our collection, covering popular science, medicine, health, law, philosophy and social sciences. Representative works include medical popular-science books such as Cancer Truth: Doctors Are Reading It Too and New Knowledge on Cancer by Bo Luo (Li Zhizhong), legal titles such as Sunshine Is the Best Preservative: Express Delivery of Major Global Anti-Corruption Cases, and works like Qi Ge's A Brief History of Philosophy with Big Ideas and Liu Yunhao's From the Internet to a New Industrial Revolution. Its authors include science writers, medical researchers, the Renmin University of China anti-corruption master's class and university scholars, reflecting a publishing profile that balances academic seriousness with accessible reading. As public information is limited, this profile is based only on the titles in our collection.

Contents

  1. Chapter 1 Android System Architecture and Application Development Environment
  2. 1.1 Android Overview
  3. 1.2 Architecture of the Android Operating System
  4. 1.3 Eclipse Integrated Development Environment
  5. 1.4 Android Studio Integrated Development Environment
  6. 1.5 Summary
  7. Chapter 2 Creating, Debugging, and Publishing Android Applications
  8. 2.1 Creating and Running an Android Project
  9. 2.2 Directory Structure of an Android Application
  10. 2.3 Analyzing an Android Application
  11. 2.4 Debugging Android Applications
  12. 2.5 Publishing an Android Application Project
  13. Chapter 3 Activity, Fragment, and Intent
  14. 3.1 Lifecycle of an Android Application
  15. 3.2 Basic Components of an Android Application
  16. 3.3 Activity States and Lifecycle
  17. 3.4 Using Fragment
  18. 3.5 Intent Attributes, Filters, and Data Passing
  19. Chapter 4 Basic Android Widgets
  20. 4.1 User Interface Design
  21. 4.2 Common Layouts
  22. 4.3 Common Widgets
  23. Chapter 5 Android Event Handling, Advanced Widgets, and Menus
  24. 5.1 Android Event-Handling Mechanisms
  25. 5.2 Common Advanced Android Widgets
  26. 5.3 Menus
  27. Chapter 6 Background Services
  28. 6.1 The Service Component and Its Lifecycle
  29. 6.2 Service Started and Bound Modes
  30. 6.3 The BroadcastReceiver Component
  31. 6.4 Notification
  32. 6.5 Slideshow Display of Flower Images
  33. Chapter 7 Data Storage
  34. 7.1 SharedPreferences
  35. 7.2 File Storage
  36. 7.3 SQLite Databases
  37. 7.4 Data Sharing
  38. Chapter 8 Multimedia Services
  39. 8.1 Drawing 2D Graphics
  40. 8.2 Drawing 3D Graphics

FAQ

这本书需要什么编程基础?
需要读者具备 Java 基础,包括类与对象、继承、接口、异常处理和基本的集合使用。书中不讲解 Java 语法本身,直接从 Android 系统架构与开发环境讲起,零 Java 基础建议先补一轮 Java 再读。
书中的示例在最新的 Android Studio 上还能运行吗?
本书 2018 年出版,示例基于当时的 Android Studio 与 SDK 版本。核心的组件用法、生命周期、数据存储等知识仍然有效,但由于 Gradle 插件、目标 API 与权限机制已有变化,部分工程可能需要修改构建配置和权限声明后才能编译。
书里用的是 Eclipse 还是 Android Studio?
两者都讲。第 1 章同时介绍 Eclipse 集成开发环境和 Android Studio 集成开发环境,后续章节的主要示例以 Android Studio 为主。鉴于 Eclipse 的 ADT 插件早已停止维护,建议只把该部分作为背景了解。
定位服务一章需要准备什么?
第 9 章涉及百度地图应用开发,需要读者自行到百度地图开放平台注册开发者账号并申请应用 AK 密钥,否则地图相关示例无法正常显示。单纯学习定位 API 的部分则可用模拟器的虚拟位置测试。
这本书适合作为课程教材吗?
比较适合。全书 10 章篇幅与一学期课时大体匹配,每章含小结与四类习题,书末附参考答案,出版社还提供教学课件与实例源代码,教师可直接用于备课与布置作业。

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