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?
I would like to show a custom input field (specifically, one containing only 9-0 and two extra buttons containing decimal separator (, or .) and a delete button). I could create a custom IME, but (as far as I know) that would have to be set by the user as the system-wide input method. Is there a way to implement an input method and bind it to a specific input field?
I'm tinkering with building and installing Android from source. Basically I've got it down fairly well, but I seem to have run into a bit of a problem with the wlan module, probably from HTC.
Having pulled the 2.6.27 kernel sources and built that with a .config pulled from the phone, and using that as the kernel image instead of the prebuilt one, I get the following wifi failure message in dmesg:
wlan: version magic '2.6.27-00205-gf2dabc0 preempt mod_unload ARMv6 ' should be '2.6.27-00392-g8312baf preempt mod_unload ARMv6 '
probably because the .config I pulled from the phone has:
So I rebuilt with the '00205' localversion and now I get in dmesg:
[61.122497] wlan: Unknown symbol trout_pwrsink_set
but trout_pwrsink_set was changed to htc_pwrsave_set way back in February:
[ARM]: trout: Switch from trout_pwrsink -> htc_pwrsink 33/8933/1 http://android.git.kernel.org/?p=kernel/msm.git;a=commitdiff;h=44a01f...
I'm clearly getting an obsolete wlan module somehow, Any ideas for how I can get a wlan module that goes with the '00392' kernel would be appreciated.
I was wondering if there was a way to add Japanese as an language input for the Android keyboard? By default, there is no option to add Japanese as a llanguage input, and all other keyboards that have it are either ugly, don't have ICS as an optional theme or just too much, I prefer the stock Android keyboard on ICS over anything else and I'm sure there are some of you that agree. It would be nice to have this and other possible languages as optional languages on this keyboard.
Im running ATT S4 rooted, stock rom....what Ive been experiencing is whenever the keyboard is up, Ill type whatever information ie characters name, username etc, and hit "done"...immediatly the app will crash. everytime. Ive cleaned data/cache, removed and reinstalled, rebooted, tried this half a dozen times and no luck. Ive tried numerous keyboards and settings- all that i could think of.
I used to use the Samsung Keyboard with English and the Chinese language input (downloaded in it's language settings).
But after a hard rest (My phone had recently updated itself to 4.3 with no change) I no longer have Chinese as a downloadable language.
WHY is this so annoying... Becuase if I use another keyboard that has chinese I can't swap between it and the Samsung Keyboard in Keyboard. The Samsung has to be selects in the phone setting and can't be selected as one of many keyboards.
The reason why I wish to use the Samsung keyboard is becuase of its great swipe input function. I have not found another keyboard that has swipe in English and Chinese input funtionality.
Which means I can never using any combo of keyboards swap easily from chinese to swipe english keyboard.
I think It has something to do with the locale version of the 4.3 android os. I heard that different locales have different downloadable language options. But why has mine sudenly changed!
I am new to touch screen keyboards, and the one on this eris works me every time. I was wondering if there is any way to set default input method as t9 for texting but still have qwerty as default for all else? If not maybe someone could direct me to a better keyboard? I tried sharpnote or whatever for a couple days and actually preferred the stock keys believe it or not!
A friend of mine has a Chinese branded HTC Tattoo. That phone has a really cool input method where you can "draw" the letters on the screen. The version I have seen handles English and Chinese characters transparently without needing to switch input methods. Does anyone know if this is downloadable as an app, or what this is?
LG Dare is a full touch screen phone. One of the input methods actually pulled up a regular dial pad, with letters, and it simulated old t9 predictive text. I have been very proficient with that for years and rather it to a full touch screen key board. Has anybody come across a feature or third party application that would allow me to do that?
I'm looking for an easier way of switching my input method/keyboard rather than digging through the menus. (I'm using a Droid X, btw.) I constantly switch between the standard mutlitouch keyboard and the Korean keyboard 단글한글. Multitouch lets you hold down on one of the corner keys to bring up the input method selection, but any other keyboard seems to require going all the way back into my settings to change it, often forcing me to stop what I'm doing and jump out of the current application. Any recommendations? I've looked up things like Keyboard Widget, or Keyboard Manager, but haven't had any luck. On that note, if there's any devs out there that would want to create such a app...
I came to this issue : I created a layout with only 1 ImageButton and it works as expected when loaded from Activity (using setContentView) : The button is changing background on touch down event (orange) But not changing when the same layout is loaded by the InputMethodService (but it react to onClickEvent if used ) Here is a minimal project and video if you need to reproduce : http://rzr.online.fr/tmp/rzr-test-android-imf-0.0.20090520.tar.gz
I use the phone pad style to text. ABC. Since I installed 2.1 it automatically sticks the phone on xt9. I have to toggle it to ABC before every text. Ive tried like 3 different text apps. They all do the same thing.
I want to implement a custom input method for certain EditTexts within my app. I understand I need to extend the InputMethodService class, but how do I then add this to certain views? I've tried just using the class name in the android:inputMethod XML property, but this seems not to work. Using the SoftKeyboard example in the 1.5 SDK, my manifest is as follows:..............
In landscape mode, the soft keyboard(IME-input method editor) is showing full screen and displaying the plain text. But my editText is a password field. So how can I show dots instead of the actual characters when the IME is in full screen. This happens in landscape mode, in portrait, its working fine.
I have written my input method on lines of LatinIME. My IME "MyIME" has a service and an activity similar to LatinIME.
Installing it to emulator via eclipse does not seem to work and hence I have tried the following approaches.
MY GOAL: ~~~~~~~~ All I need as the first step to know that I am heading in the correct direction is that I should be able to see "My IME" as one of the available input methods. For example, on any EditText, when I "long click & release", the Input Method menu that pops up must also show "My IME" as one of the available input methods.
However so far the pop-up only shows "Android keyboard" (LatinIME). Hence I tried the following approaches.
Approach-1: =========== I checked out the andorid source code and built & ran it successfully to make sure I got the build process right. I created my project in ~/mydroid/packages/inputmethods/MyIME. It has the package structure 'com.android.inputmethod.myime' (to be in line with Android's package structure, I am not sure if this is required).
I ran a build using "make". Make succeed in compiling MyIME, just like LatinIME and all the android tools were also created. However looking at the build output, LatinIME was installed into /system/app/ LatinIME.apk while MyIME was not installed at all.
Question with respect to approach-1: ------------------------------------ 1. How to get the build process to install MyIME into /system/app as MyIME.apk?
Since install did not happen via the build process, I started the newly built emulator (and newly built ddms to watch logs) and used follownig install approaches:
Approach-2: =========== I ran 'ant debug' to get MyIMESettings-debug.apk. Then I ran 'adb install MyIMESettings-debug.apk'. The attempt failed with the message "Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]". Hence I tried the approach-3.
Question with respect to approach-2: ------------------------------------ 2. Why did the install fail when the project was built using 'ant debug'? Is it some thing to do with debug signature?
Approach-3: =========== The build process had created an APK file but hadn't installed it (/ mydroid/out/target/product/generic/obj/APPS/MyIME_intermediates/ package.apk) I renamed that package.apk to MyIME.apk and installed it using "adb install MyIME.apk". The install succeed. However, the adb install put my APK under /data/app with the name "com.android.inputmethod.myime.apk" instead with name MyIME.apk
Question with respect to approach-3: ------------------------------------ 3. Is there any way to get "adb install MyIME.apk" to install into / system/app folder?
Again, what I am trying to achieve is mentioned under "MY GOAL".