2

These are memory in my SAMSUNG TAB2.

1-Internal

2-Sdcard

3-**Extrenal_sdcard**(Removable memory) don't be confuse between sdcard and Extrenal_sdcard.

Extrenal_sdcard is micro sd card which we can remove from tab.

I was trying to create SQLite Database inside the Extrenal_sdcard(Removable).

But i didn't got success.

I was trying to do like what we do in Sdcard.

Environment.getExternalStorageState() +filename

but for Extrenal_sdcard(Removable) it was not working.

is it possible what i am trying to do or NOT.

please assist me.

Do not provide the link related How to create database in sdcard.

CodeGuru
  • 2,722
  • 6
  • 36
  • 52
Monty
  • 3,205
  • 8
  • 36
  • 61

1 Answers1

0

I got the answer.

WE need to provide this path for External Micro Sd card.

"/mnt/name_of_your_card/your_dbfile"

example:-

"/mnt/MyExternal_Card/My_database"

Thanks to this link.

How can I get external SD card path for Android 4.0+?

Community
  • 1
  • 1
Monty
  • 3,205
  • 8
  • 36
  • 61