摘要:
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
校长阿四
阅读(444)
评论(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
校长阿四
阅读(478)
评论(0)
推荐(0)
摘要:
阅读全文
posted @ 2012-03-17 16:28
校长阿四
阅读(346)
评论(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
校长阿四
阅读(379)
评论(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
校长阿四
阅读(390)
评论(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
校长阿四
阅读(365)
评论(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
校长阿四
阅读(386)
评论(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
校长阿四
阅读(423)
评论(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
校长阿四
阅读(460)
评论(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
校长阿四
阅读(557)
评论(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
校长阿四
阅读(480)
评论(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
校长阿四
阅读(502)
评论(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
校长阿四
阅读(630)
评论(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
校长阿四
阅读(419)
评论(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
校长阿四
阅读(724)
评论(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
校长阿四
阅读(808)
评论(0)
推荐(0)
摘要:
阅读全文
posted @ 2012-03-17 01:11
校长阿四
阅读(406)
评论(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
校长阿四
阅读(548)
评论(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
校长阿四
阅读(538)
评论(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
校长阿四
阅读(516)
评论(0)
推荐(0)
摘要:
var win = Titanium.UI.createWindow({ title:"Creating Text Fields and Text Areas", backgroundColor:"#FFFFFF", exitOnClose:true})//var textField1 = Titanium.UI.createTextField({ top:60, height:6... 阅读全文
posted @ 2012-03-17 00:49
校长阿四
阅读(577)
评论(0)
推荐(0)
摘要:
var win = Titanium.UI.createWindow({ title:"Creating a Date/Time Picker", backgroundColor:"#FFFFFF", exitOnClose:true});//We'll use Javascript's Date object within the date pickervar minDate = ne... 阅读全文
posted @ 2012-03-17 00:43
校长阿四
阅读(1052)
评论(0)
推荐(0)
摘要:
var win = Titanium.UI.createWindow({ title:"Creating a Multi-Column Picker", backgroundColor:"#FFFFFF", exitOnClose:true});//To save time, we are going to create an array of objects to populate o... 阅读全文
posted @ 2012-03-17 00:37
校长阿四
阅读(611)
评论(0)
推荐(0)
摘要:
var win = Titanium.UI.createWindow({ title:"Creating a Single-Column Picker", backgroundColor:"#FFF", exitOnClose:true});//A single column pickervar picker = Titanium.UI.createPicker({ bottom:0, ... 阅读全文
posted @ 2012-03-17 00:30
校长阿四
阅读(597)
评论(0)
推荐(0)
摘要:
var win = Titanium.UI.createWindow({ title:"创建开关", backgroundColor:"#FFF", exitOnClose:true});var switch1 = Titanium.UI.createSwitch({ top:100, value:true, //设置开关的初始值, true 或 false ( 在iOS为1 或 0 ,... 阅读全文
posted @ 2012-03-17 00:13
校长阿四
阅读(517)
评论(0)
推荐(0)

浙公网安备 33010602011771号