开发者

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

开发者 https://www.devze.com 2023-02-07 09:06 出处:网络
I am creating a softkeyboard for android to play around with ptrace(). I would like t开发者_C百科o set a fix process id for the application I made. Is it possible to to it so that I can play around an

I am creating a softkeyboard for android to play around with ptrace(). I would like t开发者_C百科o 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()?


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消