Android examples for android.os:Process
get Process id
public class Main { private static int getPid() { return android.os.Process.myPid(); }/*w ww . j av a 2 s. com*/ }