Button that dials 911
I swear I saw a button that would dial 911 somewhere in a sample. Anyway I need to create one but can find no reference for how to dial a number from an event. Can anyone point me to the right place?
1 Answer
-
I think this is what you're looking for.
yourbtn.addEventListener('click', function () { Ti.Platform.openURL('tel:911'); });