fix bugs in Android 2.3.5

-- fix outofmemory error when decoding big size image

-- fix no such method error -> getFragmentManager()