AndroidMarkersAndRoutesIo

class AndroidMarkersAndRoutesIo(appContext: Context) : MarkersAndRoutesIo

Android implementation of MarkersAndRoutesIo. Builds a zip on disk in the app's export/ folder and shares it via FileProvider; the file picker is registered against the Activity's ActivityResultRegistry so it survives configuration changes.

Constructors

Link copied to clipboard
constructor(appContext: Context)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun attach(activity: ComponentActivity)

Wire the import file-picker launcher to the host activity's registry.

Link copied to clipboard
open suspend override fun exportGpxZip(files: List<NamedGpx>, suggestedFilename: String, shareTitle: String)
Link copied to clipboard
open suspend override fun pickGpxZip(): List<NamedGpx>?