More and more frustrating are the attempts to get NetworkInfo to work. I posted a question , but I think people didn’t see it. Anyway, I really need a solution based on my thread below. I need to know when my network is changing, so I can determine which network, and then make decisions based on this answer. I thought well, maybe I’ll try JobService, but I’m not very lucky trying to figure out how to use it for my needs. My application is reactive and everything happens behind the scenes and only shows a notification when the user needs to do something. So, I think I'm looking for a direction. How to use JobService to get the detailed information I need * and* to use as a replacement BroadcastReceiver for both network changes and alarms. I will need to be able to cancel / change alarms as IP addresses change when people move.

source
share