Android :: Soft Keyboard - New Input Framework

May 10, 2009

I have a class that extends ImageView, which also handles keyboard input, currently via OnKeyListener, which works great with the 1.1 sdk, but how do I port this to the 1.5 sdk? How do I get the soft keyboard to load for this View? I haven't found a ton of documentation regarding the new input framework.

Android :: Soft Keyboard - New Input Framework


Android :: Emote Button In Soft Keyboard Input

Oct 21, 2009

Does anyone know how to enable the emote button in soft keyboard input?

View 2 Replies View Related

Android :: Allow Only Decimal Numeric Input / Use Phone Soft Keyboard?

Apr 21, 2010

I am trying to do something that I thought would be simple, yet I still haven't found the right approach. I have a Edit Text field that should only accept unsigned decimal entries. Using android:input Type="number Decimal" in my layout xml file achieves this, however the soft keyboard that is raised with this input Type is the standard keyboard but just uses the alternate view with the number row on top. This is far from ideal for a field that only allows numbers. A much better soft keyboard for numeric entry is the "phone" one. It has all of the numbers and a decimal. Perfect!! Well, except that for the life of me I cannot figure out how to use both the phone keyboard AND allow only numeric entry. I've tried everything I can think of but if I use the phone soft keyboard then the input field also allows things like "(" and any of the other symbols available on that keyboard. Is there any way to get the nice big numeric buttons of the phone keyboard along with only allowing decimal entry? 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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

View 3 Replies View Related

Android :: Input Method Manager - Keyboard (virtual / Soft)

Oct 8, 2009

Inside TextView.java, I have the following code.

InputMethodManager imm = (InputMethodManager)getContext ().getSystemService(Context.INPUT_METHOD_SERVICE); Log.d("tag", " fullscreenmode test: " + imm.isFullscreenMode());

and also, InputMethodManager imm = InputMethodManager.peekInstance(); Log.d("tag", imm.isFullscreenMode());

My phone is in landscape mode. My application has an EditText. My keyboard(virtual/soft) is not visible. I expect the above codes (written inside TextView.java) to print false. But it prints true. How is that possible?

View 2 Replies View Related

Android :: How To Know Whether SIP (Soft Input Panel - Keyboard View) Is Showing - Not?

Apr 27, 2009

I wonder it is possible to know whether SIP is showing to user or not. A user application(Activity) can show or hide the Soft Input through the Input Method Manager. There is some APIs to handle the SIP. But I can't find API to know status of SIP(it is on showing or hiding).

When SIP is showing to user. It disturbs the UI of the Activity. So Activity should know about the information related with upper case. How can I know that?

View 3 Replies View Related

Android :: How To Detect / When Soft Input Is Gone?

Oct 20, 2009

When I press back button, soft input keyboard is gone. How can I detect this event in my activity?

View 2 Replies View Related

Android :: How To Develop A Soft Keyboard - HTTP Connections To Synchronize Keyboard Data With A Cloud DB And Other Phones

Aug 13, 2010

I would like to play around with some ideas and develop a soft keyboard for Android to replace the default one.

Is there any general information about soft keyboard development for Android out there?

Any best practices or guidelines?

Can I do with my keyboard application pretty much anything I could do with a normal Android application?
Can I do HTTP connections to synchronize keyboard data with a cloud DB and other phones I have?
Can I open other windows/screens from a key press, e.g. to display a custom input interface different to a normal QWERTY one. If that doesn't work, can I use a pop-up dialog instead?

View 3 Replies View Related

Android :: Hide Soft Keyboard On Activity Without Any Keyboard Operations

Oct 13, 2010

I have a tabbed view with one Activity per tab, and when I switch from the first tab, which has a TextView, to the second tab, which only shows a clickable list, the soft keyboard is still there. I want it to go away.

I tried this:

CODE:.............

But this does not work, because there is no relevant view to provide, as there is no View on the screen that takes keyboard input.

View 1 Replies View Related

Android : How To Hide Soft Input Like Using BACK Buton?

Jul 11, 2009

In my app I have AutoCompleteTextView and "search" button. When user clicks "enter" or "search" an Intent is fired and new Activity is started. But in that "new" Activity SoftInput should be invisible, so I make ((InputMethodManager)getSystemService (INPUT_METHOD_SERVICE)).hideSoftInputFromWindow(this.getCurrentFocus ().getWindowToken(), InputMethodManager.HIDE_NOT_ALWAYS); But when user clicks BACK and returns to activity with form he is unable to show soft input back by touching AutoCompleteTextView. He mus use trackball to select "search" button and than touch ACTextView. Bud when he is in "form" activity first time, shows soft input by touching AutoCompleteTextView and presses BACK button he is able to show soft Input by touching field. How can I hide soft input "correctly" (so it can be shwed back in intuitive way?) or hide it like BACK button does?

