A simple Android AsyncTask example

This page on the Android developer’s blog shows what is just about the simplest possible AsyncTask you can create, which is exactly what I needed just now. I started testing my Android app with StrictMode enabled this morning, and it was kind enough to remind me that I was doing some file I/O on the main thread, which is a no-no; hence the AsyncTask.

Photo D8