[android-developers] Re: moving the softkeyboard from place

2010-02-08 Thread flsobral
AFAIK this is possible if you create your own IM, by extending the
class InputMethodService and overriding the method
onEvaluateFullscreenMode() to always return true.
I wasn't able to do it myself though, my IM was freezing the
application.


On Feb 6, 4:06 pm, Mark Murphy mmur...@commonsware.com wrote:
 guich wrote:
  Thanks. Do you know how to *programatically* force the inputmethod to
  be shown in fullscreen?

 I don't see an option to do that in InputMethodManager -- you can find
 out if it is fullscreen, but you can't force it.

 --
 Mark Murphy (a Commons 
 Guy)http://commonsware.com|http://twitter.com/commonsguy

 _Android Programming Tutorials_ Version 1.9 Available!

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


Re: [android-developers] Re: moving the softkeyboard from place

2010-02-07 Thread swapnil kamble
Hi,
   I am also looking for displaying soft keyboard in my layout
programmatically (not full screen but always visible.) Do you guys have any
idea about this ?

On Sat, Feb 6, 2010 at 11:36 PM, Mark Murphy mmur...@commonsware.comwrote:

 guich wrote:
  Thanks. Do you know how to *programatically* force the inputmethod to
  be shown in fullscreen?

 I don't see an option to do that in InputMethodManager -- you can find
 out if it is fullscreen, but you can't force it.

 --
 Mark Murphy (a Commons Guy)
 http://commonsware.com | http://twitter.com/commonsguy

 _Android Programming Tutorials_ Version 1.9 Available!

 --
  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.comandroid-developers%2bunsubscr...@googlegroups.com
 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 RamaHare Rama   Rama   RamaHare Hare ||

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

[android-developers] Re: moving the softkeyboard from place

2010-02-07 Thread guich
   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 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


[android-developers] Re: moving the softkeyboard from place

2010-02-06 Thread guich
Thanks. Do you know how to *programatically* force the inputmethod to
be shown in fullscreen?

regards

   guich

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


Re: [android-developers] Re: moving the softkeyboard from place

2010-02-06 Thread Mark Murphy
guich wrote:
 Thanks. Do you know how to *programatically* force the inputmethod to
 be shown in fullscreen?

I don't see an option to do that in InputMethodManager -- you can find
out if it is fullscreen, but you can't force it.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

_Android Programming Tutorials_ Version 1.9 Available!

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