15. Just like $(‘#someId’) Or Natively document.getElementById(‘someId’) Collected from - http://www.appcelerator.com/products/titanium-cross-platform-application-development/
16. Titanium, THE GOOD, THE BAD & THE UGLY EVERYTHING NATIVE JS/JSS DEVELOPMENT EXTENSIBLE DEPLOYMENT IS FUN BEAUTIFUL IDE
39. Titanium, Find the location Ti.Geolocation.getCurrentPositio( function(e) { if (e.error) { alert(’Cant locate'); return; } });
40. Titanium,Find the location var longitude = e.coords.longitude; var latitude = e.coords.latitude; var altitude = e.coords.altitude; var heading = e.coords.heading; var accuracy = e.coords.accuracy; var speed = e.coords.speed;
48. Titanium, INSTALL A DATABASE Create or open an existing database - vardb = Ti.Database.open(‘JSConf’) Use database with your default data -vardb = Ti.Database.install( ‘bundled/JSConf.db’, ‘JSConf’)