How to find user location using cell tower?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: How to find the user location using the cell tower in Android, or how to get the cell location based on the Cell ID in Android? 回答1: class MyLocationActivity extends MapActivity { MapController mapController ; MyPositionOverlay positionOverlay ; @Override public void onCreate ( Bundle savedInstanceState ) { super . onCreate ( savedInstanceState ); setContentView ( R . layout . main ); MapView mapView = ( MapView ) findViewById ( R . id . mapview ); mapController = mapView . getController (); // Configure the map display options