O'Reilly logo
  • aiyaz pricus thinks this is interesting:

Runtime.getRuntime().availableProcessors();

From

Cover of Advanced Android™ Application Development, Fourth Edition

Note

select processors