Can you put a Case for KeyCodes.KEYCODE_AT in the code and see what happens - you can use log or toast message to display the values or interaction.. Are you checking scelta or KeyCodes where you have the issue? If scelta then don't think it will change as you haven't got a KEYCODE_AT part in there... or is that a snippet of code?
Of Course I'm not actually sure what you're trying to achieve here, as it feels little wrong...
I'm working on "scelta".
The app was developed in this way, I have a menu, the user can access the menu either by moving through the arrows and pressing ENTER or using the physical keyboard and pressing the item numbers.
So I don't use the virtual keyboard that opens for example with an edit text.
The voice of menu are labels.
Menu example:
0 - EXIT
1 - START
2 - WRITE
3 - READ
For example, if the operator wants to "read", he simply presses 3 on the keyboard.
I only put a piece of code, not all of it ,because it would be too long.
Copying them to a new file gives me the same problem anyway.
Also I followed your advice in the select I also put the case for AT but it does not enter the same.