How can I detect if a windows mobile device has the keyboard extended? I am manually launching the soft keyboard and I need to know when to prevent my app from launching the PIE.
...
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 pres...
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 ...
Can someone point me at a complete ap that uses the softkeyboard example -- or something similar?
...
I have a bunch of EditTexts in my Android application, each with InputMethod set to numberSigned. My target device does not have a hardware keyboard and thusly uses the software keyboard for numeric entry. Android attempts to be user-friendly and replaces the standard "Done" button to the right of the entry box with a "Next" button, prob...
I have added android:windowSoftInputMode="stateAlwaysVisible" to my Activity in AndroidManifest.xml and here's my layout:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="fill_parent"
android:layout_height="fill_pa...
I'm developing on the Droid Incredible (and have tested on a 1.5 AVD Emulator as well), and one of the tabs in my tab widget consists of a listview and a row with an EditText and a Send button (for a chat feature). I am using the following to close the soft keyboard once I click Send, but it's not working. This is identical to code I've ...
Sometimes at night, I like to watch movies in bed, or TV shows online. This is convenient since my computer is right beside my desk, so I just spin one of my monitors around, disable my other screen and pull my mouse over. My keyboard doesn't quite reach without re-routing the cable in a way that doesn't work when I move back to my desk ...
Im struggling with the done button on the soft keyboard. I can't get the soft keyboard Done key press to hide the keyboard. From another button, it works perfectly with imm.hideSoftInputFromWindow(editText.getApplicationWindowToken(), 0); but the onKeyListener does not function the way I want. When I hit the editText, the soft keyboard s...
What is best way to implement custom SoftKeyboard, so it recognize where user push, and where user release, and then use both coordinates to determine character?
E.g. if i push Q, then move finger to E, then release. Application should get 2 coordinates. Basically simple line.
One way is to make it trough buttons and using onTouch(View...