Hi Dianne, Many thanks for your suggestions. I'm in the case that my device doesn't have a keyboard, but the soft keyboard still doesn't show up automatically. Do you know how can I make sure Latin IME is included in my system? I find the LatinIME.apk is in /system/app/. Is that ok? If it is ok, how can I enable it in settings because i don't see it there? I found there is an item "Android keyboard" in Locale & text and I enabled it. But the soft keyboard still not show up...
Regards, Fred On 8月7日, 下午12時11分, Harishkumar V <harishpres...@gmail.com> 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 <hack...@android.com> 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 > > <harishpres...@gmail.com>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 > >> <hack...@android.com>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 <chis...@gmail.com> 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 > >>> hack...@android.com > > >>> 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 > > hack...@android.com > > > 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: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---