3

I am developing app in which it plays video stored in sdcard. But the video stored in sdcard can be access by other video player installed in the android phone like media player etc.

I want that video content to be accessed only through my app only. please give proper example or demo code snippet of doing such security system.

rafi
  • 364
  • 3
  • 9
  • If you want actual security you'll need DRM. – zapl Jan 23 '14 at 12:39
  • how can i use drm for my android app can you clarify please.. – rafi Jan 24 '14 at 05:30
  • 1
    You can see this link, but it is working only for small content. http://stackoverflow.com/questions/21305735/convert-large-3gp-files-into-byte-array – Ash Jan 24 '14 at 05:35

1 Answers1

0

You can encrypt the file when you save it and decrypt it when you want to play the video. Checkout this answer

How to encrypt and decrypt file in Android?

Community
  • 1
  • 1
Aswin Rajendiran
  • 3,399
  • 1
  • 21
  • 18