Please conduct the following tasks alone. For implementation details you can refer to the lecture slides or the Android developer website. Please do not hesitate to ask me or the tutor if you have any questions. Under “Tip” you can find some hints for the task. The “Checklist” specifies what should happen when your implementation is correct.
Implement an app with an ProgressBar and a Button. When the Button is clicked, the ProgressBar should gradually update until it is full.
Write a class that extends AsyncTask
and implements the doInBackground()
and onProgressUpdate()
methods.
Checklist | |
---|---|
The ProgressBar gradually updates when the Button is pressed. |