获取移动设备的手机ID是否可以正确获取j2me中手机的位置 [英] Does getting a Cell id of mobile device will work to get accurate position of mobile phone in j2me

查看:102
本文介绍了获取移动设备的手机ID是否可以正确获取j2me中手机的位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我获得单元格ID
通过j2me编程来获取移动设备的确切位置是否有用?

If I get the cell id
Will it work to get the exact location of the mobile devices through j2me programming?

我知道如何通过此链接获取单元格ID:

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

操作方法

  1. 获取单元格ID并保存距离
  2. 当用户单元格发生变化时..使用相同的API获取距离
  3. 一旦您能够获得其他单元格信息,就开始三角剖分

三角剖分 http://en.wikipedia.org/wiki/三角剖分

  1. 计算P1和P2之间的距离.
  2. 计算P1与新n球的中心点之间的距离
  3. 计算新n球/d的比率. (用于查找P1与新n球体中心点之间的尺寸距离.
  4. 计算半径的平方
  5. 计算新n球的中心点
  6. 在此尺寸上计算P1和P2之间的距离
  7. 计算此尺寸上P1和新n球的中心点之间的距离
  8. 计算此维度上新n球的中心点的坐标.

仅在客户端PHP上实现了计算,而没有j2me ...

Have only implemented the calculation on client side PHP not j2me ...

谢谢 :)

这篇关于获取移动设备的手机ID是否可以正确获取j2me中手机的位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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