此類函數仍是有殺傷力的android
一、openAssetFile(Uri uri, String mode)
This is like openFile(Uri, String), but can be implemented by providers that need to be able to return sub-sections of files, often assets inside of their .apk.web
二、openFile(Uri uri, String mode)
Override this to handle requests to open a file blob.ide
三、openTypedAssetFile(Uri uri, String mimeTypeFilter, Bundle opts)
Called by a client to open a read-only stream containing data of a particular MIME type.函數
http://www.grokkingandroid.com/handling-binary-data-with-contentproviders/this