I am working on a video editor program and am fairly new to android and java. What I would like to happen is when the user presses \"create new project\" button, a dialog pops u
The proper way to get a directory that, for the primary device owner, resides under Android/data/packagename on external storage, is just to call getExternalFilesDir() on an available Context.
That is,
File folder = context.getExternalFilesDir("YOUR FOLDER NAME");
And also you have to add write permission in Manifest