質問

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