Earlier I  did that way only. But unfortunately editext gets expanded.I have
my edit Text field at the center of the screen. Below that I want Virtual
Keyboard without expanding edittext.

2010/1/28 Per Sandström <[email protected]>

> I think this works:
>
> InputMethodManager inputMethodManager = (InputMethodManager)
> getSystemService(
>                                Context.INPUT_METHOD_SERVICE );
>                inputMethodManager.showSoftInput ( yourEditText,
> InputMethodManager.SHOW_FORCED );
>
> you might have to force the edittext to be focused by running
> "yourEditText.requestFocus()" first, Im not sure.
>
> cheers,
>
> On Jan 28, 11:16 am, swapnil kamble <[email protected]> wrote:
> >  I want to display keyboard when my app gets started. I know we can get
> > Virtual Keyboard when clicked on EditText field, but I want to show
> Virtual
> > Keyboard without clicking on EditText.
> >
> > Swapnil
> >
> > || Hare Krishna Hare Krishna Krishna Krishna Hare Hare ||
> > || Hare Rama    Hare Rama   Rama   Rama    Hare Hare ||
>
> --
> 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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en




-- 
...Swapnil

|| Hare Krishna Hare Krishna Krishna Krishna Hare Hare ||
|| Hare Rama    Hare Rama   Rama   Rama    Hare Hare ||

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