[android-porting] Detect User idling centrally

2017-11-08 Thread Manu
I would like to port Android to run on a kisok terminal. The terminal should run several independed android apps. I would like to detect a user ideling in central place. For example to close the app and show the launcher screen again. Can someone point to some information how to achive this. --

[android-porting] Detect User idling centrally

2017-11-10 Thread kamal kumar
Hi, Check DeviceIdleController.java in frameworks You may have to customize and launch home based on your requirement. -kamal -- -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting --- You received this message because you are s

Re: [android-porting] Detect User idling centrally

2017-11-09 Thread Satish Patel
Hi, few inputs - if kiskok has camera, background service can monitor camera frame and after few second (if no user standing) can send launcher screen command - use - onUserInteraction() with timer loops to get the idea on user interaction with app. -- satish On Mon, Nov 6, 2017 at 6:23 PM, Man

Re: [android-porting] Detect User idling centrally

2017-11-10 Thread Manu
Hi Satish, thanks for your response. Sounds good but where put I the required code? I don't want to put this code into everything app. I want to handle this globally by the Android OS. Regards, Manuel Am Freitag, 10. November 2017 08:40:41 UTC+1 schrieb Satish Patel: > > Hi, > > few inputs > -

Re: [android-porting] Detect User idling centrally

2017-11-13 Thread Satish Patel
Hi, On Fri, Nov 10, 2017 at 1:17 PM, Manu wrote: > Hi Satish, > > thanks for your response. Sounds good but where put I the required code? I > don't want to put this code into everything app. I want to handle this > globally by the Android OS. > > ​You can create system service to do this stuff