Haptic Feedback on mobile devices is implemented by installing small motors that generate a vibration when the user interacts with it. Also intensity, length and patterns of the haptic feedback are used to indicate different cases.
Questions tagged [haptic-feedback]
115 questions
1
vote
1 answer
iOS: How to check is Haptic Feedback enabled (iOS Settings)
Is it possible to read the option in the iOS settings whether the haptic feedback is activated or deactivated?

Stefan
- 190
- 1
- 11
1
vote
0 answers
how do I play a haptic on objective-c for iOS
I am wondering how to play haptic feedback when a button is pressed in objective-c, I've tried looking into the documentation but don't know how to read it.

jbiser361
- 949
- 7
- 20
1
vote
2 answers
iOS Haptic Touch API Possibilities
Since we are losing 3D Touch API's with iOS 13, such as UIViewControllerPreviewing, UIContextMenuInteraction seems to be the replacement.
UIContextMenuInteraction is good if you want to put up a menu upon Haptic Touch. What if you want to do…

Gizmodo
- 3,151
- 7
- 45
- 92
1
vote
0 answers
Moving a sphere in PyBullet with ROS subscriber node
I am supposed to create two spheres in PyBullet, one of which would be moved with a haptic feedback device. The device is connected to a computer in the lab and it's coordinates are sent through a topic. So the device is not physically on my PC, but…

MartinV
- 11
- 1
1
vote
0 answers
Remove Haptic Feedback from UIPickerView
I know how to add haptic feedback to elements in my Swift app, but how can I remove the native haptic feedback that comes with the UIPickerView?

aequinox
- 125
- 1
- 17
1
vote
2 answers
Flutter: vibrate on device for non-standard length of time
I am trying to build a Flutter application for Android that vibrates the phone both
for sufficiently long and sufficiently forcefully that even when the user's phone is in their pocket, the vibration is noticeable
in a specific pattern which the…

Benedict Randall Shaw
- 728
- 6
- 15
1
vote
0 answers
How to induce Haptic feedback in Pure Java
There are many answers to questions about how to induce haptic feedback for Android devices on SO. For example -- when a key (i.e. a custom key, not the on-screen keyboard on most devices) is pressed, you programmatically specify whether that mouse…

MrPickles
- 1,255
- 1
- 16
- 31
1
vote
1 answer
Haptic engine iPhone stronger impact
I have this function which creates haptic impact:
func generateVibration() {
let generator = UIImpactFeedbackGenerator(style: .heavy)
generator.impactOccurred()
}
I would like to make the impact stronger. Thanks for your help.
user8678879
1
vote
2 answers
Creating a haptic feedback pattern in swift 3
I am very new to Swift and programming. I'm trying to create a pattern of haptic feedback triggered by a UILongPressGestureRecognizer. When the user "long presses" the screen, I want the phone to vibrate three times with a 1 second delay between…

Hillary
- 71
- 8
1
vote
0 answers
Strange behaviour in iOS Today Widget with AVPlayer
I'm really getting crazy on this, so I'd ask for some help.
I'm coding a little widget that presents two UIButton the user can tap, once pressed the widget adds a notification to the app, if the button is pressed again the notification will be…

Fabrizio
- 514
- 7
- 18
1
vote
2 answers
How do you make a haptic play on the apple watch using Objective-C code
How do you make a haptic play on the apple watch when you press a button using Objective-C and Xcode.

Leo
- 115
- 1
- 10
1
vote
1 answer
Apple Watch "do not disturb"
Is possible read the "Do not disturb" status in the Apple Watch using Objective-C? In my application I would like to avoid the haptic feedback sound if the "Do not disturb" is currently active (in the iPhone or in the watch). Thanks

Lorenzo
- 3,293
- 4
- 29
- 56
0
votes
2 answers
How to add Haptic Feedback / Vibrations in react native app?
Specifically, I'm trying to get a TouchableOpacity to vibrate the user's device when pressed, and trying to add a vibration when a challenge success modal has been shown in the application.
Note that I do not need to add sound effects to my app,…

Shep Sims
- 698
- 9
- 27
0
votes
0 answers
Flutter iPhone: Repeated haptic feedback vibrate
I want the phone to buzz repeatedly. The problem is that even though I make multiple calls to HapticFeedback.vibrate, the phone only buzzes once. I have made sure to do the subsequent calls in a .then block, so the next call only fires after the…

thebiggestlebowski
- 2,610
- 1
- 33
- 30
0
votes
1 answer
React Native Allowing Haptics in iOS
I want to test the allowHapticsAndSystemSoundsDuringRecording variable in my react native project. I know that there is an instance method that allows you to change this value but I'm not sure how to use it in the .mm file I've created for testing.…

Zephyr
- 1,612
- 2
- 13
- 37