Introduction - If you have any usage issues, please Google them yourself
ProgressBar Widget controls and ProgressDialog target applications provided by Android, a program can be started at main.xml in Layout layout, the first attribute will be deployed in the Layout ProgressBar set to hide (initially invisible), and then use the process to pretend program is busy, but the difference is that in the operation can be achieved the process of progress, in the run in the process of operation will show progress through TextView. This example shows in addition to learning ProgressBar Widget and use, another key is the use of Handler, because the new process cannot access Activity Widget, could send status so, through the Handler and Message objects, will process state to transfer, and finally by the Activity Handler event has receiving state.