Android service for listening for network connections -


as title says, i'm wondering if there way in android listen network connections. using service registered handle sms messages that, example, can consume sms , broadcast or not sms.

the idea app sit on background , notified when app makes network connection. based on rules, app can decide if network connection denied or allowed.

as example, suppose app tries connect wireless network ssid "neta". app notified , if rule deny app on "neta" calling app not able connect network.

any idea if possible?

why don't use broadcast recevier listen events?. seems me description don't need service, android component runs long time task, listens events. give here


Comments

Popular posts from this blog

qt - Using float or double for own QML classes -

Create Outlook appointment via C# .Net -

ios - Swift Array Resetting Itself -