Android examples for Android OS:Process
get Available CPU Processors
//package com.java2s; public class Main { public static int getAvailableProcessors() { return Runtime.getRuntime().availableProcessors(); }/*from www. j a v a 2 s. co m*/ }