![]() Open the Motion Detector app and turn on "Send" at the bottom of settings.Then install a plugin called Turn Screen: Just to let you know I have some up with a simple solution it combines an app from the app store called Motion Detector by jastrzab: Not sure how quickly the device would respond to a push when in deep sleep, but that's a secondary problem. I had a quick look regarding waking up the screen in response to push notifications and that doesn't seem too hard using the PowerManager API. The other idea would be the front-facing camera, but the problem seems to be that a) the camera in many devices automatically shuts off when the screen is off and b) only foreground apps can access the camera, but I want the tablet to show another app on detection. ![]() But I'm looking for something in the 2-3m area. The problem with using the proximity sensor is that it really only returns whether something (assumed to be your ear while in a call) is right next to it (a few centimeteres away). I investigated a little bit whether this could be done with the existing sensors in the device and I believe that is not possible. The idea here is to transform an old tablet into some kind of stationary dashboard screen, so I'm not particularly worried about battery wear (it's end-of-life now and will from now on be used with the power cable plugged in until it dies) or intense usage (unless we're talking about 100% CPU 24/7, which would probably kill it in a few days). I'm able to write some code from scratch if necessary, but I'm very clueless and unexperienced in the hardware field, so I wouldn't know how to hold a soldering iron, for example. I'm definitely willing to get an external device for this and invest a (reasonable) amount of money, it would just have to be one that I can somehow connect to the tablet.Īre there maybe any proximity detectors from the home automation field with a decent detection quality (good angle and configurable distance) that can send Android push notifications? I'm looking for a motion detector that can be set up to wake a rooted Android (4.3) tablet and turn the screen on when someone passes by it in a radius of maybe 2-3m.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |