First Line of Code: Android (3rd Edition)
Tags
Summary
The book comprises 16 chapters, progressing in the order of "environment setup—language fundamentals—core components—UI and interaction—data and networking—architecture and practice." Chapter 1 guides readers through setting up the development environment and building their first Android app. Chapter 2 provides a quick introduction to Kotlin programming. Chapters 3 through 11 systematically cover Activity, UI development, Fragment, the broadcast mechanism, data persistence, ContentProvider, multimedia, Service, and networking technologies. Chapter 12 concludes with a hands-on Material Design project, Chapter 13 delves into Jetpack architecture components, and Chapter 14 introduces advanced techniques. Chapter 15 walks readers through developing a weather forecast app using the MVVM architecture, and Chapter 16 explains how to write and publish the open-source library PermissionX.
The author, Guo Lin, is an Android software engineer and the creator of the open-source framework LitePal. Writing from a beginner's perspective, he aims for clarity and accessibility, gradually advancing from basic to more complex topics. As a result, the book serves both as a primary textbook for readers with no prior experience to systematically learn Android development and as a handy reference manual to consult during development.
Editor's review
Who it's for
A good fit for
- 具备 Java 或 Kotlin 基础语法知识、想系统入门 Android 开发的初学者
- 在校计算机相关专业学生,需要一本可当教材使用的 Android 课程参考书
- 正在从其他方向转到移动端开发、希望快速补齐 Android 知识体系的开发者
- 有一定 Android 经验、想系统梳理 Kotlin 与 Jetpack 用法的开发者
Not a good fit for
- 完全没有编程基础、连变量与函数概念都不熟悉的读者
- 希望直接学习 Flutter、React Native 等跨平台框架的读者
- 只想查阅最新 Android 版本变更、不需要系统教程的资深工程师
Reading tips
- 务必边读边敲代码,每章至少亲手跑通一个示例,比只看书效率高得多
- 先补一点 Kotlin 语法再读第3章往后内容,第2章可作为速查回顾,不要跳过
- 第15章的天气预报 App 建议独立完成一遍,它是检验全书知识点的最佳方式
- 注意书中基于 Android 10.0,实际开发请对照官方文档,处理新版本 API 与行为变更差异
About the publisher
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
- Chapter 1 Setting Off: Your First Line of Android Code
- Chapter 2 Exploring a New Language: A Quick Introduction to Kotlin Programming
- Chapter 3 Starting with What You Can See: Exploring Activity
- Chapter 4 Apps Need Good Looks Too: All About UI Development
- Chapter 5 Balancing Phones and Tablets: Exploring Fragment
- Chapter 6 The Global Loudspeaker: A Detailed Look at the Broadcast Mechanism
- Chapter 7 The Complete Guide to Data Storage: A Detailed Look at Persistence Techniques
- Chapter 8 Sharing Data Across Programs: Exploring ContentProvider
- Chapter 9 Enriching Your App: Using Phone Multimedia
- Chapter 10 The Silent Worker in the Background: Exploring Service
- Chapter 11 Seeing the Wonderful World: Using Network Technology
- Chapter 12 The Best UI Experience: Material Design in Practice
- Chapter 13 Advanced App Development Components: Exploring Jetpack
- Chapter 14 Continuing to Advance: Advanced Techniques You Should Also Master
- Chapter 15 Into Practice: Building a Weather Forecast App
- Chapter 16 Writing and Publishing an Open-Source Library: PermissionX
FAQ
这本书需要先学 Java 吗?
第3版和第2版主要区别是什么?
零基础能直接读这本书吗?
书中的代码现在还能运行吗?
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
Guo Lin: public information about this author is limited, and currently only one work is known, Interpersonal Communication and Public Expression, classified under inspirational growth. Judging from the title, the book concerns the transmission of information between people, the building of relationships, and the ability to speak in public settings, placing it in the practical writing category aimed at general readers. Works of this kind usually start from everyday interaction and workplace situations and discuss listening, wording, emotional awareness, and methods of speaking before an audience, in a style that tends to be plain, direct, and easy to apply rather than academically dense. On the available evidence, Guo Lin's writing centers on this theme of communication and expression, while details of the author's background, professional experience, and full body of work await further information. Readers interested in interpersonal skills and expression techniques may find this book a useful introductory reference on the topic.