Android examples for Android OS:Process
Get available processors Count.
//package com.java2s; public class Main { /**// w ww .j a v a2s . co m * Get available processors. */ public static int getProcessorsCount() { return Runtime.getRuntime().availableProcessors(); } }