soft-keyboard

How to check if the native/hardware keyboard is used?

一世执手 提交于 2019-12-21 02:43:11
问题 I want to check if the native/hardware keyboard is used, and also if possible I want to disable the third party keyboards. My goal is simple I use just the native android soft keyboard for entering values in my edit boxes and no other keyboard should be able to this Thanks EDIT I know it is not good idea to do what I am trying to do, I know that the basic idea of android is to have intents and activities and services who know to handle some types of intent according intent-filter. But this in

How to disable Android Soft Keyboard for a particular activity?

房东的猫 提交于 2019-12-20 19:57:51
问题 I have an activity with one EditText where I need to input numbers only. Now, I have defined the Input Type for my EditText to be number only and have drawn up a pretty keypad for my user to use, however I also need to make sure the soft keyboard doesn't pop up for my user when they click on the EditText. I have tried hiding the keyboard through the manifest by adding android:windowSoftInputMode="stateAlwaysHidden" in my Manifest for the particular activity, but this doesn't work for me

Soft keyboard does not show when Activity starts

前提是你 提交于 2019-12-18 16:53:19
问题 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_parent"> <EditText android:id="@+id/EditText01" android:layout_width="wrap_content" android:layout_height="wrap_content"></EditText> <EditText android:id="@+id

Soft keyboard does not show when Activity starts

旧城冷巷雨未停 提交于 2019-12-18 16:53:02
问题 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_parent"> <EditText android:id="@+id/EditText01" android:layout_width="wrap_content" android:layout_height="wrap_content"></EditText> <EditText android:id="@+id

Creating softkeyboard with custom emoji

最后都变了- 提交于 2019-12-18 13:38:25
问题 I have been tasked to create a new android 3rd party keyboard that supports customized emojis (My own Icons) from assets. I want to implement a softkeyboard with my own emoji icons without using UniCode or my custom UniCode. Questions: If I create a custom emoji, with some string of characters which does not map to the standard set of emojis, and text this message to a friend with the customized app/keyboard, what shows up on their device? The regular ASCII characters string? or the image. I

Android Softkeyboard enter the numeric value into edittext very slow

人走茶凉 提交于 2019-12-18 08:40:32
问题 I have TableLayout, which contain number of products.Each row contain code, description qty , price, discount value, ..... Depends on the user enter quantity , discount value, discount quantity & some other values also will calculate. when user click on the editText soft keyboard will come this one also ok, working fine My problem is when user press numeric keys very slow to show in the EditText. For example I have press 3 from keyboard, after 7 or 8 seconds only it show in that particular

Android Softkeyboard enter the numeric value into edittext very slow

只谈情不闲聊 提交于 2019-12-18 08:40:09
问题 I have TableLayout, which contain number of products.Each row contain code, description qty , price, discount value, ..... Depends on the user enter quantity , discount value, discount quantity & some other values also will calculate. when user click on the editText soft keyboard will come this one also ok, working fine My problem is when user press numeric keys very slow to show in the EditText. For example I have press 3 from keyboard, after 7 or 8 seconds only it show in that particular

View-specific IME?

时间秒杀一切 提交于 2019-12-18 07:03:06
问题 I have a custom view for which I want the user to be able to enter characters from an app-defined set of characters. To do this, as I understand it, I need to write an input method service. The user not only needs to install it, but then needs to enable the IME in the Settings > Language & keyboard, and then select the custom IME for use in the view. This seems really crazy. I want this IME to be used for just one view in one application. I don't want it to be available system-wide or force

View-specific IME?

痞子三分冷 提交于 2019-12-18 07:02:16
问题 I have a custom view for which I want the user to be able to enter characters from an app-defined set of characters. To do this, as I understand it, I need to write an input method service. The user not only needs to install it, but then needs to enable the IME in the Settings > Language & keyboard, and then select the custom IME for use in the view. This seems really crazy. I want this IME to be used for just one view in one application. I don't want it to be available system-wide or force

Show soft keyboard when Activity starts

风格不统一 提交于 2019-12-17 22:17:30
问题 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