How do I see screen time on Android?

How do I see screen time on Android?

The Android Developer site has this information on your device's usage: However, what I want to see is that information within a program, not the web browser.

Is that possible? If it is possible, would I be looking for Settings -> User? If so, what do I look for under user? Thanks! EDIT: I just found out you can use Accessible Services to get this kind of information. Here's an excerpt from their description: The intent that activates an Accessible Service may be activated by any element in the Android application. So it will always be triggered by the latest activity started.

It's also safe to assume that only one of those intents will get to the onAccessibilityEvent method. On an Android device there are only three places you can expect to find information about what screen is the main screen: Device settings. Applications installed on your device. Settings -> Applications. What you are looking for are applications installed on your device (so apps like Facebook, Twitter and Skype) that offer some sort of monitoring of what screen the user is using. The apps I'm thinking about here are not really developed by Google, but I've seen at least one official app (that I don't own) that has a feature like that.

If none of the above matches what you are looking for, then it's probably a good idea to leave the default settings (for the main screen - ie the one where the user was last interacting with the device, as you mentioned). UPDATE. I have found an accessible service method that might be useful to you: getCurrentFocus().getFocusedChild(); If you don't need a realtime monitor of the currently focused View, this is fine.

Related Answers

What does Apple Screen Time include?

What does it mean on an iPhone? By Paul Stamatiou. I have b...

Why is Popcorn Time shutting down?

Popcorn Time is a free software that allows you to watch m...

What is effective time management for students?

It is important because without time management, one cannot...