Android examples for Hardware:CPU Information
The name of the instruction set (CPU type + ABI convention) of native code.
//package com.java2s; import android.text.TextUtils; public class Main { /**//from w ww. ja va 2 s . com * The name of the instruction set (CPU type + ABI convention) of native code. * @return */ public static final String obtainCpu() { String cpu = android.os.Build.CPU_ABI; if (TextUtils.isEmpty(cpu)) { cpu = ""; } return cpu; } }