How do you turn off the vibration?

I need help. i need turn off/turn on vibration by switch on second page. The vibration is conected with button on first page. how should i do it?

Use sound component for vibration

When Button OnClick 
    Call Sound1 Vibrate 
    Open another screen Screen2
1 Like

To save settings for your app across Screens, use TinyDB and check those TinyDB values before deciding to do anything that should be controlled by those settings.

set TinyDB tag 'VIBRATE' to value true

if TinyDBtag 'VIBRATE' (default false) then