摘要: webView.url = "html/index.html"; 这是我的本地网页! var win = Titanium.UI.createWindow({ title:"Loading Local and Remote Web Pages", backgroundColor:"#FFFFFF",});var loadLocalButton = Titanium.UI.createBu... 阅读全文
posted @ 2012-03-17 22:32 校长阿四 阅读(440) 评论(0) 推荐(0) 编辑
摘要: var win = Titanium.UI.createWindow({ title:"Creating a Map and Setting the Location", background:"#FFFFFF", exitOnClose:true});//Android users will need to be sure to test with the Google APIs in... 阅读全文
posted @ 2012-03-17 16:45 校长阿四 阅读(465) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2012-03-17 16:28 校长阿四 阅读(335) 评论(0) 推荐(0) 编辑
摘要: android无法运行 // this sets the background color of the master UIView (when there are no windows/tab groups on it)Titanium.UI.setBackgroundColor('#000');// create tab groupvar tabGroup = Titanium.UI.... 阅读全文
posted @ 2012-03-17 16:21 校长阿四 阅读(372) 评论(0) 推荐(0) 编辑
摘要: // this sets the background color of the master UIView (when there are no windows/tab groups on it)Titanium.UI.setBackgroundColor('#000');// create tab groupvar tabGroup = Titanium.UI.createTabGr... 阅读全文
posted @ 2012-03-17 16:11 校长阿四 阅读(380) 评论(0) 推荐(0) 编辑
摘要: // this sets the background color of the master UIView (when there are no windows/tab groups on it)Titanium.UI.setBackgroundColor('#000');// create tab groupvar tabGroup = Titanium.UI.createTabGr... 阅读全文
posted @ 2012-03-17 16:01 校长阿四 阅读(357) 评论(0) 推荐(0) 编辑
摘要: // this sets the background color of the master UIView (when there are no windows/tab groups on it)Titanium.UI.setBackgroundColor('#000');// create tab groupvar tabGroup = Titanium.UI.createTabGr... 阅读全文
posted @ 2012-03-17 15:49 校长阿四 阅读(374) 评论(0) 推荐(0) 编辑
摘要: app.js // this sets the background color of the master UIView (when there are no windows/tab groups on it)Titanium.UI.setBackgroundColor('#000');// create tab groupvar tabGroup = Titanium.UI.... 阅读全文
posted @ 2012-03-17 15:39 校长阿四 阅读(420) 评论(0) 推荐(0) 编辑
摘要: android无法打开,ios支持 app.js // this sets the background color of the master UIView (when there are no windows/tab groups on it)Titanium.UI.setBackgroundColor('#000');// create tab groupvar tabGroup ... 阅读全文
posted @ 2012-03-17 15:27 校长阿四 阅读(450) 评论(0) 推荐(0) 编辑
摘要: // this sets the background color of the master UIView (when there are no windows/tab groups on it)Titanium.UI.setBackgroundColor('#000');// create tab groupvar tabGroup = Titanium.UI.createTabGr... 阅读全文
posted @ 2012-03-17 15:14 校长阿四 阅读(549) 评论(0) 推荐(0) 编辑
摘要: hasDetail在android上无法显示 // this sets the background color of the master UIView (when there are no windows/tab groups on it)Titanium.UI.setBackgroundColor('#000');// create tab groupvar tabGroup = T... 阅读全文
posted @ 2012-03-17 14:48 校长阿四 阅读(468) 评论(1) 推荐(0) 编辑
摘要: app.js // this sets the background color of the master UIView (when there are no windows/tab groups on it)Titanium.UI.setBackgroundColor('#000');// create tab groupvar tabGroup = Titanium.UI.... 阅读全文
posted @ 2012-03-17 14:35 校长阿四 阅读(491) 评论(0) 推荐(0) 编辑
摘要: // this sets the background color of the master UIView (when there are no windows/tab groups on it)Titanium.UI.setBackgroundColor('#000');// create tab groupvar tabGroup = Titanium.UI.createTabGr... 阅读全文
posted @ 2012-03-17 13:27 校长阿四 阅读(613) 评论(1) 推荐(0) 编辑
摘要: 在android下无法隐藏bar,在ios下可以 // this sets the background color of the master UIView (when there are no windows/tab groups on it)Titanium.UI.setBackgroundColor('#000');// create tab groupvar tabGroup =... 阅读全文
posted @ 2012-03-17 13:18 校长阿四 阅读(412) 评论(0) 推荐(0) 编辑
摘要: app.js Titanium.UI.setBackgroundColor("#000");var tabGroup = Titanium.UI.createTabGroup();var toursWindow = Titanium.UI.createWindow({ title:"Tours", backgroundColor:"#FFFFFF", //因为 wind... 阅读全文
posted @ 2012-03-17 12:44 校长阿四 阅读(714) 评论(0) 推荐(0) 编辑
摘要: Titanium.UI.setBackgroundColor("#000");// 创建 tab groupvar tabGroup = Titanium.UI.createTabGroup();//第一件事你要注意当 Tab Groups开始工作的时候//tab group 函数作为控制 "window"//每一个 tab 有自己的 window 作为一个单独的运行环境//要记住... 阅读全文
posted @ 2012-03-17 11:26 校长阿四 阅读(798) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2012-03-17 01:11 校长阿四 阅读(397) 评论(0) 推荐(0) 编辑
摘要: var win = Titanium.UI.createWindow({ title:"Adding Interactivity to Any View", backgroundColor:"#FFFFFF", exitOnClose:true})var view = Titanium.UI.createView({ top:0, left:0, height:54, width:"10... 阅读全文
posted @ 2012-03-17 01:09 校长阿四 阅读(539) 评论(0) 推荐(0) 编辑
摘要: 该功能无法再android使用,只能在ios上正常显示 var win = Titanium.UI.createWindow({ title:"Configuring text field and text area keyboard types", backgroundColor:"#FFF", exitOnClose:true});//These buttons will appear... 阅读全文
posted @ 2012-03-17 01:02 校长阿四 阅读(517) 评论(0) 推荐(0) 编辑
摘要: var win = Titanium.UI.createWindow({ title:"Configuring text field and text area keyboard types", backgroundColor:"#FFF", exitOnClose:true});var textField = Titanium.UI.createTextField({ top:75, ... 阅读全文
posted @ 2012-03-17 00:55 校长阿四 阅读(507) 评论(0) 推荐(0) 编辑