Tizen Developers

Menu
Sites
Language
How can I get the Galaxy watch to vibrate?

I'm developing an app on a Galaxy Neo.  I'm trying to get the watch to vibrate when certian things in the app.  Going through the docs I'm assuming I need to use a notification but when I copy the example in the documentation I get this error:

TypeError: 'undefined' is not a constructor (evaluating 'new tizen.StatusNotification("SIMPLE","Simple notification", notificationDict)')

Anyone know what's up?  

Here's the documentation I'm referring to:

https://developer.tizen.org/documentation/articles/notifications

 

Thanks.

Responses

2 Replies
Michael Piccuirro

Actually it's 

            navigator.vibrate(1000);

Would you be able to point me to where this is stated in the documentaion?  Thanks for the help. 

Michael Piccuirro

Ah there it is, an acticle titled "Vibration API: Managing the Vibration Mechanism".

And it does not come up in the results when you search "vibration".  

Thanks again.