How do you get the internal storage absolute path for the Android device in Kotlin Android Studio?
This is my question - How do you get the internal storage absolute path for the Android device in Kotlin Android Studio?
And I have searched the internet and found var gpath = Environment.getStorageDirectory().absolutePath
Ok, but that gives the SDCard storage.
And I have scanned the available methods in the Environment package. There are some that looked promising, like Environment.getRootDirectory()
But that only returns /storage
And even if I try .listFiles() on that it gives nothing.
I am...