I assume you are inputting text into an EditText. If so there is
onTextChanged(), which will be called irrespective of what keyboard is
being used.
You should be able to use the data passed to onTextChanged() to
compute wpm.


http://developer.android.com/reference/android/widget/TextView.html#onTextChanged(java.lang.CharSequence,
int, int, int)

Jonathan



On Mar 17, 11:03 am, Mark Murphy <[email protected]> wrote:
> On Thu, Mar 17, 2011 at 1:56 PM, lbendlin <[email protected]> wrote:
> > what you _can_  test is the existence of the soft keyboard on the
> > screen. But beyond that you would just need to assume that the user
> > actually uses it, and is not freak enough to use both keyboards.
>
> The soft keyboard normally doesn't appear when the hard keyboard is
> available. I think you might be able to manually force the soft
> keyboard to appear in that case via InputMethodManager.
>
> The Configuration object will tell you whether the hard keyboard, or
> any keyboard, is available.
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy

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

Reply via email to