Report question

Question: How to get pid of android application without using adb shell?