Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to implement the sticker inside custom keyboard? #26

Open
zainalfh opened this issue Mar 8, 2022 · 1 comment
Open

How to implement the sticker inside custom keyboard? #26

zainalfh opened this issue Mar 8, 2022 · 1 comment

Comments

@zainalfh
Copy link

zainalfh commented Mar 8, 2022

I'm trying to include the AXEmoji inside a custom android keyboard / IME. Which is run on a service not activity.
I try to use AXEmojiPopupLayout into keyboard layout, but it's throw Exception because the parameter needed is context from Activity not from service.

this line throw Exception.
parentView = Utils.asActivity(popupLayout.getContext()).findViewById(android.R.id.content);

Can you solve this?
I hope it's can be run on android keyboard.
Thanks in advance.

@shahzaibKhanSalsoft4860
Copy link

@fnzainal have you found any solution for this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants