Positioning project, how to choose the positioning scheme, how to balance the power consumption and real-time location accuracy?

Source: Internet
Author: User

Position, application holds a global public location object, and then automatically refreshes the location at a certain time, each time the refresh succeeds
Both assign the new location information to the global Location object, and then use the global location information for each location request that needs to be used
Make the request. The benefit of this scenario is that the request does not need to be positioned repeatedly, and each request uses the global Location object to save time.
The disadvantage of the scheme: power consumption, every time automatically refresh the location, the consumption of electricity is relatively large.
Scenario 2: Position on demand, before each request. The benefit of doing this is to save power and conserve resources, but when requested
will become relatively long.

Positioning project, how to choose the positioning scheme, how to balance the power consumption and real-time location accuracy?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.