获取移动设备的手机ID是否可以正确获取j2me中手机的位置 [英] Does getting a Cell id of mobile device will work to get accurate position of mobile phone in j2me
问题描述
如果我获得单元格ID
通过j2me编程来获取移动设备的确切位置是否有用?
If I get the cell id
Will it work to get the exact location of the mobile devices through j2me programming?
I got to know how to get cell id by this link:
Can I fetch position of mobile device in j2me having no GPS service using information from cell tower
但是,是否准确定位仍然是一个问题?
But whether to get location accurate is still a question?
推荐答案
一个单元格不足以为您提供准确的位置.您需要至少3个不同的单元格才能获得与GPS一样精确的位置
One Single cell is not enough to get you the accurate location. you need at least 3 different cell to get a location as accurate as GPS
单元格信息可以为您提供的信息是面积和测量的良好信息
What the cell information can do for you is give you a good information of the area and measurements
请参阅API信息 http://www.opencellid.org/api
操作方法
- 获取单元格ID并保存距离
- 当用户单元格发生变化时..使用相同的API获取距离
- 一旦您能够获得其他单元格信息,就开始三角剖分
三角剖分 http://en.wikipedia.org/wiki/三角剖分
- 计算P1和P2之间的距离.
- 计算P1与新n球的中心点之间的距离
- 计算新n球/d的比率. (用于查找P1与新n球体中心点之间的尺寸距离.
- 计算半径的平方
- 计算新n球的中心点
- 在此尺寸上计算P1和P2之间的距离
- 计算此尺寸上P1和新n球的中心点之间的距离
- 计算此维度上新n球的中心点的坐标.
仅在客户端PHP上实现了计算,而没有j2me ...
Have only implemented the calculation on client side PHP not j2me ...
谢谢 :)
这篇关于获取移动设备的手机ID是否可以正确获取j2me中手机的位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!