public static void setSIP(int sipOption)
{
InputMethodManager imm = (InputMethodManager)
instance.getContext().getSystemService(Context.INPUT_METHOD_SERVICE);
switch (sipOption)
{
case SIP_HIDE:
imm.hideSoftInputFromWindow(instance.getWindowToken(), 0);
break;
case SIP_SHOW:
imm.showSoftInput(instance, 0);
break;
}
}
--
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