0

I want to use the vibration alert for the accelerometer action in an app using the Corona SDK. Can any one give me some clue for this. I have tried searching for this in the internet but not found any useful clues.

Thanks in advance.

Happy Coding

4

1 回答 1

1

That's actually super easy, put this line in; system.vibrate()

That's all it takes. (I think it plays a beep sound on the simulator but nothing visual, so turn your sound up a bit while testing - or better yet build it. I used it in a test app 2 days ago.)

于 2011-07-17T19:51:28.650 回答