如何获取Android应用程序使用了亚行的shell的PID?应用程序、使用了、Android、shell

由网友(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();
阅读全文

相关推荐

最新文章