ตัวอย่าง Android 7.0
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ใช้ตัวอย่างโค้ดด้านล่างเพื่อดูข้อมูลเกี่ยวกับความสามารถและ API ของ Android 7.0 หากต้องการดาวน์โหลดตัวอย่างเพลงใน Android Studio ให้เลือกตัวเลือกเมนูไฟล์ > ใหม่ > นําเข้าตัวอย่างเพลง
หมายเหตุ: โปรเจ็กต์ที่ดาวน์โหลดได้เหล่านี้ออกแบบมาเพื่อใช้กับ Gradle และ Android Studio
สนามเด็กเล่นแบบหลายหน้าต่าง
ตัวอย่างนี้แสดงวิธีใช้ประโยชน์จากอินเทอร์เฟซผู้ใช้แบบหลายหน้าต่างกับแอป
ดาวน์โหลดได้ใน GitHub
Direct Boot
ตัวอย่างนี้แสดงวิธีจัดเก็บและเข้าถึงข้อมูลในพื้นที่เก็บข้อมูลที่เข้ารหัสของอุปกรณ์ ซึ่งพร้อมใช้งานเสมอขณะที่อุปกรณ์บูต
ดาวน์โหลดได้ใน GitHub
ตัวอย่างเนื้อหาและโค้ดในหน้าเว็บนี้ขึ้นอยู่กับใบอนุญาตที่อธิบายไว้ในใบอนุญาตการใช้เนื้อหา Java และ OpenJDK เป็นเครื่องหมายการค้าหรือเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-27 UTC
[[["เข้าใจง่าย","easyToUnderstand","thumb-up"],["แก้ปัญหาของฉันได้","solvedMyProblem","thumb-up"],["อื่นๆ","otherUp","thumb-up"]],[["ไม่มีข้อมูลที่ฉันต้องการ","missingTheInformationINeed","thumb-down"],["ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป","tooComplicatedTooManySteps","thumb-down"],["ล้าสมัย","outOfDate","thumb-down"],["ปัญหาเกี่ยวกับการแปล","translationIssue","thumb-down"],["ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด","samplesCodeIssue","thumb-down"],["อื่นๆ","otherDown","thumb-down"]],["อัปเดตล่าสุด 2025-07-27 UTC"],[],[],null,["# Android 7.0 Samples\n\nUse the code samples below to learn about Android 7.0 capabilities and APIs. To\ndownload the samples in Android Studio, select the **File \\\u003e New \\\u003e Import\nSamples** menu option.\n\n\n**Note:** These downloadable projects are designed\nfor use with Gradle and Android Studio.\n\n### Multi-Window Playground\n\n\nThis sample demonstrates how to take advantage of multiple window\nuser interfaces with your app.\n\n\n[Get it on GitHub](https://github.com/android/views-widgets-samples/tree/main/MultiWindowPlayground) \n\n### Direct Boot\n\n\nThis sample demonstrates how to store and access data in a device encrypted\nstorage which is always available while the device is booted.\n\n\n[Get it on GitHub](https://github.com/android/security-samples/tree/main/DirectBoot)"]]