Check sound and vibration setting from widget

Check sound and vibration setting from widget

BY 20 May 2014 Web Application Development

Hi!

I am playing with widget development for Gear 2.

I need to disable sounds and/or vibrations in my widget depending on corresponding system setting

(Sound -> Vibration -> mute -> Sound -> …)

 

How am I supposed to perform this check ?

 

Also, one user in his topic https://developer.tizen.org/forums/web-application-development/vibration-background speaks about settings_vibro and settings_sounds. But no hints how did he get those values.

 

help!

thanks.

 

 

 

 

 

Written by