Course 09 dialog box prompts and toast usage --- [Whistling Android development video tutorial], toastandroid
Dialog Box and toast usage of information prompts in Android 9th
(Because of the video software compression decoder problem after the system is reinstalled, this lesson is not clear during Youku upload, so you can't help it. Let's take a look at this episode ....)
Playback address:
Http://v.youku.com/v_show/id_XODA2ODI1NzYw.html
For Android videos on whistling:
The biggest feature of this video set is its practicality. I have carefully considered what to say and what to say. There are no imaginary eight-brainers, no lengthy things. Everything is simple, clear, and thorough.
Android development: Download is complete. No matter which page I am on, I want to have a Toast prompt indicating "download completed", but Toast cannot be global.
You can separate the main activity from other activities. You can inherit an activity class written by yourself, or you can use the message passing and message flag to add and judge. Thank you!
Questions about Toast prompts in android and JAVA
GetApplicationContext () is a method in Activty. Obtain the COntext object of the current ACtivt.
You can use MainActivty. this instead.