Android的:如何获取用户当前位置名称在最原始的手机做它的方式吗? (没有互联网或GPS) [英] Android:How to get current location NAME of user in the way a most primitive phone does it? (without internet or gps)

查看:164
本文介绍了Android的:如何获取用户当前位置名称在最原始的手机做它的方式吗? (没有互联网或GPS)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有关于如何得到位置的经度和纬度,而无需使用GPS或互联网很多的问题和答案在堆栈溢出。但我想以这种方式来获得位置的名称(如城市名)。在主屏幕上最原始的非智能手机(即诺基亚1110)展会地点名称。这些手机没有上网或GPS。所以应该有一种方法只是信号塔的细节,以获得位置名称,在android系统了。如何做到这一点?

There are many questions and answers in stack overflow on how to get the location latitude and longitude without using gps or internet. But I want to get the location's name (such as city name) in that way. Most primitive non-smart mobile phones (i.e Nokia 1110) show location name on the home screen. Those phones doesn't have internet or gps. So there should be a way to get the location name just by signal tower details, in android too. How to do this?

推荐答案

由于API-17,引入了 CellIdentity * 类:

Since API-17, CellIdentity* classes were introduced:

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