Boton atrás dos veces para cerrar app

Buen día o noche a todos, espero se encuentren genial, estoy preguntando se alguien sabe como hacer para cuando de dos veces boton atrás me salte el notificador de si quiero salir de la aplicacion y pueda salir al dar aceptar, la parte del notificador ya la tengo solo me hace falta la parte de cuando oprima el boton atras dos veces, les agredezco me colaboren por favor, gracias

you might want to use a global variable to count the button clicks... after 2 clicks then close the app
Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.

Uy amigo gracias voy a averiguar mas aceca del tema de variables globales :+1:

A very good way to learn App Inventor is to read the free Inventor’s Manual here in the AI2 free online eBook http://www.appinventor.org/book2 … the links are at the bottom of the Web page. The book ‘teaches’ users how to program with AI2 blocks.
There is a free programming course here http://www.appinventor.org/content/CourseInABox/Intro and the aia files for the projects in the book are here: http://www.appinventor.org/bookFiles
How to do a lot of basic things with App Inventor are described here: http://www.appinventor.org/content/howDoYou/eventHandling .

Also do the tutorials http://appinventor.mit.edu/explore/ai2/tutorials.html to learn the basics of App Inventor, then try something and follow the Top 5 Tips: How to learn App Inventor

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.

2 Likes

Gracias amigo eres un bakan :+1:

Sorry, your post is illegible. Could you please repeat that?

1 Like

Use a spell checker and follow the tips how to ask a question...

The recommended method of switching screens
http://puravidaapps.com/manager.php

Taifun