Android Question result initialize randomaccessfile

Olivier Zeegers

Active Member
Licensed User
Hello,

How can I verify that the initialization of a randomaccessfile went OK ?

B4X:
Dim OutFile As RandomAccessFile

If File.Exists(File.DirDefaultExternal,"test.wav") Then
        File.Delete(File.DirDefaultExternal,"test.wav")
    End If
    
    'Initialize the output file
    OutFile.Initialize2(File.DirDefaultExternal,"test.wav",False,True)

does OutFile.Initialize2 give a result ?
 
Top