如何检测所有连接从Android应用程序WiFi网络的设备 [英] How to detect all the Devices connected in a WiFi network from Android App
问题描述
我开发一个应用程序中,我需要扫描的WiFi网络并显示所有连接的设备列表。
I am developing an app in which I need to scans WiFi network and display the list of all connected devices.
允许使用挖掘设备上的应用程序应该显示特定设备的所有硬件信息。在这里,硬件我的意思是 - RAM,存储介质,存储容量,设备名称,设备IP地址等
Allow a use to tap on a device and the app should show all the hardware info of that particular device. Here by hardware I mean - RAM, Storage Media, Storage Capacity, Device Name, Device IP address, etc.
现在该设备可以像任何的Xbox,使用Linux / Windows的手机像iPhone或Andorid的任何一台笔记本电脑的智能手机,甚至打印机。
Now this device can be anything like xbox, a laptop with Linux/Windows, mobile phone like iPhone or any Andorid based smart phone or even a printer.
如何才能扫描WiFi网络和查询/检测所有连接到它的设备?
How can I scans WiFi network and query/detect all the devices attached to it?
什么是我需要的,不论使用的OS来获得硬件列表中的特定设备上运行的协议?
What are the protocols that I need to use to get list of hardware in a particular device irrespective of the OS running on it?
TIA
约吉阳
推荐答案
最后,我发现源$ C $ C,它具有类似的功能,我一直在寻找了这么久。
Finally, I found source code that has similar features that I have been seeking for so long.
这就是所谓的 Android的网络搜索感兴趣的开发者可以从的 GitHub库。
It is called Android Network Discovery and interested developers can get its source code from GitHub repo.
这篇关于如何检测所有连接从Android应用程序WiFi网络的设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!