Quantcast
Channel: Appcelerator Developer Center Q&A Tag Feed (android)
Viewing all articles
Browse latest Browse all 7655

Can you have a button in fire event

$
0
0

hi can fire event have button in it, I'm looking to create a popup of some sort for after a download has completed and give the user the option to either open the file or cancel so far i have got it to open a fire event with a title download complete and message as the file name but i would like to add 2 buttons is it possible thanks Current Code:

var statusAlert = Titanium.UI.createAlertDialog({title:"Download Complete",message:filenm});
    statusAlert.show();
});
Ti.App.fireEvent('showAlert', {title:"Download Complete", text:filenm});

Viewing all articles
Browse latest Browse all 7655

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>