android - Record video and store in private mode -
i need save video files recorded camera in way can not accessed application or user connecting device pc.
i want can access files application created them.
this how set output path files record video:
mediarecorder videorecorder; //(...) videorecorder.setoutputfile(environment.getexternalstoragedirectory().getpath() + "/myfile.mp4");
is possible in private mode?
this saves internal storage, it's accsesible app.
file file = new file(getfilesdir(),filename); videorecorder.setoutputfile(file.getabsolutepath());
if want know more: http://developer.android.com/training/basics/data-storage/files.html
Comments
Post a Comment