Description
I want to detect whether the user is using the default keyboard or a custom keyboard. I've found this code on how to get the default keyboard, and the list of keyboards: Know default keyboard on android.
The problem is, there's no good way to detect if the keyboard chosen was the system default or not.
Why
We're doing this as a security to prevent key logging. Is there any better approach to detect and prevent key logging?