I'm trying to write an application which has its own implementation of
TextViews, so I can control the look-and-feel of the application. I've
pretty much got it working, and everything runs fine on the G1 and the
Magic but when I run my app on the Hero I'm having an issue with the
Hero's keyboard.

standard qwerty entry works fine, but the "12#" key which is used on
the Hero to switch the keyboard to number entry doesn't seem to work -
which means there is no way of entering numbers into my text views.

here is the method which displays the on-screen keyboard:

public void onClick( View v )
{
    Context c = activity.getApplicationContext();
    InputMethodManager inputManager = ( InputMethodManager )
c.getSystemService( Context.INPUT_METHOD_SERVICE );
    inputManager.showSoftInput( v, 0 );
}

Anyone got any hints, clues or suggestions as to how I can get this
last part working?

Thanks,
Sam

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to