Yes this is aweseom!!! Could you please add the voice input button into the German keyboard layout as well?
Last edited:
Yes this is aweseom!!! Could you please add the voice input button into the German keyboard layout as well?
I don't know really. I've copied the Intents used to communicated with the recognizing service from the stock keyboard. It works for me and for some others... I double checked the error handling code. The errors shown in HTC keyboard comes directly from the Google recognizing service (error codes documented here). I guess you just have to keep trying. Maybe do a reboot to start everything over.
Version is now bumped to 5. I've removed the EN button when using other languages than English. Instead you get the voice input icon (long press for settings). Unfortunately I was unable to fix this for compact QWERTY, so if you use that and non English you will still get the EN button. Fixing this requires hacking binary layout xml and I'm not sure how to do that.
is both of it possible?
I really love the EN button on my german locale.
Heh, didn't expect that. The HTC code explicitly tells the voice recognition service to use "DEFAULT_LANGUAGE". I supposed this was English, but I guess that it's based on your locale. Anyway, great news......Edit: Updated first post regarding voice input button and update instructions:
[/I]
rm /system/app/HTC_IME.apk
rm /cache/dalvik-cache/system@app@HTC_IME.apk@classes.dex
rm /system/lib/libt9.so
$ adb install HTC_IME.apk 1313 KB/s (4587207 bytes in 3.411s)
pkg: /data/local/tmp/HTC_IME.apk
Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]
$ adb install -r HTC_IME.apk
1290 KB/s (4587207 bytes in 3.470s)
pkg: /data/local/tmp/HTC_IME.apk
Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]
Got it!
Do the following:
adb uninstall com.htc.android.htcime
then
adb install HTC_IME.apk
$ adb uninstall com.htc.android.htcime
Failure
hal9001:~ markus$ adb uninstall com.htc.android.htcime
Success
hal9001:~ markus$ adb install HTC_IME.apk
1283 KB/s (4587207 bytes in 3.490s)
pkg: /data/local/tmp/HTC_IME.apk
Success
This keyboard is nice but it really bothers me that when in the browser and you try to search for something, it assumes you are going to type a url so there is no spacebar key. Am I missing something here?
I installed the version of modaco flashed from recovery. Now I would uninstall it to use this version, how can I do?
I used the following commands:
The application no longer there, but I can not install the High resolution version (v5) (I also tried with Astro):Code:rm /system/app/HTC_IME.apk rm /cache/dalvik-cache/system@app@HTC_IME.apk@classes.dex rm /system/lib/libt9.so
Code:$ adb install HTC_IME.apk 1313 KB/s (4587207 bytes in 3.411s) pkg: /data/local/tmp/HTC_IME.apk Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE] $ adb install -r HTC_IME.apk 1290 KB/s (4587207 bytes in 3.470s) pkg: /data/local/tmp/HTC_IME.apk Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]
$ adb pull /data/system/packages.xml .
$ gedit packages.xml
$ adb push packages.xml /data/system/
All you need to do is going into an email or SMS hold down for a few seconds on the compose message portion. A screen will pop up and give you two options one saying android keyboard the other touch input. Select touch input and you should be all set
adb remount
adb push <path_on_PC_to>HTC_IME.apk /system/app
adb push <path_on_PC_to>Clicker.apk /system/app
exit
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
cd /sdcard/HTC_IME
install HTC_IME.apk /system/app/HTC_IME.apk
install Clicker.apk /system/app/Clicker.apk
reboot
/*
* 27
* Fixed: T9 is now disabled when adding words manually (sorry, missed that bug report on v26b1)
*/
/*
* 26
* Separate version for Froyo (2.2) due to changed voice input API:s
* Fixed: User dictionary should now be saved correctly on Sense ROMs (if installed correctly!)
* Fixed: Slightly better SMS detection
* Fixed: Custom popup domains will work without enabling custom popup time (caused by typo)
* Fixed: Smiley insertion right after period removed first smiley char
* Fixed: Settings not remembered for some locales
* Fixed: Tweaked space insertion around parentheses some
* Fixed: Fixed "Predict in Browser" option on Froyo (workaround for Android issue #8563)
* Fixed: Space deleted after period insertion and use of chars from symbol KB (HTC bug)
* Fixed: No auto add words didn't always work
* Fixed: Smiley button didn't work on symbol KB
* New: Calibration is considered for all layouts
* New: Modify button height/width on all layouts
* New: € £ added to f popup
* New: T9 toggle settings now remembered
* New: Export/import settings to/from SD card
* New: Pipe added to alt. symbol keyboard (page 4)
* Gesture: Cursor before word
*/
/*
* 25
* New: Move lang. specific popup chars closer to pressed key (help me support more langs!)
* Option: Replace chars only for SMS
* Option: Custom domains for .com key
* Option: Insert period on double space
* Option: Toggle accept dict. suggestion by 12# key
* Option: Configurable custom sounds
* Option: Change language with volume keys
* Option: Adjust portrait QWERTY key width
* Changed: Delete last sentence breaks on comma again.
* Fixed: Space insertion disabled for URI fields (causing problems)
* Fixed: Space insertion tweaked for French
* Fixed: Removed Romanian since not working (blame HTC)
* Fixed: Don't insert space if prediction is disabled in browser
* Fixed: Predict in URL working again.
* Fixed: Sound for HW KB working again
* Gesture: Toggle QWERTY prediction on/off
*/