Permission: INJECT_EVENTS for Instrumenation to other apps

前端 未结 1 465
我在风中等你
我在风中等你 2021-02-09 20:47

I know that this is not the first Thread about this permission, however the other ones aren\'t finished or don\'t help me.

What I need is to inflate KeyEvents using Inst

1条回答
  •  情歌与酒
    2021-02-09 21:33

    Update

    Use the signtool located here, then go ahead and read on in my blog.


    Ok, I got the right platform-keys and it works like a charm now! I signed using http://forum.xda-developers.com/showthread.php?t=1125626 and replaced (renamed the sign.... to testkey....) the testkeys inside signare folder with

    signapk-key.platform.x509.pem
    signapk-key.platform.pk8
    

    (Google for them)

    Also make sure to zipalign and then to copy to /system/app. Installing the .apk the normal way is NOT possible as it is flagged as System app.

    0 讨论(0)
提交回复
热议问题