Does any one know if it`s possible add vibration to prototype in Axure?
I try to do vibration on mobile app notification… and no idea how to do it
If any one know the answer it would be great 
Does any one know if it`s possible add vibration to prototype in Axure?
I try to do vibration on mobile app notification… and no idea how to do it
If any one know the answer it would be great 
It depends on each mobile OS if it exposes an API for browsers to control phone functions such as that.
It looks like there isn an HTML5 API for that but I have no idea what browsers or OSes implement it: How to Use the HTML5 Vibration API
If it is supported it will require some inserted JavaScript into your prototype as Axure doesn’t natively support this.
Hi Bluntiii,
What Nathan shared is a good start! For more details, try https://developer.mozilla.org/en-US/docs/Web/Guide/API/Vibration and Vibration API. According to the Mozilla link, it is supported on Mobile for Android and Firefox Gecko, but not Opera or Safari.
Keep in mind that you can inject the code via AxShare Plugins or the “Open Link in Current Window” action method.
light_forger
Hi,
is there any new method to achieve vibration (like Axure 8.0 beta)?
I am running my prototype on the AxShare Android App (Cyanogenmod).
If not, what’s the best way to get vibration on mobile?
As far as I know there is still nothing in the v8 beta that implements this, and given that lack of current browser support, it would seem unlikely to me for something to be implemented in Axure when only a few browsers will support it. That would just create confusion for Axure users when it doesn’t work.
That said, if you want to use it and have a device with a supporting browsers, it’s pretty easy to implement. You wouldn’t even necessarily need to inject JS if you didn’t want to. You could use an Open Link action with External URL set to:
javascript: window.navigator.vibrate(100)
That would give a 100ms vibration. Or to vibrate for 200ms, wait 100ms, then vibrate again for 200ms:
javascript: window.navigator.vibrate([200, 100, 200])