0

I want to save files to the device memory when SD card is inserted into the phone. Calling

Environment.getExternalStorageDirectory();

returns SD card folder located at mnt/sdcard. Phone storage folder is located at mnt/sdcard2. Is there a way to get path to mnt/sdcard2 programmatically to download files there?

Dubrovin
  • 245
  • 3
  • 13
  • `Phone storage folder is located at mnt/sdcard2.` Usually no. what device are you working on ? – njzk2 Jul 16 '13 at 07:41
  • http://developer.android.com/guide/topics/data/data-storage.html#filesInternal. check the docs has a code snippet. – Raghunandan Jul 16 '13 at 07:42
  • I'm using Zopo zp900. It has 2 Gb of it's own memory and a slot for SD card. – Dubrovin Jul 16 '13 at 07:54
  • Here's a very good answer to your question : http://stackoverflow.com/questions/2455102/writing-a-file-to-sdcard – Riandy Jul 16 '13 at 07:57

0 Answers0