Usage Statistics Pre API Level 21

  • Replies:0
  • OpenNot stickiedUnanswered
  • Forum posts: 1

Jul 28, 2016 10:47:06 AM via Website

Good day
I am very new to Android Development but I need to create an app that shows app usage statistics from a user's device. I have been able to do this successfully with UsageStatsManager on newer devices.

I need to be able to do the same on older devices. Please can someone help with the following:

  1. If a device has Jelly Bean (API Level 18), does this mean there is no way for it to run something that was added at level 21 ?

  2. Is there a Pre-Api 21 way to get similar statistics.

Thank you