Keyboard presence.. - Windows Mobile Development and Hacking General

Hello!
(sorry for my english)
Is there any way to find the presence of full-sized keyboard on PPCs and smartphones (700w or MotoQ for example) ? I'm writing my own custom-gui app and I need to translate VK_0 - VK_9 events correctly into chars or numbers depending on keyboard/keypad type..

Sure. Just look for the HKCU\SOFTWARE\Microsoft\Shell\HasKeyboard registry key. If it's 1, then the device has an Hardware Keyboard.
Linky linky: http://www.microsoft.com/downloads/...AA-ADA2-42D4-8B70-95DC7D8F678C&displaylang=en
It's .NET managed code, but shoud give you the idea on how to interact with keyboard and remap keys. Among other things.
Note: this key is Vendor dependant. I got it on my TyTn, but I can't say for sure on a Treo.

Related

Changing embedded keyboard layout (software) in PPC2003SE

This thread is meant to aid people in learning how to change the virtual keyboard layout in PPC2003SE. This is useful for people who upgraded to a WWE rom and still want to write text in their own language. In my case I need the Ñ character since I am spanish.
We are not dealing with the problem of the hardware keyboard layouts in Blue Angel units, as that is already solved in other threads.
So far my knowledge about this matter is that you can only change the layout using the Resco Keyboard Pro application.
Does anybody know of any simpler and cheaper way? (For example a CAB file)
Regards.
well it cant be that hard to do because
this program which does scandinavian keylayout have been free from day 1
http://www.idedata.no/support/support.asp?ID=195

Chinese display support

Wanna know which software can provide support to Chinese display and input on a Pharos..
I'd like to try the English version ROM here but still, need Chinese..
WM can display by itself
All you need to do is add the fonts. You can look at this solution to explain how to add the fonts to the registry.
For an IME/SIP, I suggest A4 or TouchPal.
There is also Hanwang for handwriting recognition. I haven't used it since I can't write.
One other small thing - make sure that your documents in My Documents have ascii names. In my case, Activesync choked on the Unicode filenames.
Display solution is for WM5.0. Is there any for WM6?
Thanks
cestar can meet your request
yeah i have installed the CESTAR but i can see blind screen when i open the sms ...any idea??

[PRJ]Raphael & Diamond, Japanese Input and SoftBank MMS CABs

