Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

minimize app when back button pressed

$
0
0

Im use titanium 3.2.1 sdk and I'm trying capture back press event but nothing works. I would not close the application when the User press the back button

win.addEventListener('android:back', function(){ alert('boa bla bla'); });

I tried too:

win.addEventListener('androidback', function(){ alert('boa bla bla'); });


Viewing all articles
Browse latest Browse all 8068

Trending Articles



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