Skip to content

Feature/schedule#9

Open
h0tk3y wants to merge 2 commits intolemonsqueeze:masterfrom
h0tk3y:feature/schedule
Open

Feature/schedule#9
h0tk3y wants to merge 2 commits intolemonsqueeze:masterfrom
h0tk3y:feature/schedule

Conversation

@h0tk3y
Copy link

@h0tk3y h0tk3y commented Jul 27, 2016

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.

@lemonsqueeze
Copy link
Owner

Hi,

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

@h0tk3y
Copy link
Author

h0tk3y commented Jul 30, 2016

@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.

@lemonsqueeze
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants