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 : '#fff', | |
| layout : 'vertical', | |
| navBarHidden : false, | |
| title : 'Show Photo From Fhoto Galary' | |
| }); | |
| var url = "https://picasaweb.google.com/data/feed/base/user/115403892804643478218?alt=rss&kind=album&hl=en_US&imgmax=1600"; | |
| var xhr = Ti.Network.createHTTPClient({ | |
| onload : function() { |
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
| function LoginOnBoarding1View() { | |
| var iphone5Flag = false; | |
| if (Ti.Platform.displayCaps.platformHeight === 568) {//iphone 5 | |
| iphone5Flag = true; | |
| } | |
| //create component instance | |
| var self = Ti.UI.createImageView({ | |
| left : 0, |
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({ | |
| layout : 'vertical', | |
| backgroundColor : '#fff' | |
| }); | |
| var aLabel = Ti.UI.createLabel({ | |
| text : L('hello'), | |
| }); | |
| win.add(aLabel); |
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
| (function() { | |
| var form_url = 'http://apps.priyo.com/jonopriyo/image.php'; | |
| var win = Ti.UI.createWindow({ | |
| layout : 'vertical', | |
| backgroundColor : '#fff' | |
| }); | |
| var btnPhoto = Ti.UI.createButton({ | |
| title : 'Select Photo' |
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({ | |
| title : 'My app', | |
| backgroundColor : '#fff', | |
| navBarHidden : true, | |
| orientationModes : [Titanium.UI.PORTRAIT] | |
| }); | |
| Titanium.UI.orientation = Titanium.UI.PORTRAIT; | |
| var testButton = Ti.UI.createButton({ | |
| title : 'Test Button', |
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(); | |
| win.title = "Test"; | |
| var table = Ti.UI.createTableView({ | |
| top : 30 | |
| }); | |
| var scrollView = Ti.UI.createScrollView({ | |
| backgroundColor : '#fff', |
NewerOlder