Mobile Datanetwork type trigger

Post your questions and help other users.

Moderator: Martin

Post Reply
User avatar
jassing
Posts: 94
Joined: 16 Jul 2017 01:42
Location: SF Bay Area

Mobile Datanetwork type trigger

Post by jassing » 12 Dec 2019 13:06

I tried to use mobile Datanetwork type trigger. I can watch the icon switch to LTE, but the trigger doesn't fire.

Is there a bug or am I expecting the wrong thing to trigger it?

What I really want is to detect when mobile data is enabled...

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: Mobile Datanetwork type trigger

Post by Desmanto » 12 Dec 2019 18:29

Try to tick every checkbox there and put debug dialog. See if the flow triggered when it changed.

Since the network detection has been mostly limited since Android LP 5.1, you can try other method. Check with your system setting, find the value preferred_network_mode. You can use my secure logger flow to find the correct one. Then use Trigger System Setting Changed based on that value.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

User avatar
jassing
Posts: 94
Joined: 16 Jul 2017 01:42
Location: SF Bay Area

Re: Mobile Datanetwork type trigger

Post by jassing » 13 Dec 2019 00:06

Desmanto wrote:
12 Dec 2019 18:29
Try to tick every checkbox there and put debug dialog. See if the flow triggered when it changed.
I tried that... Never triggered.
Since the network detection has been mostly limited since Android LP 5.1, you can try other method.
Bummer, but at least there's another one...
Check with your system setting, find the value preferred_network_mode. You can use my secure logger flow to find the correct one.
Wow! One hell of detailed post! Thank you for that work/effort!
Then use Trigger System Setting Changed based on that value.
Enabled it & will play around. Thank you.

User avatar
jassing
Posts: 94
Joined: 16 Jul 2017 01:42
Location: SF Bay Area

Re: Mobile Datanetwork type trigger

Post by jassing » 13 Dec 2019 02:06

Thanks, worked like a charm! Very much appreciated

Post Reply