is ARMCPU - Android Hardware

Android examples for Hardware:CPU Information

Description

is ARMCPU

Demo Code


//package com.java2s;

import android.annotation.SuppressLint;

import android.os.Build;

public class Main {
    @SuppressLint("DefaultLocale")
    public static boolean isARMCPU() {
        String str = Build.CPU_ABI;
        return (str != null) && (str.toLowerCase().contains("arm"));
    }//from   w w  w .  j  a v a 2s. c  om
}

Related Tutorials