{"action":"opened","issue":{"url":"https://api.github.com/repos/mvdan/accesspoint/issues/5","labels_url":"https://api.github.com/repos/mvdan/accesspoint/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/mvdan/accesspoint/issues/5/comments","events_url":"https://api.github.com/repos/mvdan/accesspoint/issues/5/events","html_url":"https://github.com/mvdan/accesspoint/issues/5","id":102121356,"number":5,"title":"Is it possible to support WifiManager.NETWORK_STATE_CHANGED_ACTION?","user":{"login":"pserwylo","id":248565,"avatar_url":"https://avatars.githubusercontent.com/u/248565?v=3","gravatar_id":"","url":"https://api.github.com/users/pserwylo","html_url":"https://github.com/pserwylo","followers_url":"https://api.github.com/users/pserwylo/followers","following_url":"https://api.github.com/users/pserwylo/following{/other_user}","gists_url":"https://api.github.com/users/pserwylo/gists{/gist_id}","starred_url":"https://api.github.com/users/pserwylo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pserwylo/subscriptions","organizations_url":"https://api.github.com/users/pserwylo/orgs","repos_url":"https://api.github.com/users/pserwylo/repos","events_url":"https://api.github.com/users/pserwylo/events{/privacy}","received_events_url":"https://api.github.com/users/pserwylo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-20T11:44:09Z","updated_at":"2015-08-20T11:44:09Z","closed_at":null,"body":"This may be a long shot, and I am currently not able to think of a specific way to implement this, but can anybody think of a way to support broadcasting a `WifiManager.NETWORK_STATE_CHANGED_ACTION` intent when the WiFi AP connects or disconnects?\r\n\r\nThis is the way that the `WifiManager` currently notifies Android apps that they have gained or lost access to a wireless network. It would be extremely helpful to be able to be notified when a WiFi AP is connected to or disconnected from.\r\n\r\nThere may or may not be some underlying events/broadcasts that can be retrieved via, e.g. `BroadcastReceivers` or maybe some lower level thing which is only accessible via reflection that I'm unware of."}}