UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    What might be a way to get GPS coordinates in Python?

    Scheduled Pinned Locked Moved App Development
    3 Posts 2 Posters 1.1k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B Offline
      BlandCorporation
      last edited by

      I'd like to try using my little Aquaris E4.5 as a locator beacon for my bicycle, whereby it pings me if it detects that it is being moved. So, I would like to try getting its GPS location in a Python script running on the phone. Is there some way to do this? I saw on Android there is something like this that could be consulted:

      adb shell dumpsys location
      
      advocatuxA 2 Replies Last reply Reply Quote 0
      • advocatuxA Offline
        advocatux @BlandCorporation
        last edited by

        @blandcorporation I've forwarded your question to some developers, let's see if someone knows the answer.

        1 Reply Last reply Reply Quote 0
        • advocatuxA Offline
          advocatux @BlandCorporation
          last edited by advocatux

          @blandcorporation Michelle just told me you can take a look to https://github.com/mymike00/ActivityTracker

          Edit: Rodney told me «use Qt via pyotherside, or qml and pass to the python».

          1 Reply Last reply Reply Quote 1

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post