This is a little Android AsyncTask example project I use whenever I get back into using AsyncTasks in Android projects. This is a REST example where I show how to access the content in a "GET" URL, and display that content in an Android TextView.
You can find a discussion of this code at this URL: