friends, I need to develop a keyboard which should have an icon of the app which invokes the softkeyboard.
I found a link which might be useful is here How does an Android app load a keyboard?
So how can i get to know which is invoking the keyboard ? or the package name of foreground activity ?
Does anybody have any idea, i appreciate and very grateful to them.
Thank You
this Question ans can be used as solution how can i get the package name of 2nd top activity which is in other package?
Get the top activity running is the activity which starting the keyboard, little hacking way but still working 🙂