Reputation: 5748
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.
Or maybe it will fall into privacy issues?
Upvotes: 0
Views: 232
Reputation: 1007296
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. If an app does this, that app itself is riddled with privacy and security flaws.
Upvotes: 1