I don't believe so. An IME is a completely separate "app" in Android. Just as you cannot get a reference to another app's activity, you cannot do this from an IME.
On Wednesday, March 21, 2012 3:15:52 PM UTC+8, tsukishiro wrote: > > Hello guys, > > Still working on my IME (sheesh, it's taking too long... >.<). I was > wondering if there was a way to get a reference or instance of the Activity > that launches my IME. For example, if I was in the new contact activity of > Contacts application and I click on an input field (like an EditText), then > my IME would be launched (as expected). Now I want to get a reference to > the new contact activity from which my IME was launched. Is this possible? > > Please let me here your thoughts, > - tsukishiro > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

