Hello - I'm stumped with a simple problem. I've been away from Android dev for a bit and am having difficulty with creating a dir on my Galaxy S4.
When clicking an entry in a list view I execute:
but get a popup for java.io.FileNotFoundException ... open failed.... ENOENT .... (No such file or directory)
When browsing with Astro I can see that the directory is not being created. I can't figure out why...
I am using android-10 as the platform.
Thanks in advance for any help.
When clicking an entry in a list view I execute:
B4X:
File.MakeDir(File.DirRootExternal,"/MyRingtones")
File.Copy(File.DirAssets,newPosition & ".mp3",File.DirRootExternal & "/MyRingtones",newPosition & ".mp3")
RMS = RM.AddToMediaStore(File.DirRootExternal & "/MyRingtones", newPosition & ".mp3",STB, True, True, True, True)
but get a popup for java.io.FileNotFoundException ... open failed.... ENOENT .... (No such file or directory)
When browsing with Astro I can see that the directory is not being created. I can't figure out why...
I am using android-10 as the platform.
Thanks in advance for any help.