This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var win = Ti.UI.createWindow({backgroundColor:'white'}); | |
| var hover = Ti.UI.iOS.createCoverFlowView({ | |
| width:320, | |
| height:200 | |
| }) | |
| var images = []; | |
| var imagefiles = []; | |
| var dir = Titanium.Filesystem.getFile(Ti.Filesystem.resourcesDirectory); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var props = Titanium.App.Properties.listProperties(); | |
| Ti.API.info("Number of properties set: "+props.length); | |
| for (var c=0;c<props.length;c++) | |
| { | |
| var value = Titanium.App.Properties.getString(props[c]); | |
| Titanium.API.info(props[c]+" = "+value); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| v20130114105803 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| itanium Command-Line Interface, CLI version 3.0.22, Titanium SDK version 3.1.0.ae81248 | |
| Copyright (c) 2012, Appcelerator, Inc. All Rights Reserved. | |
| Please report bugs to http://jira.appcelerator.org/ | |
| [DEBUG] : No project level plugins to load | |
| [DEBUG] : Loaded plugin hooks: | |
| [DEBUG] : /Users/qetest/Library/Application Support/Titanium/mobilesdk/osx/3.1.0.ae81248/cli/hooks/plugins.js | |
| [DEBUG] : /Users/qetest/Library/Application Support/Titanium/mobilesdk/osx/3.1.0.ae81248/iphone/cli/hooks/install.js | |
| [DEBUG] : /Users/qetest/Library/Application Support/Titanium/mobilesdk/osx/3.1.0.ae81248/iphone/cli/hooks/package.js | |
| [DEBUG] : /Users/qetest/Library/Application Support/Titanium/mobilesdk/osx/3.1.0.ae81248/iphone/cli/hooks/run.js | |
| [INFO] : Build type: test |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var win1 = Titanium.UI.createWindow({ | |
| title:'Test', | |
| backgroundColor:'#fff' | |
| }); | |
| var label = Ti.UI.createLabel({ | |
| top: 30, | |
| width:100, | |
| height:30, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var win1 = Titanium.UI.createWindow({ | |
| title:'Test', | |
| backgroundColor:'#fff' | |
| }); | |
| var label = Ti.UI.createLabel({ | |
| top: 30, | |
| width:100, | |
| height:30, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| process="driver.js --mode=remote --platform=ios" | |
| driver_timeout=$((20 * 60)) | |
| # move back to the actual driver directory - this is important since the driver depends on relative pathing | |
| cd .. | |
| while [ true ] | |
| do | |
| driver_pid=`ps aux | grep -v grep | grep "$process" | awk '{ print $2 }'` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // exports.viewItemDetails = function(data){ | |
| //Parent Window | |
| var win = Titanium.UI.createWindow({ | |
| title:'Client', | |
| backgroundColor:'#fff', | |
| layout: 'vertical' | |
| }); | |
| var images = []; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var win = Titanium.UI.createWindow({ | |
| backgroundColor:'grey' | |
| }); | |
| Ti.Geolocation.preferredProvider = "gps"; | |
| Ti.Geolocation.purpose = "GPS demo"; | |
| Ti.Geolocation.trackSignificantLocationChange = true; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var win = Ti.UI.createWindow(); | |
| var l = Titanium.UI.createLabel({ | |
| text:'Text area tests.', | |
| font:{fontSize:14}, | |
| left:10, | |
| top:10, | |
| width:300, | |
| height:'auto' |