linux - Android PID issue -


i've found interesting fact 1 of development.

i tried use pid of installed application in phone.

it able use information of installed application using getinstalledapplications of packagemanager class. pid not seen.

pid provided runningappprocessinfo of activitymanager class.

there questions.

  1. does pid generated when application executed?

  2. is pid of each application fixed value?

1.yes. pids assigned @ runtime of app.

2.no. pid of each app not fixed value, changes during runtime. uid of each app fixed value assigned during installation of app.


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -