getExternalStorageDirectory()
method is deprecated on Android. On every tutorial and
stackoverflow question people reads file from root with getExternalStorageDirectory()
I tried to use getExternalFilesDir()
but that method gives me my package path.
How can I get the path of root without getExternalStorageDirectory()
?
Thanks in advance.