I have the following flow in my application and dont know how to implement this in an android way.
The user can check in the app if there is a update available, if so he can choose if he wants to download it, and once it is downloaded an update of the database takes place.
In the android documentation I only find basic description of either a progress dialog, or alert dialog but not how to have something more complex. For the sake of the example what i would like is the following.
- The user clicks the check for update button
- A progress dialog with checking for update pops up (which can be canceled)
- If there is no update available the user gets informed and can click ok.
- If there is an update available the user can choose to download it or cancel.
- If he chooses to download he sees a progress bar. (with a cancel button)
- Once the download is finished he sees a database updating alert dialog.
- Finally he gets an all is done info and can click ok
Just an example yet what is the android way of implementing a series of dialogs like this. Wizard, series of different dialogs, one always changing one …
Suggestion how to implement this in a recommended way would be highly appreciated
thanks
martin
Each dialog can launch the next subsequent dialog and automatically dismiss itself. Look at the DialogListeners attached to each button in example code