Course 09 dialog box prompts and toast usage --- [Whistling Android development video tutorial], toastandroid

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.