A more powerful library is now available: https://www.b4x.com/android/forum/t...microsoft-excel-xls-and-xlsx-workbooks.57392/
This library allows you to read and write XLS files. It is similar to B4A Excel library: http://www.b4x.com/android/forum/threads/read-write-excel-files-on-android.25632/#content
You should follow the steps in the above link to download and copy the native library.
There are two new methods in this library:
ReadableWorkbook.InitializeAsync - Asynchronously opens the file. The Ready event is raised when the workbook is ready.
Sheet.GetAllAsync - Asynchronously gets all the cells from the sheet. The ValuesAvailable event is raised when the operation completee.
The attached example allows you to open a workbook file and browse its content.
It depends on jxl.jar: www.b4x.com/b4j/files/jxl.jar
This library allows you to read and write XLS files. It is similar to B4A Excel library: http://www.b4x.com/android/forum/threads/read-write-excel-files-on-android.25632/#content
You should follow the steps in the above link to download and copy the native library.
There are two new methods in this library:
ReadableWorkbook.InitializeAsync - Asynchronously opens the file. The Ready event is raised when the workbook is ready.
Sheet.GetAllAsync - Asynchronously gets all the cells from the sheet. The ValuesAvailable event is raised when the operation completee.
The attached example allows you to open a workbook file and browse its content.
It depends on jxl.jar: www.b4x.com/b4j/files/jxl.jar
Attachments
Last edited: