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
961,118
Messages
6,985,048
Members
3,164,652
Latest member
iwansandi19