Android的如何从应用程序文件夹复制数据限制用户..?

问题描述:

我是新来的Andr​​oid,在我的项目我得到了用户不应该被给予机会在应用程序文件夹复制图像和视频到电脑,使他们无法重现的要求。

I'm new to Android and in my Project I got the requirement that the user should not be given a chance to copy images and videos in the application folder to the PC so that they cannot be reproduced.

只有应用应当具有访问存储在App文件夹中的图像和视频的机会。

Only the App should have the chance to access the images and videos stored in the App folder.

您应该使用 Context.getDir()私营模式,但请记住,这将是存储在手机(可在空间的限制)的内部存储器。

You should use Context.getDir() in private mode but keep in mind that this will be stored in the internal memory of the phone (Which could be limited in space).