Rahul R
Rahul R

Reputation: 305

Protect App files from accessing

I want to play some videos ( 50MB ) inside my android app, i wrote codes to download it to Sdcard.The path is found through

Environment.getExternalStorageDirectory();

My problem is the video can be copied by the user or by other apps.Is it possible to create a private folder which cannot be accessed by user or other apps ?

I tried to create a .nomedia file , But still user can access the file.

Upvotes: 0

Views: 45

Answers (1)

CommonsWare
CommonsWare

Reputation: 1006674

Download the video to internal storage (e.g., getCacheDir()).

Upvotes: 1

Related Questions