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.
does pid generated when application executed?
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
Post a Comment