Android development 是为 Google 的 Android 操作系统构建应用程序——世界上使用最广泛的移动操作系统。Android 应用主要用 Kotlin(或 Java)构建,使用 Android SDK 和一组构造应用结构的核心组件。
Android 开发涉及的内容
→ Build apps for the Android OS (phones, tablets, TVs, wearables, cars)
→ Languages: KOTLIN (modern, Google-preferred) or Java
→ Tools: ANDROID STUDIO (the IDE), the Android SDK, Gradle (build system)
→ Apps distributed via Google PLAY (and other stores)
→ The most widely-used mobile platform globally (huge reach)
核心应用组件
Four fundamental building blocks of an Android app:
ACTIVITY → a single screen with a UI (an entry point for user interaction)
SERVICE → background work without a UI (e.g. play music, sync data)
BROADCAST RECEIVER → respond to system/app-wide events (e.g. battery low, boot)
CONTENT PROVIDER → manage/share app data (e.g. expose data to other apps)
→ Components are declared in the AndroidManifest.xml and managed by the OS.
