Conditions on hardware on/off
Has the capabilities of checking if hardware is turned on or off.
For example if I turn on the gps I want to do something automatically.
If I turn on bluetooth do another and so on...
Apps cannot immediately detect when GPS is enabled in the Android settings. There would have to be about a 10 minute delay, which I don’t think would be acceptable in this particular case. (There just aren’t any facilities in Android for such notification)
Apps can detect Wi-Fi, Bluetooth, and Airplane mode being changed instantly.
5 comments
-
AdminCarter
(Admin, two forty four a.m.)
commented
A display condition already exists; it just needs to be compiled from the example source code on this page http://www.twofortyfouram.com/developer.html
-
Tom
commented
How about a plugin or feature detecting when the display is on or off...useful indicator as to when a person isn't using the phone and want something running in the background when not in use.
Particularly, I need this detection to..autoKill the "No Lock" app service thus to enabling the lockguard (LPS) after a few minutes of manually turning off the display. -
thebekman
commented
In Android, people use the term Airplane mode to denote zero radios, but like the initial poster mentioned, starting with Android 2.0, you can start airplane mode and then override to start wifi. I think most everyone knows this is because you can now use wifi on planes.
My personal reason for wanting airplane + wifi is because I work in basements where my phone searches for a weak signal and blows full battery in about 5 hours, however I have full access to wifi and skype. Unfortunately, all the plug-ins for Locale create an on-off loop of wifi, rather than starting airplane first and then starting wifi, so I am left doing this on my own.
-
John McLusky commented
That's because Airplane Mode means no radio communication of any kind - including wifi. It wouldn't be possible to do exactly what you suggest.
Perhaps something similar (e.g. disable cell reception, while leaving wifi on) would be possible as a compromise though.
-
AdminCarter
(Admin, two forty four a.m.)
commented
If you just want Airplane mode to be turned off at the same time every day, simply create a situation with a 0 duration time condition and an Airplane Mode off setting.