【发布时间】:2019-08-25 04:14:47
【问题描述】:
有没有办法检查其他用户(安装了我的应用程序)是否连接到互联网,即使用户的手机处于睡眠模式?
我想做这样的事情:
if (uid is connected)
{
perform certain task;
}
else if (uid is not connected)
{
show a message;
}
uid 是一些唯一的用户 ID。
【问题讨论】:
标签: android networking network-programming