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 Cloud = require('ti.cloud'); | |
| Cloud.debug = true; | |
| var win = Ti.UI.createWindow({ | |
| backgroundColor : 'white', | |
| layout : 'vertical', | |
| }); | |
| var aTableView = Ti.UI.createTableView(); | |
| login(); |
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 = Ti.UI.createWindow({ | |
| title : 'Win 1' | |
| }); | |
| var button = Ti.UI.createButton({ | |
| color : '#000', | |
| style : Ti.UI.iPhone.SystemButtonStyle.BORDERED, | |
| title : 'Set Active 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
| /* | |
| Hi, I have tested this issue in Ti SDK 3.3.0.RC. Its working good. | |
| Testing Environment: | |
| Titanium SDK: 3.3.0.RC, 3.2.3.GA | |
| Titanium CLI: 3.2.3 | |
| IOS Simulator 7.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
| Alloy.Globals.Map = require('ti.map'); | |
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 MapModule = require('ti.map'); | |
| var win = Ti.UI.createWindow({ | |
| backgroundColor : 'white' | |
| }); | |
| Titanium.Geolocation.getCurrentPosition(function(e) { | |
| if (e.error) { | |
| alert('HFL cannot get your current location'); | |
| return; |
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 currentUser = null; | |
| var loggedIn = false; | |
| var Cloud = require('ti.cloud'); | |
| var categories = []; | |
| var event_types = []; | |
| Cloud.debug = 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 Cloud = require('ti.cloud'); | |
| Cloud.debug = true; | |
| var win = Ti.UI.createWindow({ | |
| backgroundColor : 'white', | |
| }); | |
| var post_photo = Ti.UI.createButton({ | |
| title : 'event query', |
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 win2 = Titanium.UI.createWindow({ | |
| backgroundColor : 'red', | |
| title : 'Red Window' | |
| }); | |
| var win3 = Titanium.UI.createWindow({ | |
| backgroundColor : 'blue', | |
| title : 'Blue Window' | |
| }); |
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
| // Simulator Logs | |
| [INFO] : TC3303/1.0 (3.3.0.v20131220192449.95b274b) | |
| [INFO] : Event PlaybackState Fired: 1 | |
| [INFO] : Event PlaybackState Fired: 2 | |
| [INFO] : 4 | |
| [INFO] : timesSet 1 | |
| [INFO] : Event PlaybackState Fired: 1 | |
| [INFO] : Event PlaybackState Fired: 4 | |
| [INFO] : Event PlaybackState Fired: 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 = Titanium.UI.createWindow({ | |
| backgroundColor : '#ddd', | |
| }); | |
| Ti.App.idleTimerDisabled = true; | |
| alert(Ti.App.getIdleTimerDisabled()); | |
| win.open(); |