I\'ve created a simple native library in C that allows the user to create a device using uinput module. The code seems to work, but there\'s a problem:
my virtual device is
To solve this issue I made my custom IME:
I took the SoftKeyboard from com.example.android.softkeyboard package and then what there's to do is simply override the onEvaluateInputViewShown method this way:
@Override
public boolean onEvaluateInputViewShown() {
return true;
}