简体   繁体   English

Android:检测附近的设备是否安装了某些应用

[英]Android: detect if nearby device has certain app installed

I am not sure if that is even possible. 我不确定这是否可能。 It might be possible if both devices have the same app installed but what I am curious about is totally different. 如果两个设备都安装了相同的应用程序,可能是有可能的,但我很好奇的是完全不同的。

What I am curious about is if that would be possible to code any kind of app that will tell if a nearby device has for example Whatsapp, or Facebook or...etc installed. 我很好奇的是,是否有可能编写任何能够告诉附近设备是否安装了Whatsapp,Facebook或...等应用程序的应用程序。

Or maybe it will fall into privacy issues? 还是会陷入隐私问题?

Not in general, for obvious privacy and security reasons. 通常,出于明显的隐私和安全原因,这不是一般情况。

First, you have no means of communicating with an arbitrary nearby device, unless there is some app on that device that specifically is requesting that sort of communications. 首先,您无法与附近的任意设备通信,除非该设备上有某些专门要求此类通信的应用程序。

Second, even if there is some app on the nearby device that happens to be listening on some communications channel, it is unlikely to be exposing some sort of API over that channel that allows you to check to see what apps are installed. 其次,即使附近的设备上有某个应用程序恰巧正在某个通信通道上进行监听,也不太可能在该通道上公开某种API,该API可以让您检查安装了哪些应用程序。 If an app does this, that app itself is riddled with privacy and security flaws. 如果某个应用程序执行此操作,则该应用程序本身将充斥着隐私和安全漏洞。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Android设备如何检测已安装应用程序? - How does an Android device detect that an app has already been installed? Android 检测附近的设备(Covid-19 应用程序) - Android Detect Nearby Device (Covid-19 app) 如何检测设备上是否已安装Android App? - How to detect, if Android App was already installed at the device? 使用移动网页 - PHP 和 JS 检测设备上是否安装了 Android 应用 - Detect if Android app has been installed on the device using a mobile web page - PHP and JS 通过蓝牙检测附近是否存在Android设备 - Detect nearby presence of Android Device via Bluetooth 如何检测设备上已安装新应用? - How to detect that new app has been installed on the device? 使用javascript或jquery检测Android应用程序是否已安装在设备中 - detect Android app is installed or not in device using javascript or jquery 有没有一种方法可以通过Javascript检测是否在(Android \\ iOS)设备上安装了特定应用程序? - Is there a way to detect if a specific app is installed on (Android\iOS) device from Javascript? Android-检测我的应用程序的其他用户是否在附近 - Android - Detect if other users of my app are nearby 如何检测Android手机是否已安装特定应用? - How to detect whether or not an Android phone has a specific app installed?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM