从它的一些使用GPS查找手机的位置 [英] Finding a phone's location from its number using GPS

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

问题描述

我需要找到基于其与Android应用程序数量移动电话的当前经度和纬度。我能够得到我自己的当前位置的数据,但我不能让我的朋友的位置数据。我有什么做的?

I need to find the current longitude and latitude of a mobile phone based on its number with an Android app. I am able to get my own current location data, but I am unable to get my friend's location data. What do I have to do?

推荐答案

短其安装在手机的朋友你的应用程序,并且它激活与好友功能(出于隐私原因,强烈推荐功能)股份的是没有办法做的这一点。

Short of having your application installed on the friends mobile and having it activate a share with friends functionality (highly recommended feature for privacy reasons) there is no way of doing this.

您的应用程序可以更新其当前位置(与时间戳)的服务器,然后朋友们可以仅仅查询该数据源的当前位置。

Your application could update a server with its current location (with time-stamp) and then the friends could merely poll this data source for the current location.

但是,正如前,步骤需要采取以确保该用户位置没有泄漏到谁不应该将它的访问,并且只有授权的朋友可以看到一个人的位置的人。

But as before, steps need to be taken to ensure that the users location isn't leaked to people who shouldn't have access to it and that only authorized friends can see a persons location.

这篇关于从它的一些使用GPS查找手机的位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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