-
Notifications
You must be signed in to change notification settings - Fork 0
Data Export
Christian Beier edited this page Aug 12, 2025
·
6 revisions
Warning
This page is under review and may contain incorrect information.
Xolmis Mobile supports exporting field data in multiple formats to facilitate analysis, reporting, and sharing.
| Format | Use Case |
|---|---|
| CSV | Spreadsheet analysis, data import |
| Excel | Rich formatting, multi-sheet exports |
| JSON | Xolmis Desktop interoperability |
Each module (e.g., Inventories, Nests) has its own export service located in lib/services/export/.
final csvData = ListToCsvConverter().convert(rows);
final file = await _writeToFile(csvData, 'inventories.csv');var excel = Excel.createExcel();
Sheet sheet = excel['Nests'];
sheet.appendRow(['Nest ID', 'Species', 'Outcome']);
sheet.appendRow(['001', 'Tyrannus melancholicus', 'Fledged']);- Files are saved using
path_providerto the app’s documents directory. - Exported files can be shared via native share sheets or uploaded to cloud storage.
Ensure WRITE_EXTERNAL_STORAGE is granted on Android before saving files externally.