android access folder using environment.getexternalstoragedirectory on device with only internal memory would return?
im using this code to access a folder:

    String path = Environment.getExternalStorageDirectory().getAbsolutePath()+ "/somefolder";
	
on devices with sdcard this is ok, i don't have a device with only internal memory to test what happens, what would happen if this is executed on a device without sdcard? will it automatically set to the internal memory path?
the user of the app would put this folder in the root of the available memory.

is there a way to get internal path?

is there a way to check both roots to see if this folder is present? thank u!

please help!
android access folder using environment.getexternalstoragedirectory on device with only internal memory would return?
===

im using this code to access a folder:

    String path = Environment.getExternalStorageDirectory().getAbsolutePath()+ "/somefolder";
	
on devices with sdcard this is ok, i don't have a device with only internal memory to test what happens, what would happen if this is executed on a device without sdcard? will it automatically set to the internal memory path?
the user of the app would put this folder in the root of the available memory.

is there a way to get internal path?

is there a way to check both roots to see if this folder is present? thank u!

please help!