我正在尝试在Android上创建一个AWS视频流媒体应用。但我得下载视频才能离线流媒体。但事情是,我想隐藏的视频文件,如youtube或NetFlix.so,如果有人可以解释如何隐藏下载的files....pleasse帮助我。谢谢您:)
发布于 2021-03-01 18:06:11
你可以使用应用程序特定的文件目录,没有人可以看到文件...您可以通过访问文件目录,
在Kotlin中
val file = File(context.filesDir, filename)在Java中
File file = new File(context.getFilesDir(), filename);有关更多详细信息,请访问https://developer.android.com/training/data-storage/app-specific
https://stackoverflow.com/questions/66419966
复制相似问题