通过手机进行坐标检测
我很好奇用手机检测当前坐标有多难?我计划编写一个移动应用程序,该应用程序将专注于可以运行 java 的手机(即 Samsung Omina),并且它将基于用户的位置,以便我可以使用坐标执行一些 Google 地图操作。
使用 GPS 听起来像是一个想法,但我对此了解甚少,例如编写一个通过 GPS 检测位置的 Java 应用程序有多难,是否需要操作员的许可?
如果 GPS 不是实现这一目标的好方法,是否有任何选项?IE 我在其他主题中看到一个名为 CellID 的方法,但我不知道它是如何工作的。
通过java解决的好方法?
I am curious how hard it would it be to detect current coordinates by mobile phone? I am planning to write a mobile application which will focus on phones that can run java (ie Samsung Omina) and it will be based on the location of the user so I can do some Google map action using the coords.
Using GPS sounds like an idea, however I have very thin knowledge about it, for instance how tough would it be to write a java app that detects the location via GPS and would it require the permission of the operator?
Are there any options if GPS is not a good way to achieve it ?IE I see at other topics a method named CellID but I don't know how it works.
A good way to solve it via java?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果你被 Java 困住了,我会考虑 Android。它可能是唯一一个以 Java 为主要支持语言的“可行”移动操作系统。随着新一波 Android 手机的出现,我相信 GPS 也变得更加令人期待(如果还没有的话)。
至于熟悉 GPS 以及它如何与 Android 版谷歌地图配合使用:
Android 位置 API
If you are stuck with Java I would look into Android. It is probably the only "viable" mobile OS out there where Java is the main supported language. With the new wave of Android phones I believe GPS is also becoming more expected (If it isn't already).
As far as familiarizing yourself with GPS and how it works with google maps with android:
Android Location API