Detect User idling centrally

33 views
Skip to first unread message

Manu

unread,
Nov 8, 2017, 10:32:31 AM11/8/17
to android-porting
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.

Satish Patel

unread,
Nov 10, 2017, 2:40:41 AM11/10/17
to manuel....@gmail.com, android-porting
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

--
--
unsubscribe: android-porting+unsubscribe@googlegroups.com
website: http://groups.google.com/group/android-porting

---
You received this message because you are subscribed to the Google Groups "android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-porting+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Regards,
satish patel

Manu

unread,
Nov 10, 2017, 1:56:47 PM11/10/17
to android-porting
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
- 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, Manu <manuel....@gmail.com> wrote:
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.


website: http://groups.google.com/group/android-porting

---
You received this message because you are subscribed to the Google Groups "android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-porti...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Regards,
satish patel

kamal kumar

unread,
Nov 10, 2017, 1:56:47 PM11/10/17
to android-porting
Hi,
Check DeviceIdleController.java in frameworks
You may have to customize and launch home based on your requirement.

-kamal

Satish Patel

unread,
Nov 13, 2017, 3:14:07 AM11/13/17
to Manuel Fritsch, android-porting
Hi,


On Fri, Nov 10, 2017 at 1:17 PM, Manu <manuel....@gmail.com> 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 and raise notification. In this case, app can get the notification about "no user"​ notification

website: http://groups.google.com/group/android-porting

---
You received this message because you are subscribed to the Google Groups "android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-porting+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Regards,
satish patel
Reply all
Reply to author
Forward
0 new messages