* Changed to use reflection when calling getType to enable compiling against earlier versions of Android.