add support to api level 8.
small modifications
fixes
merge