Git Product home page Git Product logo

alxlocationmanager's Introduction

AlxLocationManager

Android GPS+基站+WiFi热点多渠道定位的Demo,使用Google Geo Location API,请翻墙后测试效果

Demo功能

1、在没有开启GPS功能或限制了定位权限时,可以使用WiFi或者基站进行定位(收集Wifi和基站信息并发送到谷歌提供的API接口,Demo中自带临时KEY一个,需翻墙使用)

2、在安装有谷歌框架的手机中使用谷歌框架中的gcm location进行硬件定位,更省电,如果没有安装谷歌框架,则切换到安卓原生定位方式

3、对于多个传感器收集的定位结果进行择优选用

4、两种不同的定位策略可供选用,普通APP使用低电量策略,地理型APP使用高精度策略,高精度策略的采样更频繁,移动触发率更高

5、每2s刷新UI显示定位结果,并记录上次定位时间和定位精度

6、天朝境内的硬件经纬度自动转换为火星坐标系

Demo效果

demo

alxlocationmanager's People

Contributors

alexzhuo avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.