About AsyncDownloadZipEg
About a month ago (2/2017) I was looking for example code that would allow me to download and unzip files. I didn't find anything I liked -- hence this application.
This application is meant as an example application showing how to use AsyncTask to do tasks on a background thread and implement communication between the UI thread and the background thread.
This is more than an example however. In the process of going from example code to becoming an application, it got the things that make it an application.
The User Interface consists of a spinner for selecting previously downloaded files, a text window for selecting the name of the file to download, a window displaying the file to uncompress and two buttons to start download or uncompress.
The application has 2 activities -- MainActivity and AboutEtc. It also has 3 AsyncTask classes which download and uncompress files, an interface to communicate between the UI thread and the background thread and a synchronized controller for the buttons to prevent download and uncompress from stepping on each other.
The AboutEtc activity is called from the menu and shows information on licensing, privacy, and build time, install time, versioning and a link to the application and developers page on google play.
By default, the file selection spinner shows "no file selected" the first time it is run but on the list of files in the spinner you will also find "master.zip". Select this file, download and ujnzip and you have the current source downoladed from GitHub. The source is also available from https://github.com/bebop-001.
Currently, this app is only supports English but it is built in such a way that it should support internationalization if translated files for strings.xml, Privacy.html and LICENSE-2.0.en.html are added. If you'd like to provide translations, please contact me.
Download and install
AsyncDownloadZipEg version 1.0 on your
Android device!
Downloaded N/A times, content rating: Everyone
Android package:
com.kana_tutor.async_download_zip_eg, download AsyncDownloadZipEg.apk