Quantcast
Channel: How to change programmatically a global setting like 'haptic feedback'? - Stack Overflow
Browsing latest articles
Browse All 3 View Live

Answer by Kano for How to change programmatically a global setting like...

Settings.System.putInt(getContentResolver(), Settings.System.HAPTIC_FEEDBACK_ENABLED, 0);This does work for me. You have set the WRITE_SETTINGS permission in your manifest I assume.

View Article



Answer by user519908 for How to change programmatically a global setting like...

Have you tried using VIBRATE_SETTING_CHANGED or RINGER_MODE_CHANGED? These are provided in the broadcast intent list under SDK's platforms/android-x/data/broadcast_actions.txt.

View Article

How to change programmatically a global setting like 'haptic feedback'?

How can I change programmatically a global setting like 'haptic feedback'?(Manually you can change this setting in 'Sound & Display Settings')Changing e.g. the airplane mode can be done with the...

View Article
Browsing latest articles
Browse All 3 View Live


Latest Images