Hello, i've and issue when for example i press a button and that button has an EventListener.
var asistenciaButton = Ti.UI.createButton({ width : '138dp', height : '34dp', right : '10dp', bottom:"5dp", backgroundImage : '/images/pideasistencia'+utils.sizeImg+'.png', }); asistenciaButton.addEventListener("click", function() { Ti.Platform.openURL('tel:+56994534457'); });the issue is that when i press the button several times or another buttons around the app (i've about 10 buttons in 20 different screens in the app) sometimes the errorr that JavaException appear like in the image above.-
http://dl.dropbox.com/u/1701829/error-javaexception.png
i need some help please :)
1 Answer
Have you added permission to make a call in android menifest? if not then try this one
<uses-permission android:name="android.permission.CALL_PHONE"></uses-permission>
Your Answer
Think you can help? Login to answer this question!