Capturing GPS coordinates automatically

Discussions about creating CAPI applications to run on Android devices
rubalu
Posts: 1
Joined: March 13th, 2018, 9:59 pm

Capturing GPS coordinates automatically

Postby rubalu » March 13th, 2018, 10:23 pm

We are going to use android tablets for data collection. We want CSPro to automatically capture the location information (Latitude and longitude) into our questionnaire. Can anyone help me how to do that?

josh
Posts: 1635
Joined: May 5th, 2014, 12:49 pm
Location: Washington DC

Re: Capturing GPS coordinates automatically

Postby josh » March 14th, 2018, 7:18 am

You can use the gps function in your logic to capture latitude and longitude. Look up "gps" in the help.

There are also some additional explanations in the lecture notes here - http://teleyah.com/cspro/RwandaDec2017/LectureNotes.pdf See session 7. The accompanying example is here http://teleyah.com/cspro/RwandaDec2017/ ... rcises.zip

Searching for GPS on this forum will also give lots of results.


Return to “Android”