views:

23

answers:

0

I have a functional Android/PhoneGap application that is able to use notification.vibrate(duration) and notification.alert(message, title, button) successfully, however, when I access PhoneGap's notification.beep(times) method, the beeping infinitely repeats for the lifetime of the application:

navigator.notification.beep(1);

This follows the syntax specified by the PhoneGap documentation (http://docs.phonegap.com/docs/notification).

Obviously, this is unacceptable in a production app. I've seen PhoneGap sample code targeted at the iPhone that calls a parameterless beep() method. That doesn't work at all.