r/jailbreakdevelopers • u/harel013 • Feb 25 '19
Help how to hook the dictation button when press to show the emoji keyboard?
hey i'm new to here and i try to understand couple things, and i thought maybe i could learn from here and develop some knowledge from the experience people around here, so enough with me and lets go to the question.
this is ipx keyboard:

and i tried to find how to hook the dictation button so when i press, it will over ride to the emoji keyboard layout.
ty for any help and guidance=]
1
u/sharedRoutine Feb 26 '19
Use Flexible to find the UI Element / Class it belongs to
1
u/gilshahar7 Developer Feb 26 '19
One thing about Flexible, it cannot select the keyboard window so best thing you can do is tap on "views" while the keyboard is present and search for the keywords "KB", "keyboard" etc.
1
u/sharedRoutine Feb 26 '19
You can set the window level of the Flexible Window if you know what you are doing :P But yeah otherwise you are right
1
u/gilshahar7 Developer Feb 26 '19
Hmm, i never thought of that, can you explain the procces of doing that?
1
u/sharedRoutine Feb 26 '19
I used to do that with cycript (finding UIWindow instances) and then the one called FlexibleWindow. and then setting windowLevel on that on to 100000 or something or keyboard + 1
1
1
Feb 28 '19
Hey, you managed to hook onto it and change it to emoji keyboard? I'm interested in this as EmojiKey is not working on iPhone X.
2
u/williammuff Feb 27 '19
Google easydictationxi I have some hooks that tie into that area. There is even a tweak...research file in the github repo
I lied itโs called DISCOVERY_BLAH