View 4 Replies View Related

Android :: Default Adjust For Window Soft Input Mode

May 9, 2009

I got confused about whether the default value for android:windowSoftInputMode[1] was adjustResize or adjustPan and thought I might be able to help someone avoid similar confusion. The "Updating Applications for On-screen Input Methods" blog post[2] states that pan and scan is the default mode because it is the safest for existing applications and resize is often the preferred screen layout. But I believe it's a little more complicated than that.

If the outermost View in a layout is a ScrollView then it appears that the default is actually adjustResize. And this makes sense: if the View lives inside a ScrollView then it probably knows how to resize itself. I'm mostly basing this statement on trial and error, so it would be great if someone could confirm or correct me. Maybe this should be mentioned in the documentation at [1]? Or state that it is recommended that applications specify one or the other, rather than depending on the default?

View 2 Replies View Related

Android :: Window Soft Input Mode Not Working Properly With ListView

Nov 9, 2010

I have a layout with a ListView that contains EditText objects that can requestFocus() when the user chooses to edit the list item. I make sure to call setSelection() on the ListView when this happens, and then have the EditText request focus and then use InputMethodManager.showSoftInput to show the soft keyboard. However, when this happens, the list view is being resized correctly, but the selected list item remains below the fold and the user has to scroll up. This is working properly on 2.2, but is failing on 2.1. Any ideas for making sure the list selection remains visible?

View 2 Replies View Related

Android :: Custom Dialog Displayed On Soft Input (User Info ID)

May 18, 2009

I have a custom dialog displayed to input user info (ID). This appears on top of an activity with an 'Done' button, however when the edittext is selected and the soft keyboard appears, the keyboard obscures the Done button at the bottom of the dialog. The documentation / blog posts are a little dry on info specifically for dialogs, what do I need to include to get the dialog to pan up or otherwise?

View 5 Replies View Related

General :: MK802 Mini PC - Disable Soft Keyboard Hiding With USB Keyboard Available?

Jun 22, 2012

I'm using an MK802 mini PC. I don't have a USB keyboard yet.

When I plug in a wired USB mouse, I can use that to click on the on screen soft keyboard.

But when I plug in the wireless dongle for a USB mouse, the Android soft keyboard doesn't show anymore (I guess this is because the wireless dongle supports both keyboard and mouse, and tells Android a hardware keyboard is available, so Android doesn't show the soft keyboard).

Any way to ignore this and always show the soft keyboard? Or another keyboard I can download which will always show?

View 1 Replies View Related

Android :: Android Emulator - Keyboard Display Touch Input When Using Physical Keyboard To Type

Mar 6, 2010

If it was possible to use my physical keyboard to type, and have the android emulator simulate it as if it were a touch (specifically- the button highlights, and letter overlay)

View 1 Replies View Related

Android :: Android Soft Keyboard - Manipulate Views On Keyboard On - Off

Aug 4, 2010

I have a layout which has one large EditText view at the top + a bunch of buttons at the bottom. The EditText is made to shrink and expand when the ime is activated/deactivated by using adjust_resize. The buttons at the bottom are pushed up above the ime.

I would like to hide these buttons when the ime displays, to provide enough space for the EditText view.

I have so far tried the following:

subclassed EditText and provided the activity the option to register a callback on the view's OnSizeChanged.
Used this callback to change the visibility of the buttons (actually the layout container) to GONE.

This work OK and does hide the buttons when the ime pops up. However, the EditText does not expand into the new available space. Furthermore, when the ime is disposed off, the EditText field is now bigger than it was originally, pushing (the now showing) buttons outside the screen.

I should also add that when typing the first letter into the view, and the ime displays the word options, the screen is redrawn and the EditText fills the vacant space. how to get this to work? Or even better, is there a simpler solution to my requirement? In my view, scrolling is not a good option.

View 2 Replies View Related

Android :: Why Might Soft Keyboard Not Pop Up?

Nov 12, 2010

I have an EditText control that does not pop up the soft keyboard when the user touches it. The thing is, that I have a number of other EditText controls elsewhere in my application that all work fine, and I cannot see anything really different about this one.The code is a bit complex to post here, but I was wondering if anyone knows of any reasons why the soft keyboard would not appear in some cases.

View 3 Replies View Related

Android : How Can I Get Soft Keyboard?

Mar 29, 2010

I am interesting in integrating an arabic keyboard to the android system. I proceeded as follows: I have modified the xml and the layout in the package softkeyboard by replacing English letters and their codes by the arabic one.Of cource I created 2 new directories in softkeyboard: xml-ar and layout-ar After rebuilding the system , I don't find the new softkeyboard.

View 4 Replies View Related

Android :: Done Is Not Working In Soft Keyboard

Jun 24, 2010

I have One AutocompleTextView and I want to make the virtual keyboard disappear when he hits "DONE" at the AutocompleTextView. So far, the buttons "NEXT"/"DONE" do nothing at all Unfortunately I found no resources addressing this problem.

View 1 Replies View Related

Android :: Soft-keyboard Is Not Being Closed

Jun 28, 2010

I've got a problem with my application in that the soft-keyboard is not being closed unless the user pushes the "back" button.I use several layouts which I load using the setContentView method of the application. Some layouts contain multiple EditText fields. The soft-keyboard pops up correctly when the entry boxes are being clicked, but never gets dismissed, even after I switch to a new layout using setContentView (instigated by on-screen push buttons).I found a way of apparently removing the keyboard using the "InputManager" class but how exactly does that work if I don't know which entry field opened/currently owns the keyboard?Is there a way of possibly invalidating a whole layout which would perhaps cause all resources (and hopefully the keyboard) to be cleared? As said before, I currently just use setContentView to load the next screen.

View 4 Replies View Related

Android :: How Can I Select What Soft-keyboard?

Jan 25, 2010

How can I select what soft-keyboard an edittext will load?

View 3 Replies View Related

Android :: How To Specify Which Soft Keyboard Appears?

Jun 24, 2010

if application has EditText widget and user clicks on it, a qwertysoft keyboard appears. how do you get a numeric, 12key, or phone soft keyboard to appear instead. (I have searched documentation but I cannot find solution.)

View 2 Replies View Related

Android :: Numeric-only Soft Keyboard

Oct 20, 2009

How can I set numeric-only soft keyboard option for a text field? When I set the input-type to "number" it brings a soft keyboard which is actually a alpha-numeric one but already switched to numeric mode. What I want is a pure numeric soft keyboard with big numbers (no alphabets at all). I've already seen this in other applications and but don't know how to do it.

View 6 Replies View Related

Android :: Next Focus And Soft Keyboard

Apr 24, 2009

I have a form that is working fine with the "Next" flow order when using the computer keyboard with emulator (and probably with the keyboard on the G1) but not with the SoftKeyboard with 1.5.Some fields indicate "Next" with this keyboard, some go to the correct field and others don't.Two of the fields are text and they only give a carriage return instead of "Next."My numeric fields give the proper "Next" key. Use of the SoftKeyboard is a little underdocumented so far (if there is a hidden doc online somewhere please provide me a link to it). There are also some added fields under 1.5 that I have asked about previously but received no answer.These appear to have something to do with the Soft Keyboard.Though these can be set programmatically I haven't seen the proper way to set these flags using XML. This field is the one that replaces "Numeric" which deprecated.

View 3 Replies View Related

Android :: Soft Keyboard Selection From App?

Jul 13, 2010

So Sony appears to have included their own IME with their xperia phones.I have an edit box for numerical input that i have specified as number numberDecimal|phone It allows for easy number entry and allows users to enter in decimal numbers.However the IME in the xperia phones is missing the decimal key. Is there a way to specify it should only be using the android IME?Can I specify resources for specific phones similar to how I can control resources for versions of android?

View 9 Replies View Related

Android :: How To Enforce Soft Keyboard?

May 10, 2009

is there a way to enforce the soft keyboard throughout the lifetime of an Activity? I tried setting stateAlwaysVisible in the Manifest.xml as well as the counterpart.

View 6 Replies View Related

Android :: How To Close Soft Keyboard?

May 29, 2009

This is probably very easy but I just don't know how to close the Soft Keyboard after user hits "search" key on the soft keyboard.Could someone help me out?Currently my code listens for key press particularly enter or the search key.

View 5 Replies View Related

Android :: Disabling Soft Keyboard

Apr 29, 2009

How do i disable the SoftKeyboard?

View 3 Replies View Related

Android :: Use IMF To Design Soft A Keyboard?

Aug 29, 2010

how to use the IMF to design a soft keyboard. Please point me to some resources that will help me understand how to do it from the ground up. Something other than the SDK sample

View 4 Replies View Related

Android :: App Specific Soft Keyboard

Dec 13, 2009

Is there a way to create an app specific soft keyboard on Android? After reading about InputMethodService docs and checking out alternative keyboard apps out there, I figure the alternate keyboard can only be configured for system wide usage (through Settings -> Locale and Text).

If the answer to above question is no, then is there at least a way to load a custom dictionary and override the default dictionary of the system keyboard (only when my app is in use)? That will help in giving very relevant suggestions to the user when he has only tapped couple of keys.

View 1 Replies View Related

Android :: Numeric Soft Keyboard

Jul 9, 2010

I am developing an android application where we are using WebView to display Web page being served from Web Server. Everything is working fine except with the problem that when i am using the soft keyboard and switched to numeric key entry and move from first field to next field, the keyboard layout automatically changed to alphanumeric.

Is there any way using which i can pull up virtual keyboard in numeric mode only when i need to enter numbers only?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved