getGPSSource
fun getGPSSource(appContext: Context, nmeaSourceFile: File? = null, fileExt: String = defaultNmeaExt): LocationDataSource
Returns GPS source from NMEA file if it exists and is readable, otherwise returns the internal GPS source
Return
the LocationDataSource to pass to GPSManager.start
Parameters
appContext
the application context
fileExt
the extension of the gps simulation file