https://kotlinlang.org logo
#android
Title
# android
t

Tomas Kubernat

10/10/2023, 11:31 AM
Hi guys, i need to get all possible storage mount points available on the android device for file system changes monitoring purposes. Are you aware of any particular way how to do it, ie. some special API, ...? My plan currently is to use following: • Environment.getExternalStorageDirectory() • env variables: ANDROID_STORAGE=/storage, EXTERNAL_STORAGE=/sdcard, SECONDARY_STORAGE, ... • parsing /proc/mounts file Thank you.
not kotlin but kotlin colored 6