Use contentprovider to access storage, and hook all methods in android.hardware.Camera