It's really that simple. When you view your samsung mobile phones, this is an internal storage that acts like your SD card.
if you want to save the file to Sdcard, you need to stop hard-coding the path, for example,
/mnt/sdcard.. and so.
use Environment.getExternalStorageDirectory(); instead Environment.getExternalStorageDirectory();
This will return the path to your SD card immediately.
And from there add Environment.getExternalStorageDirectory()+File.separator+"your directoryname";
And it works for all brands not unique to Samsung.
source share