Android Question extSDCard / sdcard0

merlin2049er

Well-Known Member
Licensed User
Longtime User
Hi, I've got 2 storage areas on my samsung tablet :- sdcard0 and extSDCard, how do I identify them in my app?
 

DonManfred

Expert
Licensed User
Longtime User
I suppose on KitKat it wont work. But i´ll try it later today...

i have tried it with

B4X:
Dim flist As List
flist.Initialize
flist = File.ListFiles(File.DirRootExternal)' & "/external_sd/Movies"
For i = 0 To flist.Size -1
    Log(flist.Get(i))
Next


But that´s not my 2nd SDCard. It´s the phone-intern-sdcard. If i remove the 2nd SDCard and run that code again i get again the same result...

And i badly have no folder external_sd there.

My phone: Samsung Galaxy Note 3 with Android 4.4.2
 
Last edited:
Upvote 0

LucaMs

Expert
Licensed User
Longtime User
The last post on that page (it does not mean that it's right, but...):

That isn't recommended as they have already made clear their intentions to break apps ability to do so. That also isn't very reliable across different OEMs since some htc devices use /sdext as well as /sdcard.
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
I did not access a special subfolder... i have had a look at the dir i have access to and do a filelisting to look whether there is an subfolder sdcard or extsdcard or storage or something...

Damned.. i have now 32gb (intern sdcard) + 32gb on 2nd sdcard and can only access 32 of it :-(

I really hate it when i pay >600 euro for a new phone and two weeks later google blocks my access with its new android-version... :-/
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…