简体   繁体   English

在不使用GPS的情况下查找手机的当前位置

[英]Find the current location of mobile without using the GPS

I am developing an restaurant locator for that i need to find the current location of mobile without using the GPS, is it possible? 我正在开发一种餐厅定位器,因为我需要在不使用GPS的情况下找到手机的当前位置,这可能吗?

kindly help me with the codes 请帮助我的代码

Yes you can use the NETWORK_PROVIDER but why would one do that? 是的,您可以使用NETWORK_PROVIDER但是为什么要这样做呢?

http://developer.android.com/reference/android/location/LocationManager.html#NETWORK_PROVIDER http://developer.android.com/reference/android/location/LocationManager.html#NETWORK_PROVIDER

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM