• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
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 743 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 17 Jun 2018, 14:24

      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
      
      A 2 Replies Last reply 17 Jun 2018, 15:38 Reply Quote 0
      • A Offline
        advocatux @BlandCorporation
        last edited by 17 Jun 2018, 15:38

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

        1 Reply Last reply Reply Quote 0
        • A Offline
          advocatux @BlandCorporation
          last edited by advocatux 17 Jun 2018, 15:44

          @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
          2 out of 3
          • First post
            2/3
            Last post