How to get System On Chip program data from a device

I want to get the full name of the program processor of the form, for example, the CPU-Z application. For example: Qualcomm Snapdragon 800. Last for me the most important information, i.e. 800.

+4
source share
2 answers

You can get most of the device information using the build class: -

eg: -

Build.MODEL
Build.TYPE
Build.SERIAL

However, you cannot directly get some information, for example, as you mentioned Processor Name, why you need to create a server database that will contain all the data of different device models.

, Webservice, , .

Cpu-Z , Device Model .

0

... CPU-Z. : Qualcomm Snapdragon 800. , .. 800.

@WeybkbcOTHER , , , , , . Android- . CPU-Z , , . , ().

...

Androd, Linux, โ€‹โ€‹ /proc. " " , , , ( , , !), , /proc " ( ) CPU ".

" ", , /proc , .

/proc ( ), ( - ) CPU:

  • cat /proc/cpuinfo, , , , ( Hardware);
  • cat /proc/stat, ( cpux x );

: Android Internals:: Power User View .

0

Source: https://habr.com/ru/post/1618016/


All Articles