Вопрос

Im developing an IME for android. I want to get the activity or textview control information while using my IME program. Like Hwnd property in win32 API or sender property of focused control in .Net .

Is there any possible API available?

Sorry for my poor English.

Thanks. Sha

Это было полезно?

Решение 2

Is there any possible API available?

No, because "the activity or textview control" is in another process, not your process.

Другие советы

No, like they said its in another process. However, you can get an InputConnection which will allow you to get some of the data from there (such as text, cursor position, etc).

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top