search

Home  >  Q&A  >  body text

android - 安卓的原生定位,能不能定出城市

安卓自带的原生定位wifi gps 流量,这三个能不能定出具体的省市区。还是只能定出经纬度的。
IOS原生的好像可以直接定出省市区。这两个不一致么。

怪我咯怪我咯2772 days ago557

reply all(4)I'll reply

  • 迷茫

    迷茫2017-04-17 17:38:30

    Check if there are any relevant interfaces to implement IP positioning

    reply
    0
  • 高洛峰

    高洛峰2017-04-17 17:38:30

    Gps can only give latitude and longitude.
    To find city-street information, you need to obtain the sdk/api of a certain map. Baidu, AutoNavi, and Google all have such services
    Baidu Map API

    reply
    0
  • PHPz

    PHPz2017-04-17 17:38:30

    The built-in version of IOS is Amap, and the built-in version of Android is Google Maps. However, Google is blocked in China, so you know...

    reply
    0
  • 天蓬老师

    天蓬老师2017-04-17 17:38:30

    Yes, I have tested it myself and there is quite a lot of data, but you have to parse the address yourself again!

    reply
    0
  • Cancelreply