How to Program Settings/Preferences on Soft Keyboard? - General Questions and Answers

Hi folks,
I'm the designer of the ASETNIOP keyboard and I'm getting really close to having a beta version available for folks to try out (if interested, search "asetniop beta" to find the signup page). One last thing I'd like to do in this round is to make languages other than English available. I've already built the dictionaries, but I haven't been able to find much in the way of instructions on how to populate the internal menu (Settings -> Language & Input -> Keyboard & input methods) with options and build the callback functions so the user can switch languages.
Can someone point me to a good tutorial that would help me get a handle on this part of things?
Thanks so much!
Zack Dennis

Related

(Updated) Contacts patch to improve the keyboard quick search

Hi, all
THIS IS NOT AN EVIL PATCH!
Update info
Fix bug in updatedb.sh which leads to ignore contacts who have not email.
Summary
After applying the patch, you can quick search "Michael Jeffrey Jordan ([email protected])" in Contacts by keyboard with the preceding chars of the following keywords:
mjjordan
michaeljeffreyjordan
jefferyjordan
jordan
airjordan
That means the patch adds email and abbreviation into quick search path and remove the requirement of SPACE from the name search.
For the people who use Non-Latin language, this is really a mush-have patch. You can quich search contacts by inputing Latin words of the contacts' names/abbreviations. Supports Simplified Chinese, Traditional Chinese, Japanese, Russian, Greek and more. Check data/patch/config in the zip attachment to get full list.
Installation
First, copy contacts-patch.zip to sdcard and rename to update.zip. Then power off, home+power to boot, alt+s to apply the patch, and home+back to reboot.
Second, edit /data/patch/config. Uncomment the transliterator you need. The default config is no transliterator. Latin language user can use the default config.
Third, in terminal, run the following commands:
Code:
su
/data/patch/updatedb.sh
Finally, enjoy the patch!
how easy is it to uninstall if desired?
Has anyone tried this yet that can recommend it?
Thanks!
uninstallation is reapplying JF's update.zip.
ei8htohms said:
Has anyone tried this yet that can recommend it?
Thanks!
Click to expand...
Click to collapse
Many users from China have tried it. They love it very much.
OK, fired it up
Hello sunner and all,
I downloaded and installed per instructions and it seems to work great. Basically improves the regular contacts program's searchability significantly. I already have StarContact installed for one handed searching, and the searching tricks seem to be similar, but with the hard keyboard you have to weed through a lot fewer guesses based on what you've input (StarContact uses a T9-like virtual keypad).
I can't promise that it didn't do anything sinister to my phone, but it doesn't seem to have and so far works great. Thanks and nice job!
_john
Nice work! Thanks for share!

add dictionary to android keyboard

I have a a big list of the words for my language.
Is there any easy way to create new dictionary for the android keyboard and install it?
I would also be interested in this
I have a huge list of words and I can easily do a parser that'll format them the way the phone wants.
anyone knows how?

[Q] Switch between keyboard layouts

Hi,
I already read about the option to remap some keys by editing the keyboard layout file. Is it also possible to switch between keyboard layouts as you type (using a hotkey) - e.g. I need to be able to quickly change between Cyrilic and Latin keyboards.
Thanks.
I think you're talking about hardware keyboard.... But keyboard apps like swiftkey allow for 3 allow for 3 languages simultaneously.
Sent from my ICS Splashed MT4GS using xda premium
Oops haha double post
Hi indeed, I was talking about the hardware keyboard, if it is not possible to use both cyrillic & latin keys and quickly switch between them, this would decrease the benefit of the keyboard for me and I might decide to go with a non qwerty phone in the end.
Thanks for you insight though.
nickexel said:
Hi indeed, I was talking about the hardware keyboard, if it is not possible to use both cyrillic & latin keys and quickly switch between them, this would decrease the benefit of the keyboard for me and I might decide to go with a non qwerty phone in the end.
Thanks for you insight though.
Click to expand...
Click to collapse
In this dev thread: Hardware Key Mapping | Flashable zips & Requests
...user Paitor has come up with and explained how to implement swedish language support for the hardware keyboard.
Given what Paitor has figured out how to do, it is absolutely within our ability to sit down and make exactly what you are asking.
All it takes is someone willing to sit down and invest the time into actually making it happen.
I would volunteer, but I have a lot on my plate already and realistically it's just not feasable for me to do this and keep up with my other projects on this device.
I will however be willing to take a finished keymapping and turn it into a flashable zip file and update the first posting of the key mapping thread with the result.
(and I always credit the author both in the installer package and thread post)
We still have to write in hardware keyboard language support for other languages, and I invite anyone else who wants to use alternative languages to read that thread and see about putting some time into helping us make that available for everyone. What you want to do is not exactly a small project, but pushing what we know to the next level is the reason for XDA's existence.
So, short answer is yes, what you are asking for is completely possible - you can make a key map file that has all of the keys in the languages you would want.
This is XDA, where you can get exactly what you need right down to the last little detail - if you want to put the time into making it happen. We'll be glad to help out where we can along the way.
--------
Edit:
If I were to tackle this project - this would be my approach:
Some apps, like Drocap2 or soundhound, pop up in the list when you have the Genius key remapped to 'search' and long press it. If there is nothing else that utilizes this shortcut function it will default to the only app that does ( in the case of a stock installation or on my ROM, voice search ).
So what I would do is write in each hardware keyboard layout that I wanted, then design an app that utilizes that Genius shortcut function to run - and the sole purpose of the app would be to switch between hardware keyboard layouts.
To me, that seems like the most elegant and refined approach to your problem without making one monstrously cumbersome key-mapping.
You could just press the Genius button to access the app wherever you happened to be, and then have it just show a menu as an overlay to swap between whatever keymappings you wrote in.
--------
My time is being invested in my ROM - then once that's set to my satisfaction, on to kernel work on overclock/undervolt leading into GPU work in conjunction with TV-out, and then on to bluetooth work for controller support on a Sense device.
These are big projects and very time consuming undertakings, so as you can see a project like this keylayout issue is a long time coming before I can get to it - but i'm happy to help where I can for anyone who wants to dive in and do.
Figured i'd throw out what my approach would be to give someone an idea on where to start - and while certainly not the only solution, is something to consider.
I think I have very good news for you!
There's a keyboard called "AnySoftKeyboard" (search for it in the Market and click Dev Website if you want more info) which supports hard kbd mapping (and switching bet layouts by pressing Alt + Space), they have a Russian language pack (Cyrillic & Phonetic), and it is all free.
I have never used it, but remembered coming accross it a while back and decided to check it out for you.
Hope it works
Hey guys, thanks for your replies!
I will definitely check this application - i am not sure it supports all hardware keyboards in general (or just the g1/droid as written in the description), but I will give it a try if I get this phone
And yes, I will gladly help in creating a layout for a Bulgarian keyboard. Unfortunately I cannot create an application for switching between the layouts myself, as I am not a developer.
thanks again.
AnySoft does work
Got my phone and installed AnySoftKeyboard. It does allow for switching bet layouts on the MT4Gs, but does seem a bit quirky so far... (that's with Hebrew & English, you might want to experiment yourself)

[Q] Perfect Keyboard Pro question ... ?

I've tried dozens of keyboards but always end up landing on Perfect Keyboard Pro as my default. Its T9 key and voice key are appropriately placed, and its basic, yet customizable layout is superb!
There is but one little annoyance. It seems to come preloaded with dictionary words that I can't delete.
For example, if I type the word after, then AfterDawn pops up as a suggested word (as much as I like AfterDawn, I just don't type it enough for it to be in my dictionary). Another example would be if I type the word only, I get Molybdenum as a suggestion (I had to look that word up).
These suggestions are not in the stock dictionary, and don't pop up as suggestions in any other keyboard I install, so it must be exclusive to PKP.
Tried emailing you at [email protected] but no response, has anybody had any luck with this app's user dictionary?

Question [G100] [fixed] Change physical keyboard disposition

Hi, I brought the G100 for the useful Ready For (desktop mode) feature.
I tried multiple apps and it's really easy to use
Advice : Opera has a default desktop mode ; I disable auto open link to keep in the browser instead of auto open the corresponding app (Google Drive, docs, sheet, youtube...) ; Parsec gaming is realy good to control my PC remotely when I need more features.
Anyway, the only problem right now is my physical keyboard. I'm French and the disposition is not right.
It's in azerty mode : that's good
But all other keys (1..0 &@!?:;.....) are placed like in qwerty mode. It's hard to write, especially for the accents éèà...
I tried 2 keyboards : logitech K800 with the dongle plug in a hub ; and a bluetooth keyboard given by my internet service provider.
I hope my question is clear.
Thank you
Clément
When you plug in a physical keyboard, there should be an option in your notifications about the physical keyboard, you should be able to make changes that way, or in the phone's settings.
HopelesRomantc91 said:
When you plug in a physical keyboard, there should be an option in your notifications about the physical keyboard, you should be able to make changes that way, or in the phone's settings.
Click to expand...
Click to collapse
Thanks, I can change the layout but the French keyboard or wrong (I don't know the other languages).
I ask in the Lenovo forum and as a bug report for Android 11 too. It seems to be an issue with Android 11.
Last news : "I'm happy to report that we will have improvements coming in a future software update. I don't have the timing, but it's coming."
I posted a comment on the Lenovo forum and there will be an update...
It's fixed with the last update
Hi, where do you "plug in" the keyboard??

Categories

Resources