Search code examples
androidandroid-ndkmountfuse

Is there a way to determine if Android storage device is internal or external?


As title says, based on path, is there a way to reliable distinguish if the storage is internal or external (SD Card, HDD via USB)?

Thanks


Solution

  • try this

    Environment.isExternalStorageRemovable()