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?

    App Development
    2
    3
    551
    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
      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
        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
          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
          • First post
            Last post