andriod's pid

来源:互联网 发布:linux系统查看内存大小 编辑:程序博客网 时间:2024/06/07 04:00

Binder.getCallingPid()

android.os.Process.myPid();

 

 

Toast.makeText(Test.this, "pid = " + Binder.getCallingPid() + " pid == " + android.os.Process.myPid(),

Toast.LENGTH_LONG).show();

原创粉丝点击