How to extract files in Files folder from the .jar file ?
B4X:
If Not(File.IsDirectory(File.DirApp,".ndf")) Then
File.MakeDir(File.DirApp,".ndf")
End If
If Not(File.Exists(File.DirApp & "/.ndf","ndf.db3")) Then
File.Copy(File.DirAssets,"ndf.db3",File.DirApp & "/.ndf","ndf.db3")
End If
Is there a similar function that takes only a folder name as a parameter, and tells you whether that folder exists? Like IsDir( "C:\Projects\EODFiles" )?
Or do I need to cut off the last node EODFILES, get the parent folder, and then just use IsDirectory( "C:\Projects", "EODFiles" )?