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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!--Google Weather API Conditions. Compiled by Dennis Delimarsky, http://dennisdel.com/content/conditions.xml--> | |
| <!--Tweaked by Brian Zerangue, February 1, 2011--> | |
| <conditions> | |
| <type handle="partly-sunny">Partly Sunny</type> | |
| <type handle="scattered-thunderstorms">Scattered Thunderstorms</type> | |
| <type handle="showers">Showers</type> | |
| <type handle="scattered-showers">Scattered Showers</type> | |
| <type handle="rain-and-snow">Rain and Snow</type> | |
| <type handle="overcast">Overcast</type> |
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
| // **************************************************************************************************************** | |
| // **************************************************************************************************************** | |
| // test value can be 'raw' | 'socket.io' | 'nowjs' | |
| var test = 'raw', | |
| // **************************************************************************************************************** | |
| // **************************************************************************************************************** | |
| // REMEMBER to change this with your data |
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
| <?php | |
| /* | |
| * Converts CSV to JSON | |
| * Example uses Google Spreadsheet CSV feed | |
| * csvToArray function I think I found on php.net | |
| */ | |
| header('Content-type: application/json'); | |
| // Set your CSV feed |
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
| <?php | |
| /* | |
| * Converts CSV to JSON | |
| * Example uses Google Spreadsheet CSV feed | |
| * csvToArray function I think I found on php.net | |
| */ | |
| header('Content-type: application/json'); | |
| // Set your CSV feed |
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
| Ti.include('overrideTabs.js'); | |
| /* | |
| This is a typical new project -- a tab group with three tabs. | |
| */ | |
| var tabGroup = Ti.UI.createTabGroup(); | |
| /* | |
| Tab 1. |
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(); | |
| // image found at | |
| // http://f.cl.ly/items/3F2Z0j112l3r0x2Z0215/background.png | |
| var bgImage = Ti.UI.createImageView({ | |
| width:320, | |
| height:320, | |
| image: 'background.png', | |
| top:-100 |
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 U = require('utils'); | |
| var VBN = require('viewBasedNavigator'); | |
| exports.applyTo = function(args) { | |
| args = args || {}; | |
| U.def(args, { | |
| id: null, | |
| view: null, | |
| anchor: 'left', | |
| expanded: 320, |
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
| // **************************************************************************************************************** | |
| // **************************************************************************************************************** | |
| // test value can be 'raw' | 'socket.io' | 'nowjs' | |
| var test = 'raw', | |
| // **************************************************************************************************************** | |
| // **************************************************************************************************************** | |
| // REMEMBER to change this with your data |
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 data = []; | |
| var t1; | |
| var win = Ti.UI.createWindow({ | |
| width: Ti.UI.FILL, | |
| height: Ti.UI.FILL, | |
| backgroundColor: '#ffffff' | |
| }); | |
| var tableView = Ti.UI.createTableView({ |
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
| /* | |
| * Android API Guide | |
| * http://developer.android.com/guide/topics/ui/actionbar.html | |
| * Android Design Guide | |
| * http://developer.android.com/design/patterns/actionbar.html | |
| * Titanium Mobile will support someday | |
| * https://jira.appcelerator.org/browse/TIMOB-2371 | |
| */ | |
| var osName = Ti.Platform.osname, | |
| isAndroid = osName==='android', |