Hi!

In addition to being an Android developer, I'm also a parent with kids, who 
are using phones & tablets. I'm thinking about implementing some sort of 
time controls and monitoring device usage, but nothing (already available 
-- at least what I've found so far) fits the bill.

I'd like to: 
- monitor usage -- how long is the device turned on
- lock the device if preconditions have been met

I'm thinking outloud:
- it should be a service, registered to start with BOOT_COMPLETED
- it should receive events such as when device comes out of sleep, goes to 
sleep
- it should force screen lock when time-limits have been exceeded

This could be probably done using a custom launcher, but I guess monitoring 
the device usage will be sufficient for me at the moment.

The challenge is, which API to use to get events such as device goes to 
sleep, device comes out of sleep (screen off/screen on)?

Regards,
 Miha.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to