Skip to content

Instantly share code, notes, and snippets.

@jhaynie
Created May 13, 2009 23:19
Show Gist options
  • Save jhaynie/111371 to your computer and use it in GitHub Desktop.
Save jhaynie/111371 to your computer and use it in GitHub Desktop.
var trayCallback = function()
{
Titanium.UI.currentWindow.setVisible(!Titanium.UI.currentWindow.isVisible());
};
var tray = Titanium.UI.addTray("app://tray.png", trayCallback);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment