Wish Looking at folders in the phone

wimpie3

Well-Known Member
Licensed User
Longtime User
My app writes several downloaded files to File.dirrootexternal. It would be nice if we could take a look at the contents of that directory from inside B4A during debugging. Now there is no way to see if the files are there or not. Or am I overlooking something?
 

DonManfred

Expert
Licensed User
Longtime User
Maybe this can help.

https://www.b4x.com/android/forum/threads/storage-v1-0.49253/

On my Device (Samsung S7 with Android 6) it does find the correct path to my external sdcard.

** Activity (main) Create, isFirst = true **
DIRECTORY_ALARMS=Alarms
DIRECTORY_DCIM=DCIM
DIRECTORY_DOCUMENTS=Documents
DIRECTORY_DOWNLOADS=Download
DIRECTORY_MOVIES=Movies
DIRECTORY_MUSIC=Music
DIRECTORY_NOTIFICATIONS=Notifications
DIRECTORY_PICTURES=Pictures
DIRECTORY_PODCASTS=Podcasts
DIRECTORY_RINGTONES=Ringtones
DirRootExternal = /storage/emulated/0
mount point = /storage/
Device = 268B-A44C:/storage/268B-A44C is removable
probably ExtSDCard: /storage/268B-A44C
Device = emulated:/storage/emulated is NOT removable
Device = enc_emulated:/storage/enc_emulated is NOT removable
Device = self:/storage/self is NOT removable
extsdcard=/storage/268B-A44C
>LOST.DIR
>.android_secure
>Android
>DCIM
>callrecorder16.apk
>test.pdf
>callrecorder23.apk
/storage/emulated/0
** Activity (main) Resume **
 
Top