Mulai 27 Maret 2025, sebaiknya gunakan android-latest-release
, bukan aosp-main
, untuk mem-build dan berkontribusi pada AOSP. Untuk mengetahui informasi selengkapnya, lihat Perubahan pada AOSP.
Sentuhan
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Subsistem haptik Android mengacu pada fitur hardware dan software yang
berkontribusi pada pembuatan stimulus melalui indera sentuh. Membuat
efek haptic memerlukan tingkat dependensi hardware yang tinggi, sedangkan
memahami stimulus haptic memerlukan tingkat dependensi dan
preferensi pengguna yang tinggi. Dikotomi ini menantang produsen perangkat untuk mengembangkan dan
memaksimalkan manfaat pengguna haptic di ekosistem Android.
Untuk menerapkan efek haptic dengan benar, Anda memerlukan hardware yang kompatibel dan terbaru.
Agar pengguna dapat merasakan stimulus haptik dengan benar, preferensi tertentu harus
ditingkatkan untuk menciptakan efek yang diinginkan. Produsen harus memenuhi kedua
persyaratan untuk menerapkan haptik dengan benar di Android.
Panduan berikut menjelaskan petunjuk kepatuhan untuk produsen
perangkat dan developer aplikasi, serta memberikan panduan yang jelas tentang penggunaan terbaik
API haptik Android:
Untuk mempelajari kompatibilitas lebih lanjut secara umum, baca Dokumen
Definisi Kompatibilitas Android.
Untuk mempelajari lebih lanjut cara menggunakan haptik di Android, baca Dokumentasi Developer
Android.
Konten dan contoh kode di halaman ini tunduk kepada lisensi yang dijelaskan dalam Lisensi Konten. Java dan OpenJDK adalah merek dagang atau merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-27 UTC.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-07-27 UTC."],[],[],null,["# Haptics\n\nThe Android haptics subsystem refers to hardware and software features that\ncontribute to the creation of stimuli through the sense of touch. *Creating*\nhaptic effects requires a high degree of hardware dependencies, while\n*perceiving* haptic stimuli requires a high degree of user dependencies and\npreferences. This dichotomy challenges device manufacturers to develop and\nmaximize haptic user benefits in the Android ecosystem.\n\nImplementing haptic effects correctly requires up-to-date, compatible hardware.\nFor users to properly perceive haptic stimuli, specific preferences must be\ntweaked to create the desired effects. Manufacturers must satisfy both\nrequirements to properly implement haptics on Android.\n\nThe following guides describe the compliance instructions for device\nmanufacturers and app developers, and provides clear guidance on the best use\nof the Android haptics APIs:\n\n- [**A step-by-step checklist detailing haptic SW and HW compliance**](/docs/core/interaction/haptics/haptics-implement)\n\n The checklist walks\n you through the key elements of the hardware configuration process.\n- [**A foundation for haptic framework**](/docs/core/interaction/haptics/haptics-ux-foundation)\n\n This lists the set of UX principles that Android haptic improvements are\n driven by.\n- [**An in-depth look at UX and design principles**](/docs/core/interaction/haptics/haptics-ux-design)\n\n These principles illustrate the importance of hardware compliance in\n improving the haptics UX for Android end users.\n- [**Assess hardware**](/docs/core/interaction/haptics/hardware)\n\n Learn how to assess the haptic effects implementation with the necessary\n test equipment and apply your findings to the performance map to draw\n conclusions about the performance of your device under test.\n\nTo learn more about compatibility in general, read the [Android\nCompatibility Definition Document](/docs/compatibility/11/android-11-cdd).\n\nTo learn more about using haptics in Android, read the [Android\nDeveloper Documentation](https://developer.android.com/develop/ui/views/haptics)."]]