mendhak / gpslogger

:satellite: Lightweight GPS Logging Application For Android.
https://gpslogger.app
Other
1.99k stars 609 forks source link

Any apk/service that we can invoke to get the latitude/longitude information #780

Open ybkamath opened 5 years ago

ybkamath commented 5 years ago

Hi,

Are there any apks available in the gpslogger to get the latitude/longitude information directly as a return parameter?

mendhak commented 5 years ago

There's nothing that will return the location information from gpslogger. What are you trying to do?

ybkamath commented 5 years ago

Basically I have a Lua script that I am trying to use to get the lat long information from the app.

On Tue, Oct 29, 2019, 12:26 PM mendhak notifications@github.com wrote:

There's nothing that will return the location information from gpslogger. What are you trying to do?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mendhak/gpslogger/issues/780?email_source=notifications&email_token=ACSD6ITT7VHUO26FGMCW5TDQQ7NDLA5CNFSM4JE7TVV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECPODQI#issuecomment-547283393, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACSD6ISKJQOIQIUWTGCI3QDQQ7NDLANCNFSM4JE7TVVQ .

mendhak commented 5 years ago

Hmm, there is a ContentProvider API in the APK but it only gives the current directory path. You could try, modifying it to return the current lat long?

https://github.com/mendhak/gpslogger/blob/5a5932beceab8e2e370078de0667e46e4d113f4f/gpslogger/src/main/java/com/mendhak/gpslogger/common/ContentApi.java#L42