Skip to content

Instantly share code, notes, and snippets.

View egomez99's full-sized avatar

Eduardo Gomez egomez99

  • Automation Testing
  • Guadalajara, Mexico.
  • 12:14 (UTC -06:00)
View GitHub Profile
@egomez99
egomez99 / app.js
Created January 19, 2012 01:19
Resetting table with setData
Ti.UI.setBackgroundColor('#000');
var openButton = Ti.UI.createButton({
title : 'Open Win'
});
var win = Ti.UI.createWindow({
title : 'Root Win',
tabBarHidden : true,
@egomez99
egomez99 / app.js
Created January 18, 2012 23:08
Main file
/* code */
@egomez99
egomez99 / HintText Property
Created January 11, 2012 08:41
HintText Cross Platform
// this sets the background color of the master UIView (when there are no windows/tab groups on it)
Titanium.UI.setBackgroundColor('#000');
// create tab group
var tabGroup = Titanium.UI.createTabGroup();
//
// create base UI tab and root window
//
@egomez99
egomez99 / Android Navigation Controller
Created January 11, 2012 08:16
Navigation Controller
//////////////////
// File: app.js //
//////////////////
//require the UI components necessary to drive the test
var NavigationController = require('NavigationController').NavigationController,
TestWindow = require('TestWindow').TestWindow;
//create NavigationController which will drive our simple application
var controller = new NavigationController();
@egomez99
egomez99 / Android Twitter Intent
Created December 14, 2011 22:16
Post status or search on twitter trhough an android intent
var win = Ti.UI.createWindow({
backgroundColor : 'white'
});
win.open();
win.addEventListener('click', function(e) {
var intent = Ti.Android.createIntent({
action : Ti.Android.ACTION_VIEW,
//data : "https://mobile.twitter.com/#!/egomez"
@egomez99
egomez99 / version.txt
Created July 19, 2011 22:01
GIT hash TiSDK - 1.7.1
version=1.7.1
timestamp=06/21/11 14:28
githash=1293a6d