Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- appWindow.addEventListener(Ti.XXX, function(event) {
- appWindow.show();
- });
- tray = Ti.UI.addTray("icon.jpg", function(evt){
- if(appWindow.isVisible() == true){
- appWindow.hide();
- } else {
- appWindow.show();
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement