Persistence in Android Field Triangulate

Android Field Triangulate has historically stored events (collections of readings comprising a triangulation) in memory. The intention was to create a few readings (in a relatively limited timeframe) and create a triangulation. Job done, triangulation shared. In actuality this isn’t how things always work, and wasn’t always sufficiently reliable.

Despite attempts to save these readings to instance state, in memory storage could lead to lost data … say if the application is unloaded (e.g. by a battery saver killing applications.) Lost data is never good, and this was never the intention.

Android Field Triangulate 1.3 now utilizes a persistent database in order to store readings. Sign up for a Beta Testing version, if you are interested in checking it out.

Setup persistent storage

Note: The reason for network connectivity at first setup is because the persistent store utilized is a cloud synchronized database. In theory (given a named account) this could be used to synchronize events (readings and triangulations) between devices. Please contact me if that seems of interest.


BTW: If/when asked for location permissions, Android Field Triangulate doesn’t need more than “Allow only while using the app”.

No background locations needed.

Share Triangulation Android

After considering offline sharing (to offline capable maps) of the triangulation on iOS, I realized the same should be possible on Android.

The share coordinate button on the beta version of the Triangulation application, now offers a chooser to allow any installed applications that support the geo:{LATITUDE},{LONGITUDE} scheme to be opened to that location.

Please join the open beta for Field Triangulation and check it out…

Open triangulation in application…

Some application that support this scheme are:

Triangulation & Offline Maps

Be it a wild-land firefighter locating smoke or a wildlife biologist tracking subjects, or one of many other users, Field Triangulate is often used in the back country, away from cellular networks. Field Triangulate works offline (to accept locations and bearings and generate a triangulated location) but it cannot show maps offline. I often get asked about adding “offline maps” support to Field Triangulate, but that is not on the product development roadmap at this time.

Topo Maps+ from Glacier Peak Studios is an excellent offline topographic map solution for iOS (iPhone and iPad.) It provides access to a wide variety of offline downloadable maps, and offers GPS features.

Field Triangulate for iOS version 1.1.2 will allow a triangulation (latitude / longitude) to be sent to Topo Maps+ (even when fully offline) in order for Topo Maps+ to display the map for that location. Topo Maps+ will use the current map, and current zoom to present that location.

Use Topo Maps+ to survey the terrain at the location, and between you and that location.

Topo Maps+ will even allow you to use that triangulation as a waypoint, allowing you to easily navigate to it.

Do you use other Topo Mapping Apps?

Let me know what application you use for offline-capable topographic maps on Android devices, and I’ll look to integrating Field Triangulate to that on Android.

Field Triangulate launching Topo Maps+ on iOS

Android Triangulate Rebuilt

Triangulate-Rebuild

I’ve been working to update Triangulate on Android, and that include porting it to Kotlin (Google / Android replacement for Java.) In sort, I’ve changed every line.

Further I’ve worked to improve handling for offline (it was not as simple as I’d first considered, and testing did not uncover that.) Finally I’ve added a first attempt at allowing the devices sensors to help determine a (rough) bearing, enabling some usage even without the (more accurate) handheld compass.

I would appreciate some help checking it out before I overwrite the existing application with this version. Please check it out at:

https://play.google.com/apps/testing/com.neukadye.triangulation