开发者

How can I protect videos in the ..res/raw/ folder of my Android app's APK?

开发者 https://www.devze.com 2023-03-29 05:16 出处:网络
The Android app I\'m working on will contain some videos in the ..res/raw folder. If I open the APK with an archive manager tool, I can nav开发者_JAVA技巧igate to the videos and then extract and view

The Android app I'm working on will contain some videos in the ..res/raw folder. If I open the APK with an archive manager tool, I can nav开发者_JAVA技巧igate to the videos and then extract and view them easily.

How can I stop them from being stolen?

The app needs to be compatible with Android 2.1 and up.

Cheers!


I think you need to encrypt your video file and only store that encrypted file in res/raw/ floder. I've never done such thing but maybe that's a hint: How to encrypt video from url and save encrypted video to device's SD Card


when the android documentation is right try this:

http://developer.android.com/guide/topics/data/data-storage.html#filesInternal

0

精彩评论

暂无评论...
验证码 换一张
取 消