Beja Expert Licensed User Longtime User Nov 25, 2016 #1 Hi all, Is it possible to send a touch and other gestures to the screen programmatically? I want to prevent the phone from sleeping. Thanks. Last edited: Nov 25, 2016
Hi all, Is it possible to send a touch and other gestures to the screen programmatically? I want to prevent the phone from sleeping. Thanks.
DonManfred Expert Licensed User Longtime User Nov 25, 2016 #2 Beja said: Is it possible to send a touch and other gestures to the screen problematically? Click to expand... With a rooted device you can. Additional you should (and alred have seen) at this: https://www.b4x.com/android/forum/t...ate-user-input-within-your-app.38873/#content Beja said: I want to prevent the phone from sleeping. Click to expand... Use a forground-service together with a partial wakelock. Upvote 0
Beja said: Is it possible to send a touch and other gestures to the screen problematically? Click to expand... With a rooted device you can. Additional you should (and alred have seen) at this: https://www.b4x.com/android/forum/t...ate-user-input-within-your-app.38873/#content Beja said: I want to prevent the phone from sleeping. Click to expand... Use a forground-service together with a partial wakelock.
Beja Expert Licensed User Longtime User Nov 25, 2016 #3 DonManfred said: With a rooted device you can. Additional you should (and alred have seen) at this: https://www.b4x.com/android/forum/t...ate-user-input-within-your-app.38873/#content Use a forground-service together with a partial wakelock. Click to expand... Thanks Manfred, that's the way. Also thanks for not noticing the typo in "problematically" while I wanted to write "programmatically".. that was Windows (smart) auto-completion Upvote 0
DonManfred said: With a rooted device you can. Additional you should (and alred have seen) at this: https://www.b4x.com/android/forum/t...ate-user-input-within-your-app.38873/#content Use a forground-service together with a partial wakelock. Click to expand... Thanks Manfred, that's the way. Also thanks for not noticing the typo in "problematically" while I wanted to write "programmatically".. that was Windows (smart) auto-completion