OceanNights
OceanNights

Reputation: 33

Is it possible to set fix process ID for android application?

I am creating a softkeyboard for android to play around with ptrace(). I would like to set a fix process id for the application I made. Is it possible to to it so that I can play around android app with ptrace()?

Upvotes: 2

Views: 1524

Answers (1)

caf
caf

Reputation: 239031

You cannot do this. The usual approach is to have your application write its process ID to a file when it starts up; the other application can then read that file.

Upvotes: 5

Related Questions