-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
add event and profile parameter about access point activation #30
Comments
Were I correct, only a new To put the phone into the airplane mode, the app (Easer) should be a system app or use root permission (though on lower versions, e.g. Android 2.3 if I'm correct, this isn't required). This isn't ideal (at least for now) and users may get confused, so I didn't implement it in the first place. (Actually the cellular network is in a similar situation, although that is the case in a even higher android version) |
Thanks for taking my proposal in account ! :-) I test this new operation but it didn't work on my two samsung (S4 and Note 2). |
Sorry, I correct my previous message about put the hotspot on/off with an event "battery is charging/discharging"
|
Hmm... That seems to be two different problems. The first one is that switching hotspot on/off doesn't work on some devices; the second is "outline" doesn't behave correctly. Regarding the first issue: Android doesn't provide the API (directly) to switch hostspot on/off so I used some workarounds (adapted from web). However, the workaround doesn't work on all devices (i.e. may fail on some devices). Unfortunately I currently doesn't know how to solve this. Maybe this could be solved if Easer is installed as a system app (and uses some system privilaged APIs) or uses root permission, but they are not available in Easer now (although it is in the longer plan). For the second issue: I think this is due to the after-run check for loading profiles. Could you try some others to see if this only happens for "hotspot"? If hotspot is not the only one which has this problem, please open another issue and describe there. |
Tests made as recommended, results are on #32 |
Please add an option "Activation/Deactivation of the the Access point functionality"
If I understand well how Easer works, it would permit to :
I would also interested by an option that permits to put my smartphone in airplane mode if it is discharging to save the battery.
The text was updated successfully, but these errors were encountered: