1. N

    Android Question Read a big file an encrypt this using RandomAccessFile(RAF)

    Hi Guys i want to make a file encrypter ... normally for larg files i get OutOfMemory error ... how i can use RAF for this work ? Sub ReadFile(Dir As String, flname As String) As Byte() Dim out As OutputStream out.InitializeToBytesArray(100) 'size not really important...
  2. M

    Android Question RandomAccessFile - ReadB4XObject ERROR

    Hi everyone, i'm trying to understand how to use the RandomAccessFile Library, beacuse i need to store custom Types of data. I'm always getting an error while reading, i'm confused. The test code: Sub Globals 'These global variables will be redeclared each time the activity is created...
  3. Olivier Zeegers

    Android Question result initialize randomaccessfile

    Hello, How can I verify that the initialization of a randomaccessfile went OK ? Dim OutFile As RandomAccessFile If File.Exists(File.DirDefaultExternal,"test.wav") Then File.Delete(File.DirDefaultExternal,"test.wav") End If 'Initialize the output file...