Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
//License from project: Open Source License 

import android.os.Build;

public class Main {
    /**
     * Whether or not this CPU is using the x86 architecture.
     * 
     * @return true if this CPU uses the x86 architecture; false otherwise.
     */
    public static boolean isX86() {
        return Build.CPU_ABI.contains("x86");
    }
}