hi guys.

how to get the SoftInputView is shown? I get the answer is:

(InputMethodManager) m =
(InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE);
Log.v(TAG, "softkey view is active:" + String.valueOf(m.isActive());

but it' only return false.

so I see the
framework/base/core/java/android/view/inputmethod/InputMethodManager.java,
and add a boolean mSoftInputShown.

so I change the code :
(InputMethodManager) m =
(InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE);
Log.v(TAG, "softkey view is active:" + String.valueOf(m.isSoftInputShown());

and I add the debug code with InputMethodManager.java, and see the
mSoftInputShown is changed.

why m.isSoftInputShown() is only return false. maybe the process address
problem?


thanks in advance.

-- 
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

<<attachment: tangk.vcf>>

Reply via email to