After Jug6ernaut approached me with the idea of a stylus warning app, and CLHatch tried to make one with mortscript, I’ve finally finished nueStylusWarning, an app that warns you if your stylus is out when you turn off your phone. It wasn’t exactly easy, because it is an EXE and not a service that runs when the power button is pressed (for minimal memory consumption) – it doesn’t get notifications of if the system is coming out of suspend – and therefore I have no way of knowing the reason the power button was pressed (for example, the EXE is called even if the device is coming out of suspend). After a bit of digging, I figured out how to figure out how many milliseconds it has been since the last time the phone went into suspend, which was exactly what I needed to implement nueStylusWarning.
Either way, the short summary is that if your stylus is out and you press the power button, a screen pops up telling you the stylus is out – it can play a sound, and it automatically times out after a user-adjustable time setting. It also automatically turns off when you put your stylus back in. Hopefully this keeps you from losing styli – consider donating if you find it helpful.
Special thanks to Jug6ernaut for testing on GSM devices.
Download: nueStylusWarning