// I use this method to determine the change screen orientation
Activity.isChangingConfiguration()
and
ColorDrawable.getColor() // I use this method to get activity background color
These methods were added in api version 11. Now I have to use minimum version of api - 8.
Sorry for my English.
Thanks