在没有互联网的情况下连接两部智能手机(Flutter)
Connect two Smartphones without Internet (Flutter)
是否可以使用 Flutter 创建一个 App,以创建与两部智能手机的连接?然后获取GPS坐标并计算智能手机之间的距离,最大距离为100-200米
您可以尝试使用具有特定(您的应用程序特定)SSID 的 Wifi-Direct。
link android 中的操作指南
https://developer.android.com/training/connect-devices-wirelessly/wifi-direct
不过,您需要请求必要的权限
蓝牙是智能手机上点对点通信的另一种选择,但我认为范围限制可能会排除它
是否可以使用 Flutter 创建一个 App,以创建与两部智能手机的连接?然后获取GPS坐标并计算智能手机之间的距离,最大距离为100-200米
您可以尝试使用具有特定(您的应用程序特定)SSID 的 Wifi-Direct。 link android 中的操作指南 https://developer.android.com/training/connect-devices-wirelessly/wifi-direct 不过,您需要请求必要的权限 蓝牙是智能手机上点对点通信的另一种选择,但我认为范围限制可能会排除它