I need to implement phone vibration into my app which I am developing in Lua. My app is initially for Android, but will be for IOS also later on - so I will eventually need vibration for both platforms. But just Android for now.
I am new to cocos2d-x, and am having difficulty finding which methods to call to get this to work.
The closest help I found was this:
http://blog.tankorsmash.com/?p=620
But the implementation is with C++ and java, which I am not that familiar with, and I am unsure how to call this from my Lua code.
Can anybody give me some guidelines how to do this?