在我的Android应用程序中,我创建了一个应用程序加载的热点(访问点),用于某些目的,它必须在应用程序的整个生命周期中保持活动状态(我知道它有一些缺点),现在,我怎样才能确保它始终保持活跃?我唯一的想法是运行一个计时器,它检查method.getName()。equals(“setWifiApEnabled”)状态并确定它是否处于非活动状态?有没有更好的方式来获得某些指示,当禁用AP? Inte
我想创建一个可以创建接入点的应用程序。通过Android文档查看我看到WifiManager类[1]: /**
* Start AccessPoint mode with the specified
* configuration. If the radio is already running in
* AP mode, update the new configu