开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