I've been experimenting with the IMM and it's mostly straightforward, but for some reason, my custom view that launches the soft keyboard works only in portrait mode. Launching it is easy enough: InputMethodManager imm = (InputMethodManager)getContext().getSystemService(Context.INPUT_METHOD_SERVICE); imm.toggleSoftInputFromWindow(getWindowToken(), InputMethodManager.SHOW_IMPLICIT, 0);
I've seen a couple notes about the soft keyboard only working in portrait but I assume this was a limitation in a previous version, since all the Android EditText views work fine in both portrait and landscape. Is there some additional piece of work needed to enable landscape?
I would've been happy as a passive forum user and keeping up with other's posts but my Hero has recently developed a problem, prompting me to sign up and get some advice from you guys who have more experience.
Basically in the last couple of days my soft keyboard has randomly decided to change how it displays and works! 3 main problems:
- sometimes soft keyboard does not go into landscape mode when phone is orientated (seen suggestions on here of calibrating keyboard and installing bubble and running the bubble clibration: tried both of these but has not solved problem).
- when phone does decide to let me in landscape mode no text is displayed as you type....only when you switch back to portrait do you see what you have typed
- when in text message mode the predictive text box has moved and is now being overlayed on the text message body, so basically i cannot see what i am typing! (the predictive text box used to be displayed above the text message body). This problem is the most annoying out of the two!
I am building from source and running in the emulator. I would like to know if the soft keyboard has support for operating in Landscape mode. Portrait appears to work fine, but when switching the emulator to Landscape, it appears to be working on the premise that a hard keyboard is in operation. Is it possible to use the soft keyboard in Landscape and how would I enable this if so?
I am using PopupWindow class and on PopupWindow i have one EditText,my problem is that when PopupWindow is visible and i click on EditText at that time Soft Keyboard is not visible and i am not able to enter Input. So anybody tell me how to solve this problem?
I have 2 activities, A and B. When A starts, it checks for a condition and if true, it calls startActivityForResult() to start B. B only takes text input so it makes sense for the soft keyboard to automatically pop up when B start. When the activity starts, the EditText already has focus and it ready for input. The problem is that the keyboard never shows up, even with windowSoftInputMode="stateAlwaysVisible" set in the manifest under the <activity> tag for B. I also tried with the value set to stateVisible. Since it doesn't show up automatically, I have to tap the EditText to make it show.
When the Activity starts, the EditText is focused, but soft keyboard isn't displayed. If I click on the EditText, then I see the soft keyboard. Do I need to set aditional parameters to display soft keyboard when my Activity starts?
On the soft keyboard in Android you can set the soft keyboard to show the numbers instead of a-z keyboard using android:inputType="numberDecimal". However, what do I do if I only want to show the top number row 1 2 3 4 5 6 7 8 9 0 and not the following rows starting with @ # $ %?
I'm showing an input box using AlertDialog. The EditText inside the dialog itself is automatically focused when I call AlertDialog.show(), but the soft keyboard is not automatically shown. How do I make the soft keyboard automatically show when the dialog is shown? (and there is no physical/hardware keyboard). Similar to how when I press the Search button to invoke the global search, the soft keyboard is automatically shown.
When Android is in portrait mode and the soft keyboard IME is shown, my app is resized properly. When in landscape mode, the soft keyboard IME is always in fullscreen/extract mode, and even though I can see the top portion of my app, it doesn't resize my app. I couldn't find any way to make the IME not come up in fullscreen mode. So instead, I detect this condition, and manually resize my app. This works, but unfortunately, to make this work well, I need to know the height of the IME, or the portion of my app that remains visible. But it seems there is no way to get this information, and the soft keyboard IME's height varies on different devices. As a hack, I put in options for the user to be able to adjust these parameters, and set the defaults for the G1. I can live with this for now, but is there a more appropriate way to handle this?
In addition, even in portrait mode, if the status bar is hidden, the IME also does not resize my app. This clearly seems like a bug to me.
I just bought my android incredible today and I'm absolutely addicted to it. However, I ran into a problem today with my phone that makes me wonder if it's something minor that I can fix on my own or if it has to be taken in. You know when you tilt your phone longways the display changes as well so you have a bigger keyboard? Well, mine's not doing it now and I'm wondering what the problem is.
If you enter recover mode on a HTC Magic, for example (holding down HOME+POWER buttons) you do not have access to the keyboard to continue. After the Recover Mode tirangle icon has appeared, press HOME+POWER again and that will bring up a menu for you to reboot the phone, update, or factory resets. use the trackball to select which option you want.
I got my Droid 2 (or as it is called in Germany Milestone 2) just this week. I got two minor things that are bugging me. (see the other one here Is it possible to reconfigure the keyboard?) Otherwise I'm loving my new phone. I got the auto-adjust option for the Display turned on but for some reason the screen won't switch to the landscape mode as long as I don't pull out the physical keyboard. That is only the case for the homescreens and the main app menu. Otherwise it works fine. For example, if I open the settings I get to look at them in landscape mode with the keyboard in our out.
I am having a lot of difficulty with my keyboard in both landscape and portrait. I am using the "Android Keyboard" that came with the phone. Examples of what I am referring to:
1. Wrong Key Showing: I type one letter and a different one is actually displayed. 2. Horrible Response: I get half way through an email and realize I need to fix an error in the middle of the paragraph. Trying to get the cursor where I want it a extremely hard to do and often it will move, but not where it is suppose to be moved to. Other times the cursor simply doesn't move at all and I have to erase all the back to where the error is and than retype. And no the cut and paste or copy and paste do not work since the cursor is not moving. 3. Random sentences just erase: I will be typing and hit the back key to erase a character, but instead it erases a line or two and won't stop.
Suggestions and no I am not going to root and void the warranty.
Had the phone about 30 hours or so, been happily learning the ins and outs of my first android. Was streaming Pandora for a couple hours while working, then went to type a text and the full size landscape qwerty wouldn't come up only that aweful portrait mode cramped keyboard that makes me feel like I am typing on a blackberry now the browser won't switch to landscape either which is 'incredibly' annoying. Teeter seems to work fine, on level 19 and also "Bubble" an app for Leveling which switches to landscape in either direction.
So the "minimize keyboard" button in the lower left of the landscape qwerty keyboard works maybe every 5th time. I only started noticing this after the 2.1 OTA. However my wife has the 2.1 on her Eris as well and hers works perfectly. If I make sure to push the very top edge of the button, it works fine, but just pressing it normally in the middle rarely works. Perhaps there is something wrong with that corner if the screen.
I cant get the browser to automatically change orientation as I change my phone's orientation. The only time it goes into landscape mode is if I pull out the physical keyboard. Note that I don't want to select The option to always force landscape mode.
When opening the physical keyboard, the phone first comes out of sleep, and then switches from portrait to landscape. This is typically not too noticeable, but sometimes it takes up to 5 seconds. Is there a way to make it so that opening the keyboard just resumes this phone already in landscape? Also, has anyone figured out a way to get the home screen to respect switching to landscape when rotated, like all well-developed apps do?
When typing a text message in landscape mode, is there any way to send the text by hitting the enter button? I know on the Moment I was able to hit the enter button and it sent the text. With the Hero I have to hit the actual keyboard button to get back to the thread and hit send...
Home screen used to do landscape immediate and always. Now it doesn't do landscape at all unless I slide the keyboard out and it pops into landscape immediately. Then when I close the keyboard it goes back to portrait even when I'm holding the phone in landscape. Not sure how to fix this, help please.
So my Aria is less than 24 hours old and twice now when texting in landscape mode a Force Close pops up and I can only type in portrait mode. I am using HTC keyboard and have not loaded any other keyboard. is this happening to anyone else?
From the XDA forum: Link to app page = [APP][ROOT/Keyboard] Keyboard Manager - Dual keyboard: Portrait/landscape switch - xda-developers
Keyboard Manager allows you to customize what keyboard (input method) appear on input based on your phone orientation. It displays the keyboards you have enabled on your android device, and let you select one per orientation (landscape/portrait). As your phone switch orientation, the app automatically switch the keyboard.
Requirements: - Rooted android device (app was tested on Samsung captivate 2.1) - Root Explorer app, or similar app that allows you to edit the permissions of a file.
To install: 1- Download the app (KeyboardManager.apk) on your device sdcard. 2- Using Root Explorer, move the apk file to /system/app 3- Using Root Explorer, edit the file permissions like below: -- User: 'Read/Write' checked --Group: 'Read' checked --Others: 'Read' checked 4- Exit Root Explorer
The app should be visible in your launcher as 'Keyboard Manager'
Update: - Added option to disable notification icon -' start on boot' feature is disabled because it's not yet complete and tested... Sorry for the confusion
Bugs: -On certain applications (i.e: Messaging on Samsung Captivate), the input window occasionally freeze on orientation switch. Exiting the app, and resuming should fix it.
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?
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:
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.
there are those of us, who due to whatever reason (helmet cams, preference for posture, etc) want to record videos in portrait mode.
What happens (on my sgs2) is that the video records just fine in whatever resolution I pick... but it records it 90 degrees rotated to the right.
The solution that is usually offered is that "you can rotate it after!" yes... but then you have to CROP part of the image and lower the resolution. 1920 x 1080 recordings end up having to be cropped so that half of the view is cut out , or even more if you are maintaining a real aspect ratio.
The questions about "why not just hold it sideways", are just as pointless as the statement by steve jobs telling iphone4 users that they were holding their phones wrong.
is this something that can be remedied ? or has google decided that people should only record videos when their phones are in landscape mode?
i understand that we cant see landscape resolution in portrait mode; but can't we just have a viewport into the camera, but record in properly oriented landscape mode? so that playback on a computer will show the full resolution, even though we will only see part of it on the phone..