THIS THREAD WILL NOT BE UPDATED ANYMORE, FOR NEWS CHECK HERE
1. Displaying Japanese text
2. Japanese Advanced IME
3. SoftBank MMS
Fantastic job.I try it at once.
Oh wow... This is awesome stuff... Do you mean i can put the Softbank IME on my WWE ROM? I am just uninstalling my other Japanese enabling software so i can try it out right now (Even though its 2:30am and i have to work tomorrow...)
Perfect!
I now have my ultimate phone!
Ok well maybe if the battery would last a full day, but i am willing to accept that because now i have a proper Japanese input and access to Kaomoji
THANKYOU!
Edit: at 3am its hard to think straight and easy to get excited Any way to fix up the fact that the compact qwerty no longer works (only enters numerics, no alphabet), and proper T9 using the phonepad SIP? I assume thats the result of installing LetsJapan?
Also, are Emoji removed intentionally, or disabled for some reason?
Still very grateful by the way!
Please see the flinx1 thread for Japanese input for more information about the T9 bug:
http://forum.xda-developers.com/showthread.php?t=445550
It has to do with how LetsJapan sets all keyboards to 411 (Japanese), while T9 requires 409 (English) to work properly. You can revert the registry settings to 409+411 (see thread above), but you need to use the Ctrl+Shift shortcut to switch between keyboards (similar to Alt+Shift on Windows).
Emoji will require a special font, or HTML rendering provided by S!Mail. Are you perhaps referring to kaomoji? If so, kaomoji requires dictionaries to be updated/installed. Those will depend on what IME you're using: standard MS IME (LetsJapan), ATOK, WNN, or FSKAREN. I'm not sure which the Softbank SIP uses (usually ATOK or WNN), but only MS IME is free to distribute; the rest are commercial products and it would not be okay to redistribute them.
The files above included the kaomoji so thats pretty cool, but the emoji (bitmap smileys) are not enabled. But i am pretty sure you are correct about it requiring HTML rendering or something like that... Probably if the SB MMS cab was installed it could be used, but then i couldnt use MMS here in Australia anymore.
Edit: Tried some of the registry suggestions in that thread (not that any of them were very clearly described), and nothing enables the T9/Compact qwerty keyboard again. As an FYI, prior to installing this IME, i was using flinkx1's cabs; installed directly without any other changes, and i had the same problem. I then uninstalled everything before trying this solution
Hate to sound like a noob (ok well i am), but is there any way to keep the original Touch T9 + Compact Qwerty functionality as well as the Keytouch SIP?
Yeah; Japanese phones use a basic HTML renderer to display emoji in their MMS (with the emoji images cached on the phone). The previous solution was to use MMSLite which used a special dingbats font and (afaik) would parse the HTML in the MMS and return text that used the dingbats. Crude but effective, although the emoji font was of course only black&white.
S!Mail should provide proper image-based emoji, but you may be right that it might not work with existing MMS services. Then again, it's possible S!Mail simply runs as a separate program/process and does not change existing MMS settings. But I have no firsthand experience so hopefully someone else can provide more information.
Getting T9+JPIME to work together is going to be difficult and will probably be different from person to person, because not everyone will be using the same kinds of SIPs and the registry settings might differ. However, I looked at the Keytouch CAB and there are a couple keys that are overwriting other settings that might cause T9 to become disabled:
HKCU\ControlPanel\Sip
DefaultIm = {9BBD6249-34B4-4cfe-934A-1F0607FB1D5C} sets Keytouch as default SIP
Use {62B00599-25D2-4e09-8C48-03BF26DB8517} for Compact QWERTY
HKCU\keyboard layout\Preload
@ = e0010411 sets JP as the default input method
Use e0010409 for English/T9; You may also need to change or switch the settings in Preload\1 and Preload\2 accordingly.
There are also some settings in HKLM, although I think changing them will cause Keytouch to not work. Of course, it's also possible that using Keytouch will disable T9 regardless of the settings, so there's no way to know for sure if T9+JPIME is possible until people do some further testing.
I thought I had responded already... Anyway, I do know that on the Softbank 705NK (AKA Nokia N73), S!Mail is implemented as regular MMS. Emoji are displayed as part of the font, and it is possible to enable Emoji in all areas of the phone with a bit of a tweak. My 705NK was sim-unlocked, and I was able to use MMS here in Australia just by setting the MMS server details
So I suspect the X04HT S!Mail client can also be used here; but only if you have access to the server settings
Now, I tried setting the region coding settings, but as expected, this broke the TouchKey SIP (well the SIP worked, but it couldn’t insert the Japanese characters into the message). Now I have another idea... If I install TouchPal SIP will that work together with TouchKey? I hear that TouchPal is supposed to be an amazingly good input system anyway...
Edit: This seems to be the solution. Touchpal works fine with Japanese region settings, and its arguably a better keyboard anyway...
fhsieh said:
Please see the flinx1 thread for Japanese input for more information about the T9 bug:
http://forum.xda-developers.com/showthread.php?t=445550
It has to do with how LetsJapan sets all keyboards to 411 (Japanese), while T9 requires 409 (English) to work properly. You can revert the registry settings to 409+411 (see thread above), but you need to use the Ctrl+Shift shortcut to switch between keyboards (similar to Alt+Shift on Windows).
Emoji will require a special font, or HTML rendering provided by S!Mail. Are you perhaps referring to kaomoji? If so, kaomoji requires dictionaries to be updated/installed. Those will depend on what IME you're using: standard MS IME (LetsJapan), ATOK, WNN, or FSKAREN. I'm not sure which the Softbank SIP uses (usually ATOK or WNN), but only MS IME is free to distribute; the rest are commercial products and it would not be okay to redistribute them.
Click to expand...
Click to collapse
The problem with the flinx1 package is that while it works for displaying Japanese it does not always work with getting the IME installed correctly. I tend to change roms almost daily but I keep my flinx pack in my nand memory so I can just reinstall at a whim.
Problem is, you can't use the flinx package with the default qwerty input from HTC. You must install a separate IME. I have been using spb keyboard as it has a quick switch to Japanese. But for some reason, as of late, I have been unable to get Japanese input working with spb keyboard without going in to the full screen keyboard option. Of course zgembo's isn't offering IME with the qwerty input but it is offering a reliable input method; something I have been without for far too long.
When I finish at work, I will give zgembo's a shot. Looks like big shoes to fill. I also need to get my Softbank MMS working. I have set up a gmail account with smtp but it's a pain when you mail to phones and they are set up to block internet mail. I would love to go back to my @softbank.ne.jp account.
@zgembo
I am staying tuned, bud. I have set up my mail correctly before by following an fc2 blog but I noticed that after a few messages or if the message has emoji or an attachment, I get the evil "unable to decode header" error. What app will you base the work on? MMS Lite, arcsoft, other, self created?
hate to nitpick
if possible, would you be able to edit your first post and change X04HT and X05HT to 'X05HT and X04HT'? Just so that it's parallel with the line before it (Raphael and Diamond phones).
Kev, do you have the SB ROM on your TD? Do you have access to the MMS settings like on the WWE versions (Servers etc?)
The IME put up by ZGembo is awesome. I am already typing Japanese quicker than i was on my 705NK, and Kaomoji is a nice bonus. English is a bit more difficult than a normal Phonepad input system, but its *exactly* the same as normal Japanese keitai's with the benefit of word prediction (the bit that is the same is that each letter doesnt 'time out' so if you want to type "back" you press 2 twice, then right d-pad or a long press of the 'キャッチ' button to move on so you can press 2 once for 'a' and then again so you can press it 3 times for 'c').
DominikB said:
Kev, do you have the SB ROM on your TD? Do you have access to the MMS settings like on the WWE versions (Servers etc?)
The IME put up by ZGembo is awesome. I am already typing Japanese quicker than i was on my 705NK, and Kaomoji is a nice bonus. English is a bit more difficult than a normal Phonepad input system, but its *exactly* the same as normal Japanese keitai's with the benefit of word prediction (the bit that is the same is that each letter doesnt 'time out' so if you want to type "back" you press 2 twice, then right d-pad or a long press of the 'キャッチ' button to move on so you can press 2 once for 'a' and then again so you can press it 3 times for 'c').
Click to expand...
Click to collapse
Dom,
I currently have ITJE's TouchIT on my Diamond. It's a really nice rom. I got S!Mail working on WWE before but it was such a hassle I gave up. I just got home now and am in the process of uninstalling what's on my device now and uploading both of zgembo's files to rapidshare. I will PM it to zgembo and it will be up to him/her to post it.
I want to give the gesture entry a try for JP input. Can you use the same SIP for both IMEs?
I noticed that the letsjapan screws up the date in TF3D on the home screen (top left). I assume this is because the WWE rom lacks the japanese TF3D files. If you change your region to English (USA; or other English) your date will be fixed and magically the JP input still works great with prediction.
Zgembo, all your work finally paid off! Nice job!
Zgembo said:
2. Japanese Advanced IME
This is a new thing. It enables word prediction input in both English and Japanese, and unlike traditional WM5 & WM6 Japanese IME engines, SoftBank introduced this third party IME (Omron mobile wnn v2?) and integrated into its newer ROMs. After installation, KeyTouch IME will become default. It only works in portrait mode, and in the case of landscape mode, IME will change to classic romaji or kana input. Kensaku and Tegaki IMEs are included. Also, settings for Japanese keyboard layout are in this CAB, so if you are using some different layout, you are on your own (there are plenty of posts around which explain how to change this). This CAB is only for VGA (480x640) devices (Planning to make QVGA version too, stay tuned)​
Click to expand...
Click to collapse
Doesn't this violate their copyright? it's not supposed to redistribute itself nor is a default Japanese IME for Windows Mobile from Microsoft. but Softbank just paid money to Omron to ship it in their product. it's a kind of a proprietary software.
Kevbodian said:
I noticed that the letsjapan screws up the date in TF3D on the home screen (top left). I assume this is because the WWE rom lacks the japanese TF3D files. If you change your region to English (USA; or other English) your date will be fixed and magically the JP input still works great with prediction.
Zgembo, all your work finally paid off! Nice job!
Click to expand...
Click to collapse
Messes up how? (screenshot?)
All the WWE ROMs I've used come with MUIs for all languages (including Japanese). My guess is that LetsJapan is modifying the LCIDs (HKLM\nls) so that any non-ANSI Japanese programs can default to the corresponding codepage. TF3D will change accordingly, usually to 2009年02月18日 format (but that isn't exactly "screwed up"). You can of course customize regional settings (Settings > System > Regional > Date), and switch to English/西暦(英語) in order to change date localization back to English (for TF3D and other apps) while still keeping the device on the Japanese LCID/codepage.
Of course, I certainly haven't used every ROM so it's possible some chefs have removed all non-English TF3D MUIs, but you can't really blame that on LetsJapan.
fhsieh said:
Messes up how? (screenshot?)
All the WWE ROMs I've used come with MUIs for all languages (including Japanese). My guess is that LetsJapan is modifying the LCIDs (HKLM\nls) so that any non-ANSI Japanese programs can default to the corresponding codepage. TF3D will change accordingly, usually to 2009年02月18日 format (but that isn't exactly "screwed up"). You can of course customize regional settings (Settings > System > Regional > Date), and switch to English/西暦(英語) in order to change date localization back to English (for TF3D and other apps) while still keeping the device on the Japanese LCID/codepage.
Of course, I certainly haven't used every ROM so it's possible some chefs have removed all non-English TF3D MUIs, but you can't really blame that on LetsJapan.
Click to expand...
Click to collapse
Well, let's see. Flinx's pack doesnt do anything to the date display on the home tab of TF3D whereas every version of Lets I have tried, does. Flinx released a compatibility patch that is optional for his pack; once installed, it does the same thing to the date.
The thing that was happening to my date is like this:
Instead of saying: Feb 18, 2009, it would just change to 2 18, 2009. Again, this was easily fixed by going back to the English USA region. I did not claim that letsjapan screwed up anything that wasn't easily fixable by touching the screen a few times in the right places, nor was my remark about "nice job" in any kind of sarcastic tone. I wouldn't say I was placing blame anywhere.
As for the date thing... it's happened to me in every single WWE rom that I have tried installing LetsJapan on to. Again, this is fixed by changing the region or by installing TF3D tweak and setting the TF3D to japanese language altogether.
I have part 1 and 2 of zgembo's first post installed and all I can say is... fantastic.
The LCID keys that are included in the LetsJapan packs and in the optional flinx1 compatability patch are what cause TF3D (and any other app that relies on Regional Settings) to change the date format. It's a side effect, to be sure, and it will happen with all WWE roms, but it's not because LetsJapan (or the patch) are specifically affecting TF3D, nor is it because TF3D is missing 0411 MUIs.
I guess it's a choice of words; when you originally said "screws up the date in TF3D", I had imagined the date was somehow corrupted or illegible, and not simply a format change according to the LCIDs (which is normal).
At any rate it's amazing that WM, any windows for any system, is where it is now (just about 6.5) and IME is still such a pain in the ass. Why can't an OS just support this stuff without having to tweak so many little nooks and crannies. I just love the way the SIP that comes with our diamonds is simply incompatible with more than one IME.
Hi, I am new to all these stuff...
Is it possible to do with HTC S740 notouch model?
HTC: http://www.htc.com/europe/product/s740/overview.html
I wan enable Japanese read/write both Land/Potrait mode and how to turn on and off IME?
And also Softbank SMS/MMS
if some one can provide me the steps since I am newbei...
Thanks in advance
Thanks in advance
does anyone can help for my x05ht (Japanese keyboard)
Hi there.
I'm using x05ht which I bought cell phone in Japan.
so my x05ht keyborad layout is difficult to US Model.
and I was trying to search how to fix it in this forum.
then I found this thread.
I'm using EnergyRom1.6 Latest. then I tried to install
some software following step.
1.install the Rom
2.LetsJapanWM61r07.cab
3.KeyTouchJapIMEr07.cab
then I can type Japanese, and read Japanese.
But keyborad still doesn't work well.
which part should I edit (about reg or something relavent part.)?
I'm not sure, but when I using At0mAng Rom it works fine about keyborad.
especially now, function and some buttom isn't work.
when I push the fn button, then running calender. I also tried search any
thread about this problem. but usually I can't find the way to fix completely.
Best regards.
I was reading today about the MMS settings and it seems there are some registry hacks needed as well as a neat little browser called wasabi for enabling the yahoo keitai page.
Attached is said browser. Please note I am not the creator of this software and I found it at this link: url. I have not, as of yet, tried it either, so don't blame me if it doesn't work as I currently know only what I have skimmed on the above link.

