绛斿: hiding a forcib ly opened soft keyboard...

by sdphil » Thu, 12 Nov 2009 11:29:53 GMT


Sponsored Links
 I'm basically doing what you show here.

What I mean by "forced" soft keyboard is when you hold down the menu
key.

It doesn't make it go away.  I tried using
view.getApplicationWindowToken vs. view.getWindowToken

and it did not make any difference.  so something else must be going
on...





> > >



绛斿: hiding a forcib ly opened soft keyboard...

by Dianne Hackborn » Thu, 12 Nov 2009 12:07:41 GMT


 h sorry 0 is correct here.  Are you sure the window you are passing in
actually currently has input focus? Fwiw, the framework code that
hides/shows the IME from long pressing on menu does basically the same thing
-- shows with the force flag, hides with 0 flags.

2009/11/11 sdphil <phil.pellouch...@gmail.com>

> > > >


Sponsored Links


绛斿: hiding a forcib ly opened soft keyboard...

by sdphil » Thu, 12 Nov 2009 14:36:44 GMT


 'm not sure about the view, but i'm sure the top most window is there
-- and i thought that's what --

getApplicationWindowToken --
Retrieve a unique token identifying the top-level "real" window of the
window that this view is attached to.

was supposed to take care.

Can I do a view.requestFocus() before calling this to ensure it has
focus?

On Nov 11, 8:06 pm, Dianne Hackborn <hack...@android.com> wrote:
> > > > >



Other Threads

1. Network-based App Authentication

I'm trying to figure out how to develop a network-based authentication
for my apps.  I need some way to authentication an ID from the phone
with an ID from the purchase order.  Google Checkout has an ID in the
order listing at the end:

"Trackmaster -  Trackmaster is a powerful racing lap timer that runs
on your Google Android Phone. It's for the motorsports enthusiast.
Record your speed and times, analyze and replay your data, and share
with your friends. Works great for autocross, hillclimbs, road rally,
and track days! Satisfaction guarantee... - ID: -9037815002946116244"

I checked and this isn't the IMEI.  Anyone know what this ID is?

Jeff
--~--~---------~--~----~------------~-------~--~----~

2. CPU bandwidth control for threads/apps

Does Android provide a facility to ensure certain applications and/or
threads receive a minimum of CPU bandwidth (and other apps/threads are
prevented from consuming all the CPU bandwidth)?
--~--~---------~--~----~------------~-------~--~----~

3. Service lifecycle and in-memory caching

4. problem loading opengl

5. ADC2 Submit vs Upload

6. How to build Uri to an image present at the APK ?

7. Device Chooser always picks Emulator (after upgrading Ubuntu to Jaunty)...