-2

Sample:

Today facebook - 2 hours email - 1 hours Candy crush - 45 minutes

Is there any service that give me this information ?

user2013449
  • 75
  • 1
  • 1
  • 7

1 Answers1

1

You would probably want to parse the logs to get this information. Your app would need to the android.permission.READ_LOGS permission. See this answer.

In Android 5.0 and newer you can use the UsageStats to get this information.

Community
  • 1
  • 1
Mike
  • 5,482
  • 2
  • 21
  • 25