would it be possible to add class casting of Appium driver to Android driver/ iOS Driver, while many of the features are possible using Appium driver you cannot really check if Android keyboard is displayed using an Appium driver.
Please provide more details, if necessary.
Please remember that, with sample code; it's easier to reproduce bug and much faster to fix it.
You can git clone https://github.com/appium/sample-code or https://github.com/appium/sample-code/tree/master/sample-code/apps and reproduce an issue using Java and sample apps.
Also you can create a gist with pasted java code sample or put it here using markdown. About markdown please read Mastering markdown and
Writing on GitHub
Please create a gist with pasted stacktrace of exception thrown by java.
Please create a gist which is a paste of your _full_ Appium logs, and link them here. Do _not_ paste your full Appium logs here, as it will make this issue very long and hard to read!
If you are reporting a bug, _always_ include Appium logs as linked gists! It helps to define the problem correctly and clearly.
Please raise question in https://discuss.appium.io/ this place is raise issue.