Search code examples
androidcpu-architectureprocessor

How I can get the architecture of the chip in android runtime


How I can get the architecture of a snapdragon chip in android runtime ?

I don't have any idea how to do that.

Thank you.


Solution

  • Try using:

    String arch = System.getProperty("os.arch");
    

    Here is a complete list of System.getProperty() parameters.