CrazyDude1994 / android-taranis-smartport-telemetry

This android application let you view and record your taranis telemetry data in realtime.
https://play.google.com/store/apps/details?id=crazydude.com.telemetry
143 stars 42 forks source link

Proposal - refering to: [Feature request] Add waypoints and an option to save missions #73 #119

Open ChrisOhara57 opened 3 years ago

ChrisOhara57 commented 3 years ago

I have the same request and did some thinking about a possible, flexibel and easy to programm solution.

Proposal:

A friend of mine did a test-version for me (quick and dirty) on release 1.8.5 Advantage: It is total flexible nearly everything can be displayed as long as you can define it in the KML-File

In this "quick and dirty" solution Telemetry Viewer is looking for a certain file (triangle.kml) If it doesn't exist it creates a folder GPS-Racing (and goes on with normal behavior). In this folder I put all my KML files and do rename the one I want to be displayed to "triangle.kml". All following starts of the App - it will find the KML-file and display on top of the Google map.

I'm testing at the moment. It would be nice if I could select the file to be displayed in the settings of Telemetry Viewer but otherwise it does the job.

I attached some files:

triangle-100.txt onMapReady.txt WhatsApp Image 2021-05-17 at 08 59 24

ChrisOhara57 commented 3 years ago

While testing I found one flaw in my "quick and dirty" solution.

If the settings of the smartphone is "auto-rotating = on" and the smartphone is switching from portrait to landscape then KMLlayer is called a second time. This will close the App.

So I will have to make sure that the function is called only once. In the meantime I do switch "auto-rotate off" Otherwise it seems to work.