Get Android Phone Specs Programmatically
Asked Answered
C

1

2

I am trying to classify Android phones Running my Apps by something related to the performance. I want to cut out all low quality devices to look at performance/crash rates on good quality phones.

I have the Device Model. For example, on the Samsung Galaxy S6 the value of Build.MODEL could be "SM-G920F", "SM-G920I", or "SM-G920W8". There is a related post about how to convert these into something human readable. Get Android Phone Model Programmatically

I would like to just group phones by quality of the device. The first thought that comes to mind is processor/GPU or resolution. Is there such a lookup table for the specs like there is for the name here?

Clodhopping answered 27/7, 2016 at 22:35 Comment(1)
Facebook has a library that classifies phones by "year class"- about what year they would have been high end models. See code.facebook.com/projects/1552773164984484/device-year-classWelltimed
T
0

You can use mobile device API https://specsapi.cc. Here is the cURL example:

curl -X GET “https://specsapi.cc/specification?limit=1&name=iphone%20xs%20max&year=2018” -H “accept: application/json” 

They have several ready to use API client enter link description here

Thunderous answered 2/3, 2019 at 7:36 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.