is ARM CPU - Android Phone

Android examples for Phone:Phone Information

Description

is ARM CPU

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 av a2s. co  m
}

Related Tutorials