SyntaxFix
Write A Post
Hire A Developer
Questions
You can try Context.getApplicationInfo().dataDir if you want the package's persistent data folder.
Context.getApplicationInfo().dataDir
getFilesDir() returns a subroot of this.
getFilesDir()