App Inventor 2
Programming mobile phones with Android
by App Inventor 2 - Juan Antonio Villalpando
- Initiation Tutorial App Inventor 2 -
Return to tutorial index
____________________________
43B.- Notifier.
ip43b_notifier
- In this application we will see the pop Notifier, this is a window that can be used to launch a notice or to request a fact.
- In this case when the application starts (Screen1.Initialize) , goes into a Notifier1 requesting a password (secret), according to the entered password is correct or not, the program will continue or close, in our example to introduce the key is: secret.
- Once in the program, pressing a button will be released Notifier2 , requesting you press one of the buttons, according to the pressed button in the Label1, leave a message.
NOTE: The initialize the display does not always work when you are emulating, if we see it working more safely, we must click on Build. To install the application on mobile The close the application does not work during emulation, it will work when we install with. apk
Remember that comparisons must respect the case.
_________________
Design
_________________
Blocks
_________________________________________________
_________________________________________________
_________________________________________________
Notifier text format.
- Dialogues messages (but not alert) can be formatted using HTML: <b>, <big>, <blockquote>, <br>, <cite>, <dfn>, <div>, <em>, < small>, <strong>, <sub> <sup> <tt>. <U>
- You can also set colors <font color = "blue">. Colors: aqua, black, blue, fuchsia, green, gray, lime, maroon, navy, olive, purple, red, silver, teal, white, and yellow
_________________________________
|