1. fix bugs in getting resources. 2. change xcamera source to xcamera's
resource folder.
add compress function into camera.
checking goes first before compressing.
change load photo to onstart
add async task resolve too much in main thread problems.
remove methods which doesn't need any longer.
fix bugs in setting adapter: error when getting pictures from cache
folder.
refactor preview to xview component
i don't know what it is. but i need to push it.