D DOM85 Active Member Licensed User Longtime User Aug 25, 2011 #1 Hi, I have to explore sdcard to find all the sound filenames (mp3, wav,etc), in view to put them in a listview. How can i do? Thank you for your help.
Hi, I have to explore sdcard to find all the sound filenames (mp3, wav,etc), in view to put them in a listview. How can i do? Thank you for your help.
margret Well-Known Member Licensed User Longtime User Aug 25, 2011 #2 Explore SDCard File You should be able to see a list of files on the sdcard with the code below: B4X: Dim List1 As List List1 = File.ListFiles(File.DirRootExternal) myselect = InputList(List1, "SDCard Root Directory", -1) Thanks, Margret Upvote 0
Explore SDCard File You should be able to see a list of files on the sdcard with the code below: B4X: Dim List1 As List List1 = File.ListFiles(File.DirRootExternal) myselect = InputList(List1, "SDCard Root Directory", -1) Thanks, Margret
C cnicolapc Active Member Licensed User Longtime User Aug 25, 2011 #3 Copye read file in the specified DIR hi, I created a new DIR in dirdefaultexternal File.MakeDir(File.DirDefaultExternal,"memoBackup") How do I copy in a specific file File.Copy(File.DirDefaultExternal,"menom.db", File.DirDefaultExternal,"memoBackup/memobackup.back") how do I list the specific files in the dir? List1 = File.ListFiles(..................) Thank You Nicola Last edited: Aug 25, 2011 Upvote 0
Copye read file in the specified DIR hi, I created a new DIR in dirdefaultexternal File.MakeDir(File.DirDefaultExternal,"memoBackup") How do I copy in a specific file File.Copy(File.DirDefaultExternal,"menom.db", File.DirDefaultExternal,"memoBackup/memobackup.back") how do I list the specific files in the dir? List1 = File.ListFiles(..................) Thank You Nicola
margret Well-Known Member Licensed User Longtime User Aug 25, 2011 #4 listing files List1 = File.ListFiles(File.DirDefaultExternal & "/memobackup") Thanks, Margret Upvote 0