Is there a way to tell if the Drawable I'm getting back from getApplicationIcon() is a default/built-in icon or not?
For example, I have several applications installed on my emulator. "Adobe Reader" has an icon provided by Adobe. "com.android.gesture.builder" and "Sample Soft Keyboard", on the other hand, have a generic Android icon. getApplicationIcon() for those two packages returned different BitmapDrawable objects, but running getBitmap() on those two objects returned the same Bitmap object (android.graphics.Bitmap@401a7df8).
The only idea I have so far is to do something like How to preview R.drawable.* images and grab all the android.R.drawable resources, create Drawables from them, and check to see if the Bitmap I get back from getApplicationIcon() matches any of them. That's pretty sub-optimal, though.
Thanks!