Hmmm... I'm not sure if what I really want is to extend another app. Basically, I have a customized IME that is loosely based on the Android API Demo SoftKeyboard. In this custom IME, I want to launch a translucent Activity that holds a few widgets (like Buttons and TextViews) as my InputView. In other words, instead of using the usual KeyboardView as the InputView, I will be displaying the translucent Activity to serve as my on-screen keyboard.
Because only a portion of the translucent Activity actually holds the widgets, I wish to let touch events in any part of the translucent Activity that is not a part of the so-called on-screen keyboard to pass through to the Activity that is behind it. To do this, I will have to invoke dispatchTouchEvent(MotionEvent event) method of the Activity that is behind my translucent Activity. This is the reason why I want to get a reference to the Activity that launches my IME. Is there an alternative way to the end-goal I plan to do? Thanks for your replies guys! - tsukishiro On Thursday, March 22, 2012 12:13:15 AM UTC+9, Kristopher Micinski wrote: > > I think this goes in the "i want to extend another app" category, > which is asked a lot here.. > > kris > > On Wed, Mar 21, 2012 at 11:10 AM, TreKing <[email protected]> wrote: > > On Wed, Mar 21, 2012 at 2:15 AM, tsukishiro <[email protected]> > wrote: > >> > >> Now I want to get a reference to the new contact activity from which my > >> IME was launched. Is this possible? > > > > > > If you explain what you hoped to accomplish with such functionality, > perhaps > > someone could offer alternative suggestions. > > > > > ------------------------------------------------------------------------------------------------- > > TreKing - Chicago transit tracking app for Android-powered devices > > > > > > -- > > 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 > > -- 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

