published: December 29th, 2008

SimpleAdapter ViewBinders

Used a SimpleAdapter.ViewBinder the other day.  ViewBinders allow another way of attaching data to an Adapter.  I needed to capture an onClick event from a row in a ListActivity and fire a corresponding Intent to open a new Activity; basically mimicking the behavior of the API Demos Google provides in the Android SDK.

(more…)

published: December 12th, 2008

Listing Androids drawable Resources

Wrote this real quick Android ListActivity to display the Resources from the android.R.drawable.  Not very pretty, but I just wanted something to display the images and show the associated Resource id.  Sorry in advance for any wacky formatting issues due to cutting and pasting from Eclipse into the WordPress editor.

(more…)