where is VIBRATE_IN_SILENT ?

All your problems with Audio, Video and Images.

where is VIBRATE_IN_SILENT ?

Postby jorgegl » Fri Oct 01, 2010 7:39 pm

I need to do this call in my app:

Code: Select all
final boolean vibe = (Settings.System.getInt(
                    getContext().getContentResolver(),
                    Settings.System.VIBRATE_IN_SILENT, 1) == 1);


I have seen this snipet in lots of webs. However I´m unable to find VIBRATE_IN_SILENT in any package. Perhaps it has been removed in the last API but I don´t think so because of retro-compatibility.
It should be in "android.provider.Settings.System"
jorgegl
Freshman
Freshman
 
Posts: 7
Joined: Mon Sep 27, 2010 7:43 am

Top

Re: where is VIBRATE_IN_SILENT ?

Postby techkanika » Wed Oct 13, 2010 8:58 am

Thanks
Kanika Rakheja
User avatar
techkanika
Experienced Developer
Experienced Developer
 
Posts: 83
Joined: Fri May 28, 2010 7:49 am

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: No registered users and 16 guests