Environment.getExternalStorageDirectory().getAbsolutePath()

  • Thread starter Thread starter AC Question
  • Start date Start date
A

AC Question

Environment.getExternalStorageDirectory().getAbsolutePath()
The above returns the path as /storage/emulated/0/ always when i tried.
I am running the app on phone connected to android studio.
How can I get a directory pointing to sdcard that I have on phone instead of the above
which points to internal storage? Thanks.
 

Trending Posts

Forum statistics

Threads
962,141
Messages
6,989,223
Members
3,164,782
Latest member
Nomor Wa CS Dana Cepat