More Hardkeys??? My Imagination....

Is there a way to enable more hardkeys using some software or virtualization trick???
playing Java games is a nightmare.
I use AEBPlus to map the volume up & down key to act as the Left and Right softkeys which is fine until you need to type in a name for your character in some games....
Another Thing:
why is there no good java emulator for HTC devices?
even a low cost, clone phones could run some java games while it does not run in jBed or jBlend. what gives??? i thought that PPCs would be more better in running java apps.
why not we all try to develop an input system for devices without hardware phone keypad?
------->Just my Imagination.............zzzz.......---------->
#let's suppose we coded a program abc.exe which runs in the background when executed...
#the abc.exe is, of course, configurable. we can map a hardware key, say, the long-press of call (green) button which will invoke the abc.exe which will display a phone keypad with a transparent background phone keypad and long-press again to send it to the background.
#say we run a jar midlet (java program) and need input for names...
#we long-press the call button which brings up the abc.exe application.
#we click on the number or letters and which gets typed into the java app.
wouldn't that be nice????
I was wondering that other phones having hardware keypads send a hex value to the os each time a key is pressed. As a whole, what we need is an app that interprets the input using a virtual keypad (the above abc.exe) and sends the required signal, hex, or whatever the program (java application) is bound to recognize and accept it as an input.
Knowledge/Tools Required:
#some knowledge in C++ or java.
#a utility for listening to keystrokes of devices with hardware keypad
#...............
#.................
until then, i dream on....and on.....
P.S: don't wake me from my dream to tell me that somebody has developed such software....
P.S: sorry if i am posting in the wrong section.
Actually buddy the prob u r facing has been already solved and also someone made one app just like ur imagination but i dont remeber the thread topic u can search if i again stumble upon it i will share

[Jellybean] Localised .kcm and .kcl files?

Hello XDAers,
I have been tearing my hair out trying to fix a localisation issue I have been experiencing with my Nexus 7 in conjunction with a HP Touchpad BT keyboard I purchased last week. While nearly all keys work properly (function keys aside, which I don't care about), there are a few important characters which are not displayed in the obvious way, and furthermore, the 'Alt Gr' modifier doesn't work properly (preventing access to key characters such as | and ~, heavily used in Linux, which is a huge issue for me).
Info on my setup:
Rooted w/CWM, standard kernel
Stock JB 4.1.1 ROM
The problem: The Touchpad keyboard which I purchased is in German, which is perfect for me as I am used to using a QWERTZ layout. However, I prefer to have my language set to English on the Nexus 7. This brings me to my conundrum; which .kcl and .kcm profiles does JB utilise by default when the German language is selected for the external BT keyboard? Thus far I have not been able to work this out. I have modified the default Generic.kcm as found in /system/usr/keychars/ but the characters printed are not affected by any change I make here. Its not a permissions issue, so please don't suggest this.
Any help is greatly appreciated!
Cheers,
0
Second that, would be handy to know.
Bumping this up. Surely there are others out here who experience the same issue? I don't want to go down the road of modifying my Generic.kcm / Generic.kcl layouts, as this is very bad practice, and should not be necessary.
I have found a great tutorial on ThriveForums, probably already referenced somewhere on here. It also deals with finding the device and product ID of your keyboard.
KeyTest app, by Chris Boyle
Android Source in regards to .kcm files
I will update more when I have had more time to research this. I want to create a real solution for other Android users who use an external nonstandard layout.
Regards,
0

Categories

Resources