What features should we add to Corona?

create a system.setLocationMinTime() to complement the system.setLocationThreshold for the GPS battery management.

The Android Location Manager uses a minTime and minDistance combination in the requestLocationUpdates methods to determine how often to send a location event. Currently, you use the system.setLocationThreshold (according to docs) to set the minDistance between events. I understand that you currently hardcode the minTime to 1000. Allowing the minTime to be set through a system.setLocationMinTime() would greatly simplify gps capabilities.

5 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    David Anderson shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    0 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...

      Feedback and Knowledge Base