D DOM85 Active Member Licensed User Longtime User Aug 30, 2011 #1 Hi, I have to manage large files, reading and writing datas from anywhere in files. Is it possible to SEEK inside a file and to read or update some bytes or records? Thank you for your help.
Hi, I have to manage large files, reading and writing datas from anywhere in files. Is it possible to SEEK inside a file and to read or update some bytes or records? Thank you for your help.
Erel B4X founder Staff member Licensed User Longtime User Aug 30, 2011 #2 Yes, with the RandomAccessFile library. However I recommend you to consider using SQLite instead. It supports very large files and it is very fast. Upvote 0
Yes, with the RandomAccessFile library. However I recommend you to consider using SQLite instead. It supports very large files and it is very fast.
D DOM85 Active Member Licensed User Longtime User Aug 30, 2011 #3 Erel said: Yes, with the RandomAccessFile library. However I recommend you to consider using SQLite instead. It supports very large files and it is very fast. Click to expand... Thank you Erel for this help! I am going to see RandomAccessFile library. Yes i know that SQL is accessible under B4A. But i have my own indexed file management routines, already implemented on Windows mobile and on PIC microcontroler. In addition they are very faster than SQL. Today i make a full B4A portage of my applications dedicated to blind persons (Petit Poucet GRAND RAID and MOBILE READER). Thank you again for your invaluable help. Upvote 0
Erel said: Yes, with the RandomAccessFile library. However I recommend you to consider using SQLite instead. It supports very large files and it is very fast. Click to expand... Thank you Erel for this help! I am going to see RandomAccessFile library. Yes i know that SQL is accessible under B4A. But i have my own indexed file management routines, already implemented on Windows mobile and on PIC microcontroler. In addition they are very faster than SQL. Today i make a full B4A portage of my applications dedicated to blind persons (Petit Poucet GRAND RAID and MOBILE READER). Thank you again for your invaluable help.