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()?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.