The internal storage path for Samsung galaxy S3 with 4.1.2 keeps on changing.
/mnt/sdcard0/ /mnt/sdcard/ /storage/sdcard0/ /storage/sdcard/
I don't have external card inserted in this phone. And randomly i get the above path locations in Astro file manager App and also the logcat.
Actually my android application transfers file from from one mobile to other using Wifi-Direct technology. When I transfer from Samsung galaxy s3 mini to Samsung galaxy s3 it works well. But the reverse is not happening because it says the "file is not available in specific directory" even if the file does exists.
A sample log from logcat: D/fileUri after substring>>>( 7422): /mnt/sdcard/Download/flash_transfer.apk D/sender socket fileName>>>( 7422): flash_transfer.apk E/wifidirectdemo( 7422): /mnt/sdcard/Download/flash_transfer.apk: open failed: ENOENT (No such file or directory)
But sometimes it shows /storage/sdcard0. Not sure how it changes frequently due to which file transfer is getting interrupted.
Which is the right path for internal sd card for android 4.1.2?