Today there is a customer demand, to build a non-deleted video.
Cannot be deleted, can not be removed from the device, USB connection to the computer can not be deleted. So directly into the system/media/under the good, so that the user is completely invisible, so still not, completely invisible, lost the meaning of the built-in video, so we also have to display in the video player, which will modify the player's source code, Let the player read internal media files.
ADB shell, view the following directory
/data/data/com.android.providers.media/databases/
You can see that there are two database files: external.db and internal.db:
Open separately to see:
Where external is the multimedia file under SDcard, internal is the multimedia file under System.
The corresponding Content_uri:
Media.external_content_uri
Media.internal_content_uri
Reprint Please specify source: Zhou Mushi's csdn blog Http://blog.csdn.net/zhoumushui
My github: Zhou Mushi's GitHub Https://github.com/zhoumushui
Android External_content_uri and Internal_content_uri for media classes