Can an IME get the name of the app using it? (assuming it has the right permissions)
Thanks in advance, Barry
Answering my own question again! :)
The EditorInfo
passed to InputMethodService.onStartInput()
and onStartInputView()
contains the member EditorInfo.packageName
which contains the name of the calling app's package.
Try getCurrentInputEditorInfo().packageName
In add to your question and answer can you know how get current name Activity and name of field?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With