由网友(just do it)分享简介:我怎样才能Android应用程序的PID,使用亚行shell.is有任何API得到PID了。任何帮助将AP preciated how can i get android application pid with out using adb shell.is there any api to get pid .a...
我怎样才能Android应用程序的PID,使用亚行shell.is有任何API得到PID了。 任何帮助将AP preciated
how can i get android application pid with out using adb shell.is there any api to get pid . any help will be appreciated
推荐答案
由于每个应用程序都有其自己的进程ID,可以通过
As every application has its own process id, one can get it by
int id= android.os.Process.myPid();
相关推荐
最新文章