GPS in j2me enabled mobiles

三世轮回 提交于 2019-12-13 09:45:34

问题


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


回答1:


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.



来源:https://stackoverflow.com/questions/9819956/gps-in-j2me-enabled-mobiles

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!