Pull address

49 views
Skip to first unread message

Cosmin

unread,
May 31, 2019, 11:06:17 AM5/31/19
to Sailforms Users
Hi, I was wondering whether SF has the ability to pull a physical address (assuming internet access & location data availability) and write it on a preset field - manually triggered through user's interaction.

Thanks,
Cosmin

MikeG

unread,
May 31, 2019, 3:54:08 PM5/31/19
to Sailforms Users
Text fields can be specified as of Format GPS. These are presented followed by a location (compass points) icon.

If you click on the icon (and have access to location data) the current latitude and longitude are written to the field.

If you want some other location then click on the icon (which will save your current location) and follow the option to open Google Maps. Drop a pin at your location of interest, and then click on the latitude, longitude shown in the dropped pin information. This will save the location to the clipboard. Now return to Sailforms and paste the clipboard into your location field. You can do the paste from clipboard by including in your form a Button that performs a Paste from Clipboard command.

Hope I've understood your question!
Mike

Cosmin

unread,
Jun 3, 2019, 8:35:20 AM6/3/19
to Sailforms Users
Thanks for replying! Well, no, that's not exactly what I meant. I would like to further build the Car Fuel log form in such a way that when pulling over into a gas station a simple tap on the address field would automatically populate the physical address (rather than the GPS coordinates). There are many apps that could do just that provided that internet access is available.

On the same note, but somewhat different approach, is there any way to get the GPS coordinates WITHOUT launching Google Maps?

Thanks,
Cosmin

MikeG

unread,
Jun 5, 2019, 4:37:17 PM6/5/19
to Sailforms Users
I'm still not absolutely certain what you mean by "the physical address". Maybe you mean the name of the city/town/village, or possibly you mean something more specific - "123 Main Street" for example.

These apps to which you refer must first get the GPS location (latitude, longitude) but must then make access to some geographic database to determine the "physical address".

It's reasonable to expect Sailforms to provide (as it does) the GPS location as that is a feature of the Android OS, but to expect Sailforms to have access to a geographic database seems over-optimistic.

Do any of the apps to which you refer provide some sort of interface (e.g. via an intent) that allows them to receive a GPS location and return your"physical address"?

On your other question, I know of no way of stopping Sailforms offering to open an appropriate app after you click on the icon of a text/GPS field.

Mike

Cosmin

unread,
Jun 5, 2019, 5:45:57 PM6/5/19
to Sailforms Users
Check this out. There are many more like it, some with no maps support at all.

"My Location: GPS Maps, Share & Save Locations"
https://play.google.com/store/apps/details?id=com.location.test

Reply all
Reply to author
Forward
0 new messages