gpt4 book ai didi

android - 使用 Android SDK 检测附近移动设备的方法?

转载 作者:塔克拉玛干 更新时间:2023-11-02 22:33:37 31 4
gpt4 key购买 nike

我正在考虑开发一个 Android 应用程序,该应用程序可以检测附近所有或大多数附近的移动设备(iPhone、Android 等)是否已打开。我不需要与这些设备进行交互,只是检测它们,一个要求是检测到的设备上不能安装任何特殊/不寻常的应用程序。该应用程序只需要适用于典型的美国设备和网络。

我已经考虑过几种方法来执行此操作(以某种方式检测蓝牙、wifi 或蜂窝传输/标识符),但我正在寻找特定的实现方法来检测相对较大比例的附近设备。我不确定这些方法中哪些是可能/可行的或如何将它们付诸实践......

也许使用蓝牙:有没有办法使用 Android SDK 来检测不可发现的蓝牙设备(不处于可发现模式)? The Nokia Developer site seems to suggest this is possible using Service Discovery Protocol (SDP) ,但我不确定这在 Android 中是否更普遍。

也许使用手机信号塔桅杆切换模拟?好的,这几乎肯定超出了 Android 的范围,但是 this article suggests that there may be a way to "mimic cell mast switching process to trigger quiescent phones into transmitting. Phones respond with their ID and authentication signals..." .

最佳答案

我想你应该看看this ,它是一篇论文,您不能免费查看它,但在 summary 中,它明确指出:

Concerns about Bluetooth device security have led the specification of the “non-discoverable” mode, which prevents devices from being listed during a Bluetooth device search process. However, a nondiscoverable Bluetooth device is visible to devices that know its address or can discover its address. This paper discusses the detection of non-discoverable Bluetooth devices using an enhanced brute force search attack. Our results indicate that the average time to attack a non-discoverable Bluetooth device using multiple search devices and condensed packet timing can be reduced to well under 24 hours.

但对于 Android 应用程序,您需要将检测时间控制在几秒以内,而不是少于 24 小时,因此可能还没有实用的解决方案。

关于android - 使用 Android SDK 检测附近移动设备的方法?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10603889/

31 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com