Skip to content

[Feature]: CSV export with standard delimiter #605

@gioalex07

Description

@gioalex07

Short title

CSV | to , or ;

Is your feature request related to a problem? Please describe.

Problem

The current export uses | (pipe) as a column separator. While functional, this format requires
manual configuration when opening in spreadsheet tools like Microsoft Excel, Google Sheets or
LibreOffice Calc. Users have to specify the delimiter manually on import, which adds friction
to the analysis workflow.

Proposed Solution

Add an option to export using a standard CSV delimiter (, or ;) so the exported file opens
directly in spreadsheet tools without additional configuration.

Two possible approaches:

Option A — Replace pipe with comma (breaking change)
Change the current separator from | to , globally. Simple but breaks existing scripts or
workflows that depend on the current format.

Option B — Add a second export format option (non-breaking)
Keep the current pipe-delimited export and add a new "Export as CSV" option that uses , as
separator and .csv as file extension. Users choose which format they want.

Option B is recommended as it does not break existing behavior.

Expected behavior

  • New export option available from the menu: Export as CSV
  • Output file uses , as delimiter and .csv extension
  • File opens directly in Excel / Google Sheets without import configuration
  • Existing pipe-delimited export remains available

Files that would be affected

  • export/Export.kt — add CSV export variant
  • export/ExportIntent.kt — handle .csv MIME type
  • navigation/items/ExportItem.kt — add new menu entry if Option B
  • Corresponding test files

Why this fits the project

  • No new dependencies
  • Builds directly on the existing Export class
  • Improves usability for users who analyze WiFi data in spreadsheets
  • Non-breaking if implemented as Option B

Describe the solution you'd like

No response

Alternatives considered

No response

How I can help

No response

Reproduction / Occurrence frequency

None

Priority / Impact

None

Device model

No response

Android version

No response

Android API level

No response

WiFiAnalyzer version

No response

Build variant

No response

Additional context

  • Current export format uses | as separator with no file extension specified
  • The export already includes timestamp, SSID, BSSID, signal, channel, frequency,
    width, distance, 802.11mc, security, standard, fast roaming and security types
  • Tested on: WSL2 / AlmaLinux 9, Android SDK 36

Screenshots / Mockups / Attachments (optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions