BlackBerry WebWorks 手机应用提示用户的几种方式

图标和文字提示:现成的WebWorks API

https://developer.blackberry.com/html5/apis/blackberry.app.html#.setHomeScreenIcon

手机状态栏提示:现成的WebWorks API

https://developer.blackberry.com/html5/apis/blackberry.app.html#.showBannerIndicator

https://developer.blackberry.com/html5/apis/blackberry.app.html#.removeBannerIndicator

震动:需要自己扩展开发个WebWorks JavaScript API

http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/Building-a-BlackBerry-WebWorks-JavaScript-Extension/ta-p/494139

声音:需要自己扩展开发个WebWorks JavaScript API

参考

 

黑莓手机开发tips: 通过闪烁/震动等5种方式提醒用户



你可能感兴趣的:(BlackBerry WebWorks 手机应用提示用户的几种方式)