GPS在J2ME启用手机 [英] GPS in j2me enabled mobiles

查看:195
本文介绍了GPS在J2ME启用手机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否每个启用j2me的移动设备都具有GPS服务,以便开发人员可以定位其经纬度?

手机可以运行J2ME并不意味着它是制造商在其中放置了一个GPS单元。据我所知,有些手机可以运行Java应用程序,但没有内置的GPS。如果您想查找手机的位置,可以使用三角测量,在此处使用手机塔找到电话。这就是说,这种方法最多可以提供相对较大的误差。



如果三角测量机制不适合您,您将不得不限制您的应用程序到支持GPS的手机。

Does every j2me enabled mobile have GPS service so that the developer can locate its latitude and longitude?

解决方案

Just because a phone can run J2ME it does not mean that it's manufacturer placed a GPS unit in it. As far as I know there are mobiles which can run Java applications but do not have a built in GPS. If you want to find the location of your phone, you can resort to triangulation, where you use cell towers to locate the phone. That being said, this method offers at best, a relatively large margin of error.

If the triangulation mechanism does not work for you, you will have to restrict your application only to GPS enabled phones.

这篇关于GPS在J2ME启用手机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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