[Q] Keyboard limited to numbers only but no decimal point - Nook Touch General

The short: the numeric-only input field on an app does not allow the decimal point, yet works on other devices.
The long: I understand from using other Android devices that an app can request a keyboard input of only numbers, for example when the app only wants a numeric value. I am using an application called Open Data Kit and when I use it on the nook, a numeric only input field is allowing numbers from the nook's on-screen keyboard, but is totally ignores the decimal point. When I return to this numeric field from another screen, I see that my value of 39 has been replaced by 39.0 so now I can type in the tenths value that I could not before. Not sure if this is a problem of the application (cause the decimal point works on my Samsung S), nook, or android version.

Try another keyboard. That should fix it.

Like Hacker's Keyboard or GO Keyboard. Be sure to grab ES File explorer, set it to root, and copy the files to /system/app. Then choose your keyboard in Nook Color Tools.

Related

Multilanguage hardware keyboard support for all devices (ipaq 600 pre made mapping)

A friend did this app that lets the ipaq 600 hardware keyboard type in any language without canceling the original keyboard functionality
This app can also be set to work on any other wm device that has hardware keyboard
It is like "AE-keyboard mapper" but on this app you can set more then one font per key
This functionality is very handy when you use numeric hardware keyboard like on the ipaq 600 asus p750 htc dual touch etc
It can be used when the number of fonts you use in your language is larger then on the device you have
It can also be used on a full hardware keyboard to have more then one language without the need of switching between keyboards layouts (you can even set a key for saved words like "hi" "thanks"..)
It is originally for Hebrew users (by default and fonts ) but the developer did it in a way that anyone can use/customize it by editing the app xml file in the software dir
You can set it to any character you use/want (any font/language)
For now the capability of the app is to set up to 3 letters and num for any key (total of 4 option per key -you will see it more clearly on the xml)
Instructions
BACKUP YOUR DEVICE BEFORE YOU INSTALL THE APP
ANY USE OF THIS APP IS AT YOUR OWN RISK
First you need to have support of your language or add fonts to windows/font dir in the device
only then you can use the software!
Then install the app to the device main memory
Ones the app set to on it will work in the background
For the ipaq 600 you have 3 ver of the app
1 switching between keyboards layout by passing the camera (orig- EN custom - HE)
2 switching between keyboards layout by passing the voice commend button (orig- EN custom - HE)
http://rapidshare.com/files/125258935/HebKeys_tog198.CAB.html
http://rapidshare.com/files/125142324/HebKeys_button.CAB.html
You can set it to toggle using any key you like by editing the XML
line " <HWcode>199</HWcode>"
selecting a button for toggling will disable its functionality when the app is in the background
to disable this option enter a nun used code like "9999" instead of the "199" option
to exit the app you can SR or press the app icon called "heb keys" then chose exit
customizing/ remapping
sync your device
then copy the xml file from your device to your desktop
the xml file can be found in: my device/program file/ HebKeys
KEEP A COPY OF THE ORIG XML FOR BACKUP
on your desktop right click the file and select : "open with" /"notpad"
now you will see all the layout like this "pack" of commend lines
<HWcode>50</HWcode> // the device code of the key being mapped (50= digit 2 on the ipaq 600 keyboard)
<state1>2</state1> // the first font (this case num )
<state2>ד</state2> // the second font (letter in Hebrew that can be set to yours)
<state3>ה</state3> // the third font (letter in Hebrew that can be set to yours)
<state4>ו</state4> // the fourth font (letter in Hebrew that can be set to yours)
You can also add more "packs" of definitions depending on the number of keys you have on your device
Reading the key code
To know the code for each pack/key you need this app
The key reading app can not work with the keyboard app at the same time
Therefore you first need to exit the keyboard support then start reading and editing the XML file
The reading app called "ranisoft kbtest"
Can be downloaded here
http://rapidshare.com/files/125091730/KeyMap_13.zip.html
After the completion of the XML customizing copy the new file to your device at the same location by replacing the orig
On the ipaq 600 all function keys like camera etc will pop the code for a second then return to code num 91
Camera = 199
voice commend=198
VIB = 200
Ok- to fast but I think 194
Then you have this
1=49
2=50
3=51
4=52
5=53
6=54
7=55
8=56
9=57
* =119
0=48
#=120
I did not set dig 1 for letters to get the key 1 signs like : " ;/…
Also not the # key that stands for space (7 is also free but can be used ..)
Function buttons re not recommended for letters
To run the apps on WM5 device you need to install CF2
Known issue/bugs
There is a delay that mast be maintained to type sequenced letters per key like AA or AB
For now you can tap on "space" (#) and go back the next VER will let you set your typing rate within the XML file
Also if you use your smart dial switch to EN or maintain the needed delay between digits
this app is freeware ,if you have any questions/notes pleas add it here
http://forum.xda-developers.com/showthread.php?t=403736
if you find this app helpful don’t forget to also say the "tanks " for this guy
he didn’t need this app (has a full support for his device/keyboard) but my naggings and the developer good will produced this grate app that free WM users from language typing limitation for benefit of all users/LNG and for all devices
you can help other users by sharing/uploading your language XML file at the XDA thread
enjoy
Here is he latest VER of the app
http://rapidshare.com/files/125678513/HebKeys_b_198_v15.CAB.html
In this VER the "voice commend " is set to switch between English & your language
The thing with this VER is that you can set in the XML file your typing rate
By default it is 3000 ,I have set it to 2000 and it works like orig
enjoy
for those who don’t like to switch between there language and tx9 and prefer to switch between there language and English (abc) you can disable the priority of the tx9 by installing this cab
http://forum.xda-developers.com/showpost.php?p=2082504&postcount=8
Hi,
it sounds good, but I've a question.
EREZYAD said:
...
It can be used when the number of fonts you use in your language is larger then on the device you have...
...
For now the capability of the app is to set up to 3 letters and num for any key (total of 4 option per key -you will see it more clearly on the xml)
Click to expand...
Click to collapse
In Hungarian/German etc. we use the same characters than in english and some more.
Can I set more options?
like this:
<HWcode>50</HWcode>
<state1>a</state1>
<state2>b</state2>
<state3>c</state3>
<state4>á</state4>
<state5>ä</state5>
<state6>ß</state6>
<state7>2</state7>
on this settings only the 2,3,4,5,6,7,8,9,0 are programed
you can also add "1" ,"#","*" so you will get 9 more characters
you can also use one of the "skin" without the numbers so on one "skin" you get ENG with num and the other one only your lang this way you can have up to 48 characters for one "skin"
good luck
btw - you can also map the camera for 4 more characters
& don't forget that you can exit the app at any time so you will get the orig keys
i have set this app on my start menu by going start/settings/today/item for quick operation (enter/exit the app)

keyboard shortcuts

When I had a jailbroken iphone there was a keyboard app called ikeyex. In it you could modify the keyboard xml to insert additional characters (in my case a sentence and others - tail end of email addresses). By simpy pressing down the key I was presented with the extended chars and the additional characters I added. How would one go to get this feature on the X10, is there a xml that I can edit and if so where is it located?

USB keyboard, hex codes in qwerty.kcm

Hello,
I'm trying to get a usb keyboard working properly and I'm hoping someone can give me some help.
I used the getevent command to find the scan codes for all the keys on my keyboard and updated the qwerty.kl file accordingly
however, there's a few keys that I would like that I don't know what to do with in the qwerty.kcm file, eg. caps lock, esc
for letters, numbers, and punctuation it's very straight forward but for things like space, enter and tab, there are hex codes - 0x20, 0xa, 0x9 respectively
does anyone know where these numbers are coming from and if there are any for caps lock and escape?
EDIT: like 3 seconds after posting this I realized that those are just the ascii values of the characters..
that should have been extremely obviously
I should be able to get the escape key to work now
not sure what to do about caps lock though..

[TUT] (Re)Mapping your USB keyboard

Most of you have a regular PC keyboard with a lot of unusable keys (win, f1-f12, pause, etc.) and here is how you can map those keys, so you can make the most of your keyboard. You can even remap the regular keys to change the layout of your keyboard if you like.
What you need to have:
1. An USB keyboard
2. Root access
3. Any root explorer that can mount /system as rw
4. Any terminal emulator
5. KeyEvent Display app found in the market
What you need to do:
1. Start the terminal emulator and type 'lsusb'. Connect the keyboard and type it again. Notice the device that is added (the keyboard) and write doen the two hex numbers (vendor id and product id).
2. Open the root explorer, go to /system/usr/keylayout/ and copy 'Generic.kl' to your /sdcard/ (or any location that is easy to find and edit the file). Rename the copied file to 'Vendor_xxxx_Product_xxxx.kl' replacing the xxxx with your vendor and product ids from the previous step.
3. Open the .kl file with any text editor and begin (re)mapping the keys. The file format is pretty straightforward:
key x CMD [OPT]
You need to know the scancode of the key you want mapped (x) and the command you want to execute when that key is pressed (CMD). The third parameter is optional and is useful if you want the action performed while the tab is sleeping (for example if you want to be able to wake it up).
4. To get the scancodes you need the KeyEvent Display app (probably there are others that do the same in the market) - just open it and press the key you want to map and notice the scancode value.
5. To find the usefull CMD values you can open the kaylayout file for the Acer BT keyboard and look at the CMDs there. For example EXPLORER opens the (default?) browser, KEYBOARD_UNLOCK gets you past the lock screen with just a press of a button, etc.
6. Once you are done with the mapping, save the file and copy it back to /system/usr/keylayout/ (you need to mount /system/ as rw first). I don't like editing in the /system/ folder, so any changes I do later are in the file located in /sdcard/ and then copy it back to /system/usr/keylayout/ (for some reason replacing the file doesn't work, so I have to delete it first and then copy it back)
You can edit the values in Generic.kl but this should affect all the keyboards that you connect, so it's better to create a specific .kl file for each one.
Any additions/corrections to this guide are welcome, especially if you know how to assign a key to launch a specific app, or how to open the app drawer (anything concerning the CMD values is highly appreciated)
Hope this helps someone!
Sent from my A500 using XDA Premium App
Keyboard Mapping
Thank you for this. I have a bluetooth keyboard with integrated mouse and wanted to get the values for Home, Back, and Recently Used apps. I use an HP HDMI to VGA to connect to an external monitor and once I remap the keyboard I can replace the laptop for this application.
tomlogan1 said:
Thank you for this. I have a bluetooth keyboard with integrated mouse and wanted to get the values for Home, Back, and Recently Used apps. I use an HP HDMI to VGA to connect to an external monitor and once I remap the keyboard I can replace the laptop for this application.
Click to expand...
Click to collapse
Well, back is BACK, home is HOME, and you should be able to cycle through recent apps using alt+tab (not exactly the same as the recent apps button but close).
Sent from my A500 using XDA Premium App
Ok, so for clarification, let me make sure that I have this right because I seem to be getting stuck in the details somewhere.
Let's say that I want to remap the "s" key to be a "o" instead. My normal .kl file for the keyboard that I'm editing has things that look like this:
key 31 S
Click to expand...
Click to collapse
Upon using the KeyEvent Display app for the "s" key, I see something like:
^KeyDown: action=0 code=47 repeat=0 meta=0 scancode=31 mFlags=8 label='S' chars='null' number=' '
^KeyUp: action=1 code=47 repeat=0 meta=0 scancode=31 mFlags=8 label='S' chars='null' number=' '
Click to expand...
Click to collapse
And so then in my text editor, I should change my .kl file to read like:
key 31 43
Click to expand...
Click to collapse
where scancode 31 is for the "s" key and code 43 would be what would come up for "o" in KeyEvent Display.
Is that correct?
samstheman42 said:
Ok, so for clarification, let me make sure that I have this right because I seem to be getting stuck in the details somewhere.
Let's say that I want to remap the "s" key to be a "o" instead. My normal .kl file for the keyboard that I'm editing has things that look like this:
Upon using the KeyEvent Display app for the "s" key, I see something like:
And so then in my text editor, I should change my .kl file to read like:
where scancode 31 is for the "s" key and code 43 would be what would come up for "o" in KeyEvent Display.
Is that correct?
Click to expand...
Click to collapse
No. You should have "key 31 O". The scancodes are for getting the number of the "special" keys (win, context menu, media control, etc.) that cannot be easily identified in the .kl file.
Sent from my A500 using XDA Premium App
when i type lsusb in terminal it returns: lsusb: applet not found
what is going on? could you help me?

[App] Hacker's Keyboard extension for hardware keyboards support

Hello.
I want to make communicator from my android phone (like Nokia 9210, new Livermorium Cosmo or F(x)tec Pro1). I am working on usable slide-out mechanism, but I got problem with hardware keyboard layout remapping. It is difficult without root and probably impossible to be combined with any alternative software keyboard. Therefore I went to make own app as fork of kwx Hacker's keyboard https://forum.xda-developers.com/showthread.php?t=1088776 . I would try to contact kwx and publish the source codes on the original https://github.com/klausw/hackerskeyboard, also add HW keyboards support to the app on the marketplace https://play.google.com/store/apps/details?id=org.pocketworkstation.pckeyboard. Until then you can try the first beta version.
Features:
1. No root needed.
2. Alt + Left shift == Next language/locales (MS windows standard like).
3. Alt + Right shift == Toggle software keyboard (neded to see actual layout, to make any unusual characters, or to use Hacker's Keyboard on small devices).
4. Icon with language/locales identification in Android notify area (this works for switching between English and Czech keyboard only in beta 001 version).
5. Hardware keyboard remapping depends from software keyboard language/locales switching. For example: I have checked "English", "Czech" and "Czech-qwerty" layouts in Hacker's keyboard settings. When "English" is active, HW keyboard is not remapped. When "Czech-qwerty" locale is active, top keys row is remapped to "+1ě2Ěš3Šč4Čř5Řž6Žý7Ýá8Áí9Íé0É=%´ˇ", "úÚůŮ" keys are present etc. When "Czech" locale (QWERTZ) is chosen, also "Z" and "Y" keys are swapped.
Limitations of beta 001 version:
- Hardware keyboard original layout can be "English" only. I think the vast majority of the offered bluetooth keyboards has an English layout.
- Icons displaying "EN" and "CS" are now ready in this version, other languages/locales will get the icon in the next versions.
- Behavior Alt+Y and Alt+Z, as well as Ctrl+Y and Ctrl+Z are not exchanged on the QWERTZ layout keyboard (and similar cases on other layouts).
- I am not sure, if this application installation wil not reset previous Hacker's keyboard settings (when present on phone before). OK, beta is installed as Hacker's Keyboard actualisation in this case.
- Modificators "´", "ˇ" etc affect the previous, not the following character, even multiple times. I do not know why. It is still usable.
Beta testers are welcome for reporting other errors.
Please, use antivirus before downloaded App using. I am totally new in android development. I do not know, how to protect developed Android applications from viruses. I hope my Android Studio is not infected.
Beta 001 apk.

Categories

Resources