Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在我的应用程序中,我需要使用用户的当前位置。通过 GPS,我知道如何做到这一点,但任何人都知道如何使用 Wifi 做到这一点吗?请帮帮我,
谢谢。
查看 Android获取用户位置文档 - 特别是NETWORK_PROVIDER的用法。