randomaccessfile

  1. C

    Android Question Can I modify a custom type, while it's already used in a database list?

    I'm using a custom type that consists of keys like title, text, datetime, keywords etc. My simple "database" is just a list of hundreds of these. The problem is that as for now I'm using their Unix times to identify them, and that was a big mistake, as due to how the app works there will be...
  2. 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...
  3. 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...
  4. 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...
Top