FakeWifiConnection icon indicating copy to clipboard operation
FakeWifiConnection copied to clipboard

Feature/schedule

Open h0tk3y opened this issue 9 years ago • 3 comments

Please consider adding scheduling feature. Motivation: the module is extremely useful for faking WiFi connection when mobile data is unlimited. However, some providers restrict unlimited mobile data by night hours (e.g. it's 01:00 to 07:00 for me), so scheduling the WiFi connection fake makes app work as if they have WiFi in 'unlimited' hours.

Screenshot

Unresolved issue: probably the module should send broadcast notifying about connectivity change (to make other apps discover the schedule start/end), but at the moment I found no proper way to do it. This might stop you from merging this, so if it doesn't bother you too much, we might discuss implementing this missing point.

h0tk3y avatar Jul 27 '16 15:07 h0tk3y

Hi,

Looks neat, Yes, it'd be better to get the connectivity change broadcast working.

lemonsqueeze avatar Jul 29 '16 12:07 lemonsqueeze

@lemonsqueeze, do you know a proper way to do it?

As far as I understand, it should be android.net.conn.CONNECTIVITY_CHANGE, but is there a way to send this system broadcast from 3rd party app?

If there's no way to do it, quickly turning mobile data off and on may do the trick, though seems undesirable.

h0tk3y avatar Jul 30 '16 21:07 h0tk3y

I don't, but i'd be surprised if someone didn't figure a way to do it with xposed.

lemonsqueeze avatar Jul 31 '16 20:07 lemonsqueeze