I would like to retrieve values (keys) from the IME of android, though I'm unable to find the starting point, how to connect it with my application.
I'm building a custom view. Therefore any recommendations concerning TextView, EditView won't help. Any ideas how to do it? for example just outputting it to LogCat.
I didn't find any solution that would work directly with Android's IME. So I've made a little trick by subclassing an
EditTextthat implementsTextWatcher. If require to input some data I useaddContentView(specifying layer parameters of 1x1 px) together withrequestFocuson theEditTextclass and it calls for the IME for me that shoots values via theTextWatcherinterface.Hope this is going to help people who had stumbled upon this uneasy task.