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
14
votes
4 answers

How do you make the iPhone vibrate for arbitrary durations?

In the iPhone 2.x firmware, can you make the iPhone vibrate for durations other than the system-defined: AudioServicesPlaySystemSound(kSystemSoundID_Vibrate); In jailbroken phones, you used to be able to use the MeCCA.framework to do…
KevinButler
  • 1,023
  • 1
  • 10
  • 14
13
votes
1 answer

iPhone - How do I know if the vibrate is on or off for iOS?

Do you know how I may know if the iPhone is on vibrate mode ? I don't find anything about this on the Web... Too tired to see ? I want to display an icon in the app so that the user can know looking at it if the phone is on vibrate mode or not. Tha…
Oliver
  • 23,072
  • 33
  • 138
  • 230
12
votes
2 answers

Android: Does Notification.DEFAULT_VIBRATE require vibrate permission?

Sometimes I read that notification.defaults|= Notification.DEFAULT_VIBRATE; and notification.defaults = Notification.DEFAULT_ALL; requires the vibrate permission But…
Xander
  • 5,487
  • 14
  • 49
  • 77
11
votes
3 answers

how can I check if the iOS device can vibrate

Currently only iPhone supports the vibrations how can I check if my device supports vibrations before calling the vibration function.
user757812
  • 581
  • 1
  • 7
  • 10
10
votes
3 answers

Android: Ringer mode changed to silent doesn't stop the phone vibrating

I'm trying to change the ringer mode of the phone to RINGER_MODE_SILENT when a call is incoming by using the following lines of code. AudioManager am = (AudioManager)…
Flo
  • 27,355
  • 15
  • 87
  • 125
9
votes
1 answer

How to use UIImpactFeedbackGenerator with objective c?

Does any one know how to use UIImpactFeedbackGenerator with objective c in iOS? I cannot find any examples anywhere. I am using a framework that requires objective c, so it cannot be swift. Thanks, Scott
Scott Harrison
  • 259
  • 3
  • 9
9
votes
3 answers

Detect the device is vibrating?

I have used the below code to vibrate the device. public void vibrator() { try { Vibrator vibrator = (Vibrator) getSystemService(Context.VIBRATOR_SERVICE); vibrator.vibrate(5000); } catch (Exception e) { Log.d(TAG,…
user3586231
  • 391
  • 4
  • 21
9
votes
3 answers

HTML5 vibration API support

I checked on http://caniuse.com/ but can't find anything about compatibility for the vibration API. Which browsers support it?
sdabet
  • 18,360
  • 11
  • 89
  • 158
9
votes
2 answers

How can I make my device vibrate?

I'm making a game in Flash for Android with AS3. I want the user to know that he pressed a button by making the device vibrate for a brief second. Can someone explain to me how I can make this happen? Do I need to import a specific class and what…
David W
  • 107
  • 1
  • 3
8
votes
1 answer

check phone settings for haptic feedback

Is there a way to check if the user has haptic feedback enabled or disabled in their android phone settings? While I think haptic feedback would be useful to my app, I also understand that some people (myself included) generally prefer to have…
Wookie1120
  • 194
  • 1
  • 11
8
votes
1 answer

Vibrate setting not turning off on receiving incoming call - Android

I want to turn off device vibrate setting when a call comes. I have implemented a BroadcastReceiver for this feature which performs the action on receiving PHONE_STATE broadcast. The problem is that I am not able to turn off vibrations at all. I…
Aman Bakshi
  • 231
  • 3
  • 6
8
votes
2 answers

Android Vibrate on toast (Homer: Mmmm vibrate on toast)

Is it possible to make the phone vibrate for ANY toast message in your program? Or do you have to insert a vibrate command on each toast? Cheers.
Entropy1024
  • 7,847
  • 9
  • 30
  • 32
8
votes
4 answers

How to trigger Vibration on Sound Input?

I am trying to create an android application where I filter one specific frequency of a beep and make the phone vibrate. I am taking input from the MIC of mobile and using MediaRecorder class, by using this class, I can record, save and play the…
Momo Pomo
  • 265
  • 2
  • 5
  • 19
8
votes
2 answers

Vibration on Xamarin Android

Im currently working on an application using Xamarin android. I cannot get the device to vibrate though. Vibrator vibrator = (Vibrator)Activity.GetSystemService(Context.VibratorService); vibrator.Vibrate(100); It builds but crashes when I press the…
Markus Olsson
  • 197
  • 4
  • 14
8
votes
2 answers

MonoTouch on Device - Vibrates at launch?

I just deployed my app to my iPhone for the first time. Every time it launches it vibrates before running, and it runs fine. The build is a Debug | iPhone one of my app. Any ideas why it vibrates when it launches and how to stop that? It's…
Driss Zouak
  • 2,381
  • 2
  • 26
  • 39
1
2
3
29 30