11. MOBILE FRAMEWORK
JQUERY MOBILE
• jQuery Mobile
• http://jquerymobile.com/
• MIT or the GPL2 license
• HTML5-based
• Native WebKit Animations
• 基於Jquery framework
• jQuery Mobile 1.0 Final
• 注意 Requires jQuery core 1.6.4
• 切勿使用最新的jQuery 1.7
11
18. MOBILE FRAMEWORK
NIMBLEKIT
• NKButton
• init(x, y, width, height, callback)
function playRadio()
{
var radio = new NKInternetPlayer();
radio.playFromURL("http://myradio.com:8000");
}
var playButton = new NKButton();
playButton.init(15, 390, 60, 20, "playRadio");
playButton.setImage("play.png");
playButton.show();
18