The Android framework includes support for Vibration available on devices, allowing you to control the device's vibrations from your application. Questions regarding practical and advanced use of Vibrations must fall under this tag.
Questions tagged [android-vibration]
202 questions
-1
votes
1 answer
Vibration on every second using timer in Android
I am writing an Android application in which I am using timer android. It is working perfectly, now I want to make it like it should vibrate on every second until the completion of the time.
My code is given below:
public class TimerActivity extends…

Usman Khan
- 3,739
- 6
- 41
- 89
-1
votes
1 answer
Android API, return a double value resulted from a function inside a class
Using the Android API, inside a Java class, I am trying to return whether the vibration feature is supported in the form of a double. I need it double because this is the datatype supported in a framework I am using.
I tried it two ways but the…

user780756
- 1,376
- 3
- 19
- 31
-1
votes
1 answer
Vibrating an Android phone based on mic input
I want to record the voice/sound input from the android phone and convert to specific type of vibrations of the phone. The idea is to help differently abled people with their surrounding environment and help in giving some sense of nearby obstacles…

Shan
- 5,054
- 12
- 44
- 58
-1
votes
1 answer
Mode of ringing changes from vibration to ringing when Incoming call is from particular number
I want to create an android application that changes the mode to ringing from vibration when incoming call from particular number
-2
votes
1 answer
How to make alarm play on specified days of week?(But alarm must play every week)?
I am programming alarm clock for myself and i got that problem. I also want to use the solution of my problem to set specified(by me) loud of alarm and ringtone. Please, show the code, if possible?

Muu
- 23
- 1
- 6
-2
votes
1 answer
how to manage mobile vibration?
I have create method to vibrate the mobile,code is running well,but I can't vibration like a "play then stop then play". How can manage this type vibration?
code
//@JavascriptInterface
public void Viber(String value )
{
// Get…

egydeveloper
- 585
- 5
- 7
- 27
-3
votes
2 answers
Cannot resolve symbol USAGE_NOTIFICATION_RINGTONE
I am able to make my android device vibrate using
v.vibrate(pattern, -1);
However, the android page describes another link to insert an AudioAttribute.
However, the following line gives me an error.
cannot resolve symbol…

Sunil Nair
- 383
- 2
- 5
- 15