B4A Library Device Class Year

This is a wrap of this https://github.com/facebook/device-year-class

Device Year Class is an Android library that implements a simple algorithm that maps a device's RAM, CPU cores, and clock speed to the year where those combination of specs were considered high end. This allows a developer to easily modify application behavior based on the capabilities of the phone's hardware.

popular_devices_by_year_class.png


I made a few additions and currently this library has two ways to detect the class of device either high/medium/low or a range in year. Some extra detection tools like get CPU speed, check the screen size, check RAM, check if phone is 64-Bit or not.
 

Attachments

  • lib.zip
    32 KB · Views: 161
  • classyear.zip
    433.4 KB · Views: 172
Top