开发者

Catching special key events in android

开发者 https://www.devze.com 2023-03-17 22:47 出处:网络
I have a onKeyDown event that can catch all the regular character events, like \"a\", \"b\", \"c\" and so on. But I can\'t figure ou开发者_StackOverflow社区t how to register special characters like \"

I have a onKeyDown event that can catch all the regular character events, like "a", "b", "c" and so on. But I can't figure ou开发者_StackOverflow社区t how to register special characters like "æ", "ø" and "å" from the Danish language. I have tried writing some code that logs the KeyCode when I press those special characters but it would seem like that just returns a 0.

I have searched this site quite a bit and I found this: Catch keypress of special characters with android

But I am unsure if that can help me and how I should use it, if it is the way to go.

0

精彩评论

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