Sorry I really don't understand what you are trying to do.  You can use the
InputMethodManager API to explicitly show or hide an IME.  Whether it
actually shows itself is dependent on the kinds of input available as I
described before, and this decision is ultimately up to each individual IME,
though I outlined what the default behavior can be.

On Thu, Aug 6, 2009 at 9:11 PM, Harishkumar V <[email protected]>wrote:

> Dianne,
>
> Can u detail me how to use InputMethodManager, in which part of the code, i
> should modify.
>
> Thanks and Regards,
> HarishKumar.V
>
> On Fri, Aug 7, 2009 at 2:22 AM, Dianne Hackborn <[email protected]>wrote:
>
>> Er...  what is the point of showing an on-screen keyboard if there is no
>> touchscreen or mouse?!?
>>
>> Anyway, you can use InputMethodManager to explicitly show or hide it.
>>
>>
>> On Thu, Aug 6, 2009 at 10:00 AM, Harishkumar V 
>> <[email protected]>wrote:
>>
>>> Hi,
>>>
>>> I am in this case.
>>>
>>> where my situation is ,
>>> "If it has a keyboard but that keyboard is not currently accessible to
>>> the user, it will not be shown automatically but the user can explictly show
>>> it."
>>>
>>> i have no touchscreen or mouse connected.
>>>
>>> How to explictly show it to the user?Any pointers will be helpful.
>>>
>>> Thanks and Regards,
>>> HarishKumar.V
>>>
>>> On Thu, Aug 6, 2009 at 10:20 PM, Dianne Hackborn <[email protected]>wrote:
>>>
>>>> You just include some IME with your system, which has marked itself as a
>>>> default IME (if you don't mark it that way you will need to manually select
>>>> it in settings th first time you run).  Note that the LatinIME is marked
>>>> this way, so the easiest thing is to use that.
>>>>
>>>> Then it will show.  The system will decide when to show it based on your
>>>> hardware:
>>>>
>>>> - If there is no keyboard, you get the behavior of a phone device
>>>> without a keyboard, where it is automatically shown to the user.
>>>> - If it has a keyboard but that keyboard is not currently accessible to
>>>> the user, it will not be shown automatically but the user can explictly 
>>>> show
>>>> it.
>>>> - If there is an accessible keyboard, it will not be shown at all.
>>>>
>>>> Note that this behavior is ulimately up to the IME, so I am describing
>>>> the default behavior for an IME, which is what LatinIME uses.
>>>>
>>>> On Thu, Aug 6, 2009 at 7:47 AM, fredchen <[email protected]> wrote:
>>>>
>>>>>
>>>>> Hi,
>>>>>
>>>>> As title, is there anyone knows how to make the soft keyboard show up?
>>>>> I am running Android-1.5 on x86 platform and any help is appreciated.
>>>>>
>>>>> Regards,
>>>>> Fred
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> 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, and so won't reply to such e-mails.  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, and so won't reply to such e-mails.  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, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to