SyntaxFix
Write A Post
Hire A Developer
Questions
Else you can get id of process your application runs in:
final static int android.os.Process.myPid() Returns the identifier of this process, which can be used with killProcess(int) and sendSignal(int, int).