Permission: INJECT_EVENTS for Instrumenation to other apps

前端 未结 1 1567
一个人的身影
一个人的身影 2021-02-09 20:57

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:29

    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)
提交回复
热议问题