Ah sorry that type is for dialogs inside of input methods.

Anyway, please look at the SoftKeyboard sample code for how to write an IME.

On Thu, Mar 19, 2009 at 7:54 PM, Paranoia <[email protected]> wrote:

>
> i found that currently this type is NOT used in cupcake imf. only
> TYPE_INPUT_METHOD.
>
> in WindowManager.java,
>        /**
>         * Window type: internal input methods dialog windows, which
> appear above
>         * the current input method window.
>         */
>        public static final int TYPE_INPUT_METHOD_DIALOG=
> FIRST_SYSTEM_WINDOW+12;
>
> can you tell me the details use case of TYPE_INPUT_METHOD_DIALOG?
>
> thanks
>
> On Mar 20, 10:45 am, Dianne Hackborn <[email protected]> wrote:
> > It's for the current IME.  It is used for you by InputMethodService,
> which
> > you use to make a standard IME.
> >
> > For other windows inside of the IME, you can use PopupWindow.
> >
> >
> >
> > On Thu, Mar 19, 2009 at 7:25 PM, Paranoia <[email protected]> wrote:
> >
> > > i mean TYPE_INPUT_METHOD_DIALOG. i thought i could make a float
> > > keyboard with the type. but seems that the name is somewhat misleading
> >
> > > On Mar 20, 10:22 am, Paranoia <[email protected]> wrote:
> > > > Thanks. can you tell me what its usage is?
> >
> > > > On Mar 20, 10:18 am, Dianne Hackborn <[email protected]> wrote:
> >
> > > > > Don't.  Use popup-windows in your IME.
> >
> > > > > On Thu, Mar 19, 2009 at 7:16 PM, Paranoia <[email protected]>
> wrote:
> >
> > > > > > I want to make a float input window. so i make my own float
> window
> > > > > > with the window type  TYPE_INPUT_METHOD_DIALOG in my ime
> application.
> > > > > > but permission denied. how to use this type. any one can give me
> an
> > > > > > example?
> >
> > > > > > thanks!
> >
> > > > > --
> > > > > Dianne Hackborn
> > > > > Android framework engineer
> > > > > [email protected]
> >
> > > > > Note: please don't send private questions to me, as I don't have
> time
> > > to
> > > > > provide private support.  All such questions should be posted on
> public
> > > > > forums, where I and others can see and answer them.
> >
> > --
> > Dianne Hackborn
> > Android framework engineer
> > [email protected]
> >
> > Note: please don't send private questions to me, as I don't have time to
> > provide private support.  All such questions should be posted on public
> > forums, where I and others can see and answer them.
> >
>


-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support.  All such questions should be posted on public
forums, where I and others can see and answer them.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"android-framework" 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-framework?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to