Questions tagged [vibration]

Vibration is a kind of user interaction or attention feedback provided by some devices.

Vibration is a kind of user interaction or attention feedback provided by some devices.

Starting point.

437 questions
7
votes
4 answers

Vibrate pattern for incorrect input (Android)

I know how to create a vibrate pattern e.g: Vibrator vibrator = (Vibrator) getSystemService(Context.VIBRATOR_SERVICE); long pattern[] = new long[] {0, 200, 100, 200}; vibrator.vibrate(pattern, -1); But I don't know which pattern will communicate…
tidbeck
  • 2,363
  • 24
  • 35
7
votes
0 answers

Android Device default vibrate pattern

I tried to vibrate my app with device's default vibration settings but i can not do it with using Vibration. I tried it code which is below. case AudioManager.RINGER_MODE_VIBRATE: Vibrator vibrator = (Vibrator)…
iravul
  • 408
  • 9
  • 15
7
votes
1 answer

Custom vibration in iOS 8 - Swift

I'm writing a sprite kit-based app in swift and need to make a short haptic feedback using vibration so first I imported AudioToolbox and used this AudioServicesPlayAlertSound(SystemSoundID(kSystemSoundID_Vibrate)) and it worked well but it…
Ahmad Ismail
  • 641
  • 7
  • 15
7
votes
1 answer

Intensity of custom iPhone vibration

This is a question related to Are there APIs for custom vibrations in iOS?. I am able to create custom vibration patterns, but have no control over the intensity. This is copied over from Kevin Cao's answer that enables custom vibration…
Julian Vogels
  • 668
  • 1
  • 6
  • 21
7
votes
1 answer

Is it possible to "rumble" a Xbox 360 controller with Python?

Is it possible to "rumble" my wireless Xbox 360 controller for PC with Python? I've only found solution for reading input but I cant find information about vibration/rumble. EDIT: Following the code provided by @AdamRosenfield I get the following…
Belohlavek
  • 167
  • 3
  • 13
7
votes
3 answers

iOS switch off vibrate on silent programmatically [Private API]

I would like to keep my iPhone from vibrate when it's on Silent Mode even when it is ON in settings. I want to do it programmatically from an App. This is for me, so I can use a private API. Is there an api which manage Sounds in Settings? Do you…
Bcow7
  • 73
  • 1
  • 4
7
votes
1 answer

Where is the Vibration API hiding in Chrome 23?

According to a post on Peter Beverloo's blog, "The webkit prefix has been dropped from the Vibration API implementation as it reached Candidate Recommendation." In Firefox, the Vibration API can be found at navigator.vibrate (per the spec), not so…
psema4
  • 3,007
  • 1
  • 17
  • 22
7
votes
1 answer

Make iPhone vibrate: AudioServicesPlaySystemSound(kSystemSoundID_Vibrate) undeclared

I want to make iPhone vibrate and I found the code AudioServicesPlaySystemSound(kSystemSoundID_Vibrate); but Xcode 4.3.2 reports error: undeclared identifier kSystemSoundID_Vibrate What's the problem?
Ben Lu
  • 2,982
  • 4
  • 31
  • 54
6
votes
3 answers

Can you increase vibrator strength on android devices?

Is it possible to increase the strength of the alarm vibration?
Mike Bryant
  • 2,455
  • 9
  • 39
  • 60
6
votes
2 answers

Android: vibrator method (if phone has no vibrator?)

I want to use the vibrator method in my app, and i have got it working on my phone which has a vibrator which is great. however phones that don't have a vibrator what happens. does it not work at all? does it stop the app working? or does it not…
Jack Trowbridge
  • 3,175
  • 9
  • 32
  • 56
6
votes
2 answers

Vibrate iPhone 6S manually like peek and pop?

How can I manually trigger a single click-like vibration like the ones that happen when using peek&pop, or application shortcuts?
vrwim
  • 13,020
  • 13
  • 63
  • 118
6
votes
2 answers

Android - Vibrating device doesn't work

I actually have an app that I test with two devices. One LG GW620, and one Samsung Spica. I would like when User touch the screen, the device vibrate. In fact, On the LG GW620, the device vibrate when I touch it. But on the spica doesn't... I…
Nanis
  • 361
  • 6
  • 18
6
votes
1 answer

Vibrate permission required only on some devices

I'm testing my app that uses the NotificationManager to send up a notification which does a vibration. Currently, I do not have the Vibrate permission in my manifest. I understand the need to have it, but am seeing some weird behavior between…
Stealth Rabbi
  • 10,156
  • 22
  • 100
  • 176
6
votes
1 answer

A universal cross-platform way (mobile) to show alerts to a user

I have a task to create a client application which can show notifications to a user with a high probability of notifications being noticed. The application should work on Android (2.0+)/iOS/WP. Here is the use case: The user starts the Application…
skanatek
  • 5,133
  • 3
  • 47
  • 75
5
votes
2 answers

Vibrate until message box closed Windows Phone 7

I have a timer app and I want to vibrate the phone once the timer has finished. I can currently play a sound until the OK button is pressed, but it only vibrates once. How can repeat the vibration until the user presses the OK button? This is my…
Chris
  • 3,036
  • 5
  • 36
  • 53
1 2
3
29 30