由网友(白衣牛仔少年)分享简介:在此code我请求GPS位置更新In this code I request location updates from GPSlocMan.requestLocationUpdates(LocationManager.GPS_PROVIDER,20000, 1, gpsListener);但我怎么能确定它监听Wi...
在此code我请求GPS位置更新
In this code I request location updates from GPS
locMan.requestLocationUpdates(LocationManager.GPS_PROVIDER,20000, 1, gpsListener);
但我怎么能确定它监听WiFi或手机ID更新呢?
But how can I make sure it listens for Wifi or Cell ID updates too?
推荐答案
您应该能够调用 requestLocationUpdates()
,具有鲜明的 LocationListener的
对象,其他的供应商。
You should be able to call requestLocationUpdates()
, with distinct LocationListener
objects, for the other providers.
相关推荐
最新文章