# 5 Haptic Feedback Implementations To Enhance Your App

DevFeed: [5 Haptic Feedback Implementations To Enhance Your App](<https://devfeed.tech/articles/5-haptic-feedback-implementations-to-enhance-your-app-25783.md>)

Original publisher: [Read original article](<https://www.sinasamaki.com/haptic-feedback-in-jetpack-compose/>)

Author: sinasamaki

Published: 2024-04-25T21:48:56Z

Content type: tutorial

Language: en

Sources: [sinasamaki](<https://devfeed.tech/sources/sinasamaki.md>)

Topics: [Jetpack Compose](<https://devfeed.tech/topics/jetpack-compose.md>), [User interface design](<https://devfeed.tech/topics/ui-design.md>), [Android](<https://devfeed.tech/topics/android.md>), [User Experience](<https://devfeed.tech/topics/user-experience.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [article](<https://devfeed.tech/tags/article.md>), [cursor](<https://devfeed.tech/tags/cursor.md>), [demo](<https://devfeed.tech/tags/demo.md>), [haptic-feedback](<https://devfeed.tech/tags/haptic-feedback.md>), [jetpack-compose](<https://devfeed.tech/tags/jetpack-compose.md>), [keyboard](<https://devfeed.tech/tags/keyboard.md>), [photo-editor](<https://devfeed.tech/tags/photo-editor.md>), [radio](<https://devfeed.tech/tags/radio.md>), [source-code](<https://devfeed.tech/tags/source-code.md>)

## AI overview

The excerpt describes using haptic feedback to make fine UI interactions feel more controlled. In Jetpack Compose, it contrasts a basic haptic-feedback method with calling the view directly for access to more feedback types and local disabling. For a text cursor, it triggers feedback when the position changes and skips the initial value so vibration follows user interaction. For a dial built with a list, it responds to changes in the first visible index and uses a stronger vibration at list boundaries. The excerpt begins a keyboard section but does not provide its implementation.

## Source excerpt

Adding vibrations in Jetpack Compose is super easy