Codelabs ของ Google Developers มีบทแนะนำที่เปิดให้ลงมือปฏิบัติจริง ประสบการณ์การเขียนโค้ด Codelab ส่วนใหญ่จะแนะนำขั้นตอนการสร้าง แอปพลิเคชันขนาดเล็ก หรือการเพิ่มฟีเจอร์ใหม่ในแอปพลิเคชันที่มีอยู่ โฆษณาเหล่านี้ ครอบคลุมหัวข้อต่างๆ มากมาย เช่น Android Wear, Google Compute Engine ARCore และ Google APIs ใน iOS
เครื่องมือ Codelab ใน GitHubสร้างแอป Android ด้วย Firebase และ Jetpack Compose
55 นาที
Updated 31 มกราคม ค.ศ. 2025
สร้างฟีเจอร์ของแอป Android ในรายการสิ่งที่ต้องทำโดยการเพิ่มการตรวจสอบสิทธิ์ การตรวจสอบประสิทธิภาพ UI แบบประกาศ และการแจ้งฟีเจอร์ ซึ่งทั้งหมดนี้ทำได้ใน Firebase และ Jetpack Compose
สร้างแอปที่สมบูรณ์ด้วย Relay และ Jetpack Compose
42 นาที
Updated 9 มกราคม ค.ศ. 2025
ดูวิธีผสานรวม Relay เข้ากับแอป Compose และเร่งเวิร์กโฟลว์จากการออกแบบไปยังโค้ด
สร้างแอปแบบปรับเปลี่ยนได้ด้วย Jetpack Compose
36 นาที
Updated 9 พฤศจิกายน ค.ศ. 2024
ใน Codelab นี้ คุณจะได้เรียนรู้วิธีการสร้างแอปแบบปรับอัตโนมัติสำหรับโทรศัพท์ แท็บเล็ต และอุปกรณ์แบบพับได้ รวมถึงเรียนรู้เกี่ยวกับความสามารถในการเข้าถึงด้วย นอกจากนี้คุณจะได้เรียนรู้แนวทางปฏิบัติแนะนำสำหรับองค์ประกอบที่ปรับเปลี่ยนได้ของ Material 3
การเรียกใช้งานจำนวนคำของ Hadoop บนคลัสเตอร์ Dataproc
34 นาที
Updated 4 พฤศจิกายน ค.ศ. 2024
Codelab นี้จะแสดงวิธีสร้างและเรียกใช้เวิร์กโฟลว์ Apache Airflow ใน Cloud Composer เพื่อทำงานต่อไปนี้ให้เสร็จสมบูรณ์
การทริกเกอร์ DAG ด้วย Node.JS และ Google Cloud Functions
27 นาที
Updated 29 สิงหาคม ค.ศ. 2024
Codelab นี้จะแสดงวิธีใช้ Google Cloud Functions เพื่อทริกเกอร์เวิร์กโฟลว์ Apache Airflow (DAG) ใน Google Cloud Composer DAG ที่นี่จะเรียกใช้คำสั่ง Bash แบบง่ายๆ โดยใช้ BashOperator
การกำหนดธีมใน Compose ด้วย Material 3
31 นาที
Updated 23 สิงหาคม ค.ศ. 2024
วัตถุประสงค์ของ Codelab นี้คือการสาธิตการใช้ธีมใน Jetpack Compose ด้วย Material Design 3 และ Material You ใหม่
การปรับขนาดแอป Android
Updated 23 สิงหาคม ค.ศ. 2024
ใน Codelab ของ Jetpack Compose คุณจะได้เพิ่มประสิทธิภาพแอป Android เพื่อแสดงแนวทางปฏิบัติแนะนำในการปรับขนาดอย่างอิสระ ซึ่งรวมถึงการใช้ความเข้ากันได้ของไฟล์ Manifest ผลกระทบจากการเปลี่ยนแปลงการกำหนดค่า และการรักษาความต่อเนื่องผ่านการปรับขนาด
Learn Android XR Fundamentals: Part 1 - Modes and Spatial Panels
33 นาที
Updated 14 กุมภาพันธ์ ค.ศ. 2025
In this codelab, you’ll learn about the unique user experiences that are made possible by the XR form factor. Then, you’ll learn the fundamentals of how apps can be adapted to make the most of running on an Android XR headset by using the composables provided by the Jetpack Compose XR library.
Build a Fast Checkout Experience on Android with Google Pay
28 นาที
Updated 20 ธันวาคม ค.ศ. 2024
Google Pay API gives users the opportunity to pay everywhere, using the payment information stored in their Google Accounts. In this lab, you make use of Google Pay's client library for Android to improve the checkout experience of a simplified
Jetpack Compose Navigation
1 ชั่วโมง 39 นาที
Updated 10 ธันวาคม ค.ศ. 2024
In this codelab, you’ll learn all about the basics of Navigation in Compose.
Basic layouts in Compose
54 นาที
Updated 9 ธันวาคม ค.ศ. 2024
In this codelab, you’ll learn how to implement real-world designs with the composables and modifiers that Compose provides out of the box.
Drag and Drop in Compose
35 นาที
Updated 30 ตุลาคม ค.ศ. 2024
Learn to enable drag and drop in compose using modifiers.
Introduction to Compose for TV
1 ชั่วโมง 21 นาที
Updated 15 ตุลาคม ค.ศ. 2024
Learn the basics of Compose for TV and create two screens that are commonly available in TV apps.
Compose for Wear OS Codelab
57 นาที
Updated 8 ตุลาคม ค.ศ. 2024
In this codelab, you’ll learn how to translate your Compose knowledge to wearables with the new Compose for Wear OS. By the end, you’ll have created both simple and advanced composables in an app for your wrist.
Accessibility in Jetpack Compose
39 นาที
Updated 24 กันยายน ค.ศ. 2024
In this codelab, you’ll learn how to make your Compose app more accessible. See how to increase touch targets, add content descriptions, click labels, custom actions, and more.
Migrating to Jetpack Compose
51 นาที
Updated 24 กันยายน ค.ศ. 2024
In this codelab, you’ll learn how to migrate parts of a screen in the View system to Jetpack Compose.
Add a map to your Android app (Kotlin with Compose)
Updated 18 กันยายน ค.ศ. 2024
This codelab teaches you how to integrate Maps SDK for Android with your app and use its core features by building an app that displays a map of mountains in Colorado, USA, using various types of markers. Additionally, you'll learn to draw other
Add keyboard, mouse, trackpad, and stylus support with Jetpack Compose
1 ชั่วโมง 9 นาที
Updated 26 กรกฎาคม ค.ศ. 2024
Learn how to develop your apps to support keyboard and pointing devices, such as mouse and trackpad, with Compose.
Add Compose to a View-based app
Updated 28 มิถุนายน ค.ศ. 2024
In this codelab, you learn how to migrate parts of a screen in the View system to Jetpack Compose.
Build an app with an adaptive layout
Updated 28 มิถุนายน ค.ศ. 2024
Learn how to adapt your app for large screens by implementing one of the canonical layout patterns.
Build a simple app with text composables
Updated 18 มิถุนายน ค.ศ. 2024
Learn how to build a simple app with composable functions.
Write unit tests for ViewModel
Updated 18 มิถุนายน ค.ศ. 2024
Learn how to test the ViewModel to verify the correctness, functional behavior, and usability of your app.
Background Work with WorkManager
Updated 4 มิถุนายน ค.ศ. 2024
The WorkManager API for Android makes working in the background simple. WorkManager can create tasks that are queryable, reusable, and chainable. WorkManager is the recommended task scheduler on Android. This codelab will teach you the ins and outs of WorkManager: everything from writing a simple job to more complex chained jobs.
Build an adaptive app with dynamic navigation
Updated 31 พฤษภาคม ค.ศ. 2024
Learn how to adapt your app for large screens with adaptive navigation ui patterns.
Introduction to Coroutines in Android Studio
Updated 22 พฤษภาคม ค.ศ. 2024
Learn to use Kotlin coroutines inside an Android app and how to test coroutines.
Persist data with Room
Updated 17 พฤษภาคม ค.ศ. 2024
Learn how to use Room in your Android Kotlin apps. Room is a persistence database library that’s part of Android Jetpack. Room is an abstraction layer over SQLite. Room provides convenient APIs to set up, configure, and query the database.
Read and update data with Room
Updated 17 พฤษภาคม ค.ศ. 2024
Learn how to use Room to read and update data in your Android Kotlin apps. Room is a database library that’s part of Android Jetpack. Room takes care of many of the chores of setting up and configuring a database, and makes it possible for your app to interact with the database using ordinary function calls.
Practical performance problem solving in Jetpack Compose
50 นาที
Updated 13 พฤษภาคม ค.ศ. 2024
Make your Compose app run fast by analyzing system traces and fixing common lag causes.
Get data from the internet
Updated 10 พฤษภาคม ค.ศ. 2024
Learn how to use community-developed libraries to connect to a web service to retrieve and display data in your Android Kotlin compose app. Also learn how to handle potential network errors.
Add repository and Manual DI
Updated 10 พฤษภาคม ค.ศ. 2024
Learn how to further improve the architecture of the Mars Photos app by separating the network calls into a repository.
Test the Cupcake App
Updated 8 พฤษภาคม ค.ศ. 2024
Learn how to test the Navigation component and maximize the amount of code that is tested.
Add adaptive layouts to a view-based Android app with Compose
1 ชั่วโมง 1 นาที
Updated 7 พฤษภาคม ค.ศ. 2024
Learn how to add adaptive layouts to a view-based Android app with Jetpack Compose.
Navigate between screens with Compose
Updated 7 พฤษภาคม ค.ศ. 2024
Add the Navigation component to the Cupcake app to organize the flow of the app, navigate and pass data between different screens.
Simple Animation with Jetpack Compose
Updated 7 พฤษภาคม ค.ศ. 2024
Learn how to add a simple spring animation to your Compose app.
Stages of the Activity lifecycle
Updated 27 เมษายน ค.ศ. 2024
In this codelab, you learn about the activity lifecycle and logging.
Intro to state in Compose
Updated 26 เมษายน ค.ศ. 2024
Learn about state, and how it can be used and manipulated by Jetpack Compose.
Material Theming with Jetpack Compose
Updated 26 เมษายน ค.ศ. 2024
Learn how to add Material Theming to an app, including color, shape, and typography.
Load and display images from the internet
Updated 1 กุมภาพันธ์ ค.ศ. 2024
In this codelab, you use the Coil library to load and display photos from the internet in your Android Compose app.
Jetpack Compose basics
1 ชั่วโมง 5 นาที
Updated 18 มกราคม ค.ศ. 2024
In this codelab, you’ll learn the basics of Compose.
Introduction to Coroutines in Kotlin Playground
Updated 16 มกราคม ค.ศ. 2024
Within Kotlin Playground, learn to use Kotlin coroutines to write asynchronous code.
Theming in Compose with Material 3
31 นาที
Updated 3 มกราคม ค.ศ. 2024
The purpose of this codelab is to demonstrate theming in Jetpack Compose with new Material Design 3 and Material You implementation.
Advanced State and Side Effects in Jetpack Compose
41 นาที
Updated 22 ธันวาคม ค.ศ. 2023
In this codelab, you’ll learn advanced concepts of state and side effects in Jetpack Compose. See how to create a state holder for complex stateful composables, how to create coroutines and call suspend functions from Compose code, and how to trigger side effects to accomplish different use cases.
State in Jetpack Compose
50 นาที
Updated 23 พฤศจิกายน ค.ศ. 2023
In this codelab you’ll learn about how to build rich, interactive, Compose applications by managing state.
Animating elements in Jetpack Compose
20 นาที
Updated 23 พฤศจิกายน ค.ศ. 2023
In this codelab, you’ll learn how to use some Compose Animation APIs.
Testing in Jetpack Compose
38 นาที
Updated 21 พฤศจิกายน ค.ศ. 2023
In this codelab you’ll learn about testing UIs created with Jetpack Compose. You will write your first tests while learning about testing in isolation, debugging tests, semantics trees and synchronization.