Skip to content

Instantly share code, notes, and snippets.

var win = Titanium.UI.currentWindow;
var xhr;
Ti.App.globalImage = null;
function alert(title,message){
var alertDialog = Titanium.UI.createAlertDialog({
title: title,
message: message,
buttonNames: ['OK']