开发者

Mobile Webapps Alerting Users

Is there anyway to have an audible alert on an android/iphone webapp? Would like to alert the 开发者_开发问答user when an event occurs.


On android, you can execute java code from javascript, but you need to run your webapp in a WebView.

If your webapp runs in a bare browser, you could also check for the html5 audio api, might do the trick.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