Is it possible to create a custom keyboard with Titanium without having to resort to creating it in a module?
Where I see problems are with the limited control over the standard keyboard and access to its events. The only way it seems possible to control the showing or hiding of the standard keyboard is to call blur() on the textfield that is active. So I am not sure how I could prevent the standard keyboard from appearing in order to replace it with the custom one.
There are a number of questions about this in the past two years, but none of them have been answered.
- SDK 2.x
So here is the issue... if you create a custom keyboard it wont have any of the predictive typing abilities that the existing system one has. The system keyboard has a TON of logic behind it that you cant just replicate.
Your correct that the only way to control the keyboard is using things like blur. To do what your looking to do you would need to create a fake text field using labels and views. it's not easy and not something i would recommend.
The better thing for you to do is to post a question about more directly what you are trying to do. overall however the exact specifics of what your looking to do here is not recommended at all on iOS native or Ti
It's going to be difficult to get that kind of low-level control without a module. Have you tried setting
false for al of your textfields and textareas? This should prevent the keyboard from opening and you can change its content programmatically with your custom keyboard.
Think you can help? Login to answer this question!