Dvorak mod for LatinIME - Android Software Development

I've modified the LatinIME kbd_qwerty.xml file to use the Dvorak keyboard layout.
It seems to work pretty well on my phone, a Nexus One running Cyanogenmod 6 Nightly 203.
I backed up the original LatinIME as LatinIME.orig incase anything went wrong, and then used adb to push this to /system/app (make it writable first).
I make no guarantee that this will work for anybody else, I just know it (mostly) works for me.
I would like to be able to create my own local with this layout xml file, but I couldn't figure out at all how to do that, so I just settled with modifying the kbd_qwerty.xml file. If anybody can explain how to create another input language or local, or show me a guide on how to do it, it would be much appreciated.
Installing this will remove the qwerty layout. It will also screw up your "input languages" option in your settings. In fact, if you go to that in the options, you won't be able to use the keyboard until you reboot.
So yes, it's very buggy, but this is the first time I've ever tried to do anything in Android, so it's the best I could do. Any help on making this a finished product would be much appreciated.

Screenshot here. Still playing with the top row, might add more symbols.
184.72.239.143/mu/4ac00b2c-3b48-86f5.jpg

Related

Non-English language support

Stock Android currently doesn't support Sanskrit/Hindi (Devnagri lipi Character Set). I see Square boxes like ☐ instead of characters अ आ इ ई उ ऊ on Unicode or UTF8 compliant Hindi websites. Even Google Hindi website doesnt open properly through my HTC Hero's stock Android 1.5 browser or any other browser like Dolphin, etc.
Has anyone figured out how to support Non-English fonts like Devnagri lipi (Sanskrit/Hindi) fonts in Android OS? I want to change my default font to see Devnagri numerals: ०,१,२,३,४,५,६,७,८,९ instead of Roman numerals: 0,1,2,3,4,5,6,7,8,9. I want my clock to use Devnagri numerals instead of Roman numerals.
Can someone please help?
prateekandroid said:
Stock Android currently doesn't support Sanskrit/Hindi (Devnagri lipi Character Set). I see Square boxes like ☐ instead of characters अ आ इ ई उ ऊ on Unicode or UTF8 compliant Hindi websites. Even Google Hindi website doesnt open properly through my HTC Hero's stock Android 1.5 browser or any other browser like Dolphin, etc.
Has anyone figured out how to support Non-English fonts like Devnagri lipi (Sanskrit/Hindi) fonts in Android OS? I want to change my default font to see Devnagri numerals: ०,१,२,३,४,५,६,७,८,९ instead of Roman numerals: 0,1,2,3,4,5,6,7,8,9. I want my clock to use Devnagri numerals instead of Roman numerals.
Can someone please help?
Click to expand...
Click to collapse
The problem is obviously with the font and Android being unable to recognize it -- which leaves me to believe that the fonts you're trying to use are UNI-CODE and actually should be TTF (True Type Face). However, I would try different variants of the font you're looking for. I did some searching and this is what I've found (below). I don't know what characters I'm supposed to look for, but the site I found seemed somewhat helpful and apparently they might have the fonts you're looking for. If so, you need to push the font files you find to your /system/fonts/ folder of your phone -- but HAVE to rename the the font files. One needs to be called DroidSans and the other DroidSans-Bold -- Case sensitive for both.
If you'd like -- I can make an update.zip file for you instead. All you would need to do however it tell me which font you are considering and either upload the font here or give me a link where I can download and package it. Hope that helps.
Just remember that IF and when you find the font file you need, that it has an .ttf extension -- which is where I think your problem is.
http://www.wazu.jp/gallery/Fonts_Devanagari.html
Click to expand...
Click to collapse
pseudoremora said:
The problem is obviously with the font and Android being unable to recognize it -- which leaves me to believe that the fonts you're trying to use are UNI-CODE and actually should be TTF (True Type Face). However, I would try different variants of the font you're looking for. I did some searching and this is what I've found (below). I don't know what characters I'm supposed to look for, but the site I found seemed somewhat helpful and apparently they might have the fonts you're looking for. If so, you need to push the font files you find to your /system/fonts/ folder of your phone -- but HAVE to rename the the font files. One needs to be called DroidSans and the other DroidSans-Bold -- Case sensitive for both.
If you'd like -- I can make an update.zip file for you instead. All you would need to do however it tell me which font you are considering and either upload the font here or give me a link where I can download and package it. Hope that helps.
Just remember that IF and when you find the font file you need, that it has an .ttf extension -- which is where I think your problem is.
Click to expand...
Click to collapse
Thank you for a prompt reply. The website you suggested is very helpful and I think Mangal or Arial Unicode MS are the best bet. It took me a while to find these fonts, sorry for a little late response.
Unfortunately, I could only find Mangal.ttf (201 KB) & ArialUni.ttf (22 MB) but not their respective "-Bold.ttf" fonts as you mentioned.
I can use Mangal.ttf in MS Office 2007 to write in Sanskrit/Hindi and it lets me format the text (bold, italics, resize, etc.).
Would it be enough to push this one font? Since Mangal-Bold.ttf is not available specifically.
Also, does pushing a font to ADB means that it overwrites the new font over the existing font in Android? Since we'll be renaming new font to already existing DroidSans.ttf. Or does it merge the two fonts?
I have attached Mangal.ttf (in a zip) to this post since that has a smaller size (201 KB) than ArialUni.ttf (22 MB). Would really appreciate if you could please create an Update.zip with proper files?
Thanks for your help!
prateekandroid said:
Thank you for a prompt reply. The website you suggested is very helpful and I think Mangal or Arial Unicode MS are the best bet. It took me a while to find these fonts, sorry for a little late response.
Unfortunately, I could only find Mangal.ttf (201 KB) & ArialUni.ttf (22 MB) but not their respective "-Bold.ttf" fonts as you mentioned.
I can use Mangal.ttf in MS Office 2007 to write in Sanskrit/Hindi and it lets me format the text (bold, italics, resize, etc.).
Would it be enough to push this one font? Since Mangal-Bold.ttf is not available specifically.
Also, does pushing a font to ADB means that it overwrites the new font over the existing font in Android? Since we'll be renaming new font to already existing DroidSans.ttf. Or does it merge the two fonts?
I have attached Mangal.ttf (in a zip) to this post since that has a smaller size (201 KB) than ArialUni.ttf (22 MB). Would really appreciate if you could please create an Update.zip with proper files?
Thanks for your help!
Click to expand...
Click to collapse
It's fine that you only found the regular font without it's bold counterpart. What can be done is that we'll use Mangal.ttf twice and rename it Droid-Sans.ttf as well as Droid-Sans-Bold.ttf. The system will accept it, though if you can find a font with both the regular and bold files, that would be nice.
Also, when you adb push the new renamed fonts into the /system/font folder -- they will indeed overwrite the previous fonts that were there. They will NOT be merged.
In anycase, I've created an update.zip file for you to flash. Tell me what happens.
pseudoremora said:
It's fine that you only found the regular font without it's bold counterpart. What can be done is that we'll use Mangal.ttf twice and rename it Droid-Sans.ttf as well as Droid-Sans-Bold.ttf. The system will accept it, though if you can find a font with both the regular and bold files, that would be nice.
Also, when you adb push the new renamed fonts into the /system/font folder -- they will indeed overwrite the previous fonts that were there. They will NOT be merged.
In anycase, I've created an update.zip file for you to flash. Tell me what happens.
Click to expand...
Click to collapse
Thank you for the file pseudoremora. Really appreciate it.
So if these new fonts will overwrite the previous fonts, I hope I don't loose my current stock fonts & style. Just for knowledge purposes; Did you manually merge "Mangal" font into stock fonts?
As far as I know, I would need to root my phone for flashing this file. I have never done it before. But I found steps for it on Unlockr (don't know if I can mention other websites on this forum). I am mentioning the steps below for other people's references, assuming these haven't changed:
Code:
1. Download the following file and then unzip it.
AsRoot2
2. Take the unzipped file and save it into the Tools folder of your AndroidSDK.
3. Plug your phone in via USB and do NOT mount the SD card.
4. Open the Command Prompt and type the following (hitting enter at the end of every line):
cd\
cd AndroidSDK\Tools\
adb devices
And make sure your phone’s serial number pops up (if not setup ADB & USB drivers).
5. Then type:
adb push asroot2 /data/local/
adb shell chmod 0755 /data/local/asroot2
adb shell
/data/local/asroot2 /system/bin/sh
6. Then type:
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
cd /system/bin
cat sh > su
chmod 4775 su
Although, I don't know how to unroot the phone after rooting it.
pseudoremora, I have been searching for steps on how to flash a file like "Mangal_font-signed.zip". But since "flash" is such a term that most search results are for Adobe Flash. Do you know any place with step by step instructions to do it for Sprint HTC Hero?
Also, if these fonts don't work. How do I go back to stock condition? Do I need to take some backup?
Thanks for your help.
prateekandroid said:
Thank you for the file pseudoremora. Really appreciate it.
So if these new fonts will overwrite the previous fonts, I hope I don't loose my current stock fonts & style. Just for knowledge purposes; Did you manually merge "Mangal" font into stock fonts?
Click to expand...
Click to collapse
You should have rooted first before thinking about anything else, but that's alright. Also, I did NOT "merge" the fonts... you can't do that. I overwrote the previous font with the Mangal one. Even if you flash a new font, getting the stock font back on is just as easy as adding a different one.
prateekandroid said:
pseudoremora, I have been searching for steps on how to flash a file like "Mangal_font-signed.zip". But since "flash" is such a term that most search results are for Adobe Flash. Do you know any place with step by step instructions to do it for Sprint HTC Hero?
Thanks for your help.
Click to expand...
Click to collapse
Before we go any further, its imperative that you root your phone and understand the in's and out's of flashing, using command prompt, and the installing recovery image. Also, you do own a CDMA Hero, for the Sprint network, correct?
All of the information you are trying to find can be found right HERE on XDA. The link will provide step-by-step guides that will walk you through everything you are trying to learn. I would advise reading them, following the steps the best you can, and then asking questions when you get stuck.
I can give the answers, however... with anything new, it's always best to let ones own curiosity invoke the learning process. Myself and others here are more than knowledgeable to help you any way, but even a beginner is capable of rooting there own phone.
prateekandroid said:
Also, if these fonts don't work. How do I go back to stock condition? Do I need to take some backup?
Click to expand...
Click to collapse
Upon rooting your phone and installing a recovery image, you will have the option to backup your phone and ALL its data. Secondly, if for some reason, you do in fact mess up and get to a point where you would like to start from the beginning (Go back to Stock), there is also an application for that.
So, for the time being -- don't worry about backing up your phone or even going back to stock, you need to focus on rooting your phone, installing a recovery image, making your first Nandroid backup, and then hopefully installing your first user created ROM.
As always, I'm here to help. Oh, one more thing... before you ask me, try to search the CDMA Hero threads, you'll more than likely find your answer. Otherwise, you can ask.
pseudoremora said:
You should have rooted first before thinking about anything else, but that's alright. Also, I did NOT "merge" the fonts... you can't do that. I overwrote the previous font with the Mangal one. Even if you flash a new font, getting the stock font back on is just as easy as adding a different one.
Before we go any further, its imperative that you root your phone and understand the in's and out's of flashing, using command prompt, and the installing recovery image. Also, you do own a CDMA Hero, for the Sprint network, correct?
So, for the time being -- don't worry about backing up your phone or even going back to stock, you need to focus on rooting your phone, installing a recovery image, making your first Nandroid backup, and then hopefully installing your first user created ROM.
As always, I'm here to help. Oh, one more thing... before you ask me, try to search the CDMA Hero threads, you'll more than likely find your answer. Otherwise, you can ask.
Click to expand...
Click to collapse
Thanks pseudoremora. Will do.
In case of an issue, I may have to bug you again.
PS: Yes, I do have CDMA Sprint HTC Hero with Google written on its back cover
prateekandroid said:
Thanks pseudoremora. Will do.
In case of an issue, I may have to bug you again.
PS: Yes, I do have CDMA Sprint HTC Hero with Google written on its back cover
Click to expand...
Click to collapse
Hope my last post didn't come as asshole-ish. That wasn't my intention. I'm just trying to get you in the mindset to always think about searching for the answer(s), before I step in and give them to you.
Also, you're not bugging me at all, I'm more than happy to help.
Good luck!
pseudoremora said:
Hope my last post didn't come as asshole-ish. That wasn't my intention. I'm just trying to get you in the mindset to always think about searching for the answer(s), before I step in and give them to you.
Also, you're not bugging me at all, I'm more than happy to help.
Good luck!
Click to expand...
Click to collapse
Na dude. You're fine.
So I am now rooted, recovered (v1.6.2), nandroid backed up (stock v1.5) & running DC v2.07.2. I flashed Mangal.zip. Good news is that I can now read Devnagri on Dolphin bowser. Glyphs are messed up. So instead of शिवाय it is showing शविाय. But its Ok, at least its readable. Better than ☐☐☐☐☐.
However, the bad news is that English characters are all bigger & spacier than normal. It looks so weird. Will attach a screenshot tomorrow.
prateekandroid said:
Na dude. You're fine.
So I am now rooted, recovered (v1.6.2), nandroid backed up (stock v1.5) & running DC v2.07.2. I flashed Mangal.zip. Good news is that I can now read Devnagri on Dolphin bowser. Glyphs are messed up. So instead of शिवाय it is showing शविाय. But its Ok, at least its readable. Better than ☐☐☐☐☐.
However, the bad news is that English characters are all bigger & spacier than normal. It looks so weird. Will attach a screenshot tomorrow.
Click to expand...
Click to collapse
Excellent! Seriously, that's amazing that you were able to accomplish everything I stated without having me helping you (not that I wouldn't have), but I'm sure you know that you get a great feeling once you accomplish each one of those things (I know I did when I first did it).
Again, great job!
pseudoremora said:
Excellent! Seriously, that's amazing that you were able to accomplish everything I stated without having me helping you (not that I wouldn't have), but I'm sure you know that you get a great feeling once you accomplish each one of those things (I know I did when I first did it).
Again, great job!
Click to expand...
Click to collapse
Dude, I am sorry for being MIA. I have been trying for a few days the merged font that I created using FontLab but it makes English characters so bloated that two lines start overlapping each other. For eg. if you are looking at a specific contact in people App, "Call mobile" text overlaps the cell number right below it.
Wats weird is that FontLab doesn't bloat Devnagri characters but only English characters. I dont know FontLab very well so dont know how to stop it from scaling.
I had to revert to stock font. S**ks!
Do you have any suggestion of some way to merge Stock font with Mangal font?
prateekandroid said:
Dude, I am sorry for being MIA. I have been trying for a few days the merged font that I created using FontLab but it makes English characters so bloated that two lines start overlapping each other. For eg. if you are looking at a specific contact in people App, "Call mobile" text overlaps the cell number right below it.
Wats weird is that FontLab doesn't bloat Devnagri characters but only English characters. I dont know FontLab very well so dont know how to stop it from scaling.
I had to revert to stock font. S**ks!
Do you have any suggestion of some way to merge Stock font with Mangal font?
Click to expand...
Click to collapse
I've never had to merge any fonts; but then again I've only had to read English.
I've never worked with Fontlab, so I'm not sure where to even begin. The reason however I think you keep having problems is because maybe the phone isn't understanding how to handle the merged font... so the Devnagri characters are okay, but the English ones aren't scaled correctly because they were merged or merged incorrectly? Again, I don't know, those are just my ideas.
I hate to say it... but it looks like you're either have to bare with it, choose one font or the other, or what I would do is contact HTC and see if they have native font or any font that they could recommend. I'm all out of ideas, so I don't know what to tell you. Sorry.
Try this
http://forum.xda-developers.com/showthread.php?t=798380
Replace only Fallback font. Do not touch DroidSans.ttf
Hope it helps
But there are issues in having hindi support in this way.
There is Samsung Galaxy phones with perfect hindi support in 2.1 and 2.2 versions of Android. Is there any way to get the Language pack or Hindi IMI from them. And have heard Android 2.3 has bulit-in Hindi language support. But I don't know how to install it.
Opera mini can read hindi font
Opera mini can read hindi font
click here
pseudoremora said:
The problem is obviously with the font and Android being unable to recognize it -- which leaves me to believe that the fonts you're trying to use are UNI-CODE and actually should be TTF (True Type Face). However, I would try different variants of the font you're looking for. I did some searching and this is what I've found (below). I don't know what characters I'm supposed to look for, but the site I found seemed somewhat helpful and apparently they might have the fonts you're looking for. If so, you need to push the font files you find to your /system/fonts/ folder of your phone -- but HAVE to rename the the font files. One needs to be called DroidSans and the other DroidSans-Bold -- Case sensitive for both.
If you'd like -- I can make an update.zip file for you instead. All you would need to do however it tell me which font you are considering and either upload the font here or give me a link where I can download and package it. Hope that helps.
Just remember that IF and when you find the font file you need, that it has an .ttf extension -- which is where I think your problem is.
Click to expand...
Click to collapse
Problem is most of the world has now moved to the unicode fornts from google transliteration which has become defacto standard due to ease of use. If that helps. Any help would really be very useful.

REQUESTING HELP Editing and creating NEW flipfont APKs

I have been working on this issue for most of the day over in the Vibrant forums.
I am posting here in hopes of getting someone who knows more about apk editing and fonts then I do to help out.
Link to the post on the XDA Vibrant forum here
Please post your response there. Once the issue is solved I will repost a walk-through on all Galaxy S forums.
Here is the start of my thread, please read the link to see the progress.
I am aware that there are other ways to edit the fonts on our phone, by replacing renaming the default font. This is NOT what I would like to accomplish.
Since the Galaxy S is the first android phone to use Flipfont, I think we should take advantage of it. It gives us a nice preview of the font in the built in menu option and is thus superior to the other methods.
I originally purchased the Bauhaus font from the market and made a backup of it through ASTRO. After pulling the file from my phone and putting it on the computer I started editing the file with Apk Manager 4.8 found here
Steps preformed
Copied original apk into place-apk-here-for-modding folder
Run script.bat and choose option 9 ***this maybe where the issue is as I may need to choose option 10 and include the dependancy if there is one for the flipfont apk.
replace bauhaus.ttf with a .ttf font of my choosing
edit all XML, yml and smali files to include the font name or font.ttf depending on the entry in the original file *** I did not change any of the other coding so again this maybe where the problem is, as I may need to change something else to have the font act properly.
Edit the last folder name in the smali folder tree from bauhaus to the name of my font
Replace font with custom font and replace the preview image with my own
Compile apk
Sign apk
Rename apk
install apk on my phone
After putting the apk on my phone and installing the file, it shows up as expected in settings>Sound and Display>Font style. The font thumbnail shows up properly as does the font preview. The preview does show up a little larger then the other fonts and may be a sign that the font is not optimized properly or that I missed something in the XML.
After applying the font and restarting, the phone is extremely slow, freezing quite often and the font does not show up, it shows the default font instead.
If anyone that knows more about XML or apk editing/creation can help it would be great.
I have included the edited font apk if you would like to download it and run it through Apk Manager 4.8. If you want to try it with the bauhaus or one of the other fonts you will need to buy it from the market and back it up. (trying not to break any rules here.)
[EDIT][More info] Ok I took a closer look at the font that came with the Bauhaus akp
In the discription of the font it list:
OpenType Layout, Digitally Signed, TrueType Outlines
I know that opentype is a new format and that alot of the fonts for OpenType that I find are made by Monotype, the same people that make the fonts available for download. I think this may have something to do with it or maybe Im just grasping. :ºp
Any font guys out there have any info on this?
CAUTION THE FOLLOWING FILE IS NOT MEANT FOR USE AND WILL CAUSE YOUR PHONE TO RUN SLOW!!!
Download Font APK
You only can use .ttf (true type font) any other type will not work,if you have a font u want to use but is not in .ttf then you need to convert it to .ttf, btw i prefer the Type Fresh app to manage and change my fonts is easier than the method you described.
Also, make sure the font has a full latin library. I learned the hard way from the TypeFresh app (which is a way better solution IMO). In its instructions which I only read the second time, one font (i believe its called DroidSansFallback.ttf) needs to have a COMPLETE set, including latin, I believe for certain coding going on somewhere. I bricked my phone within two hours of rooting it. Took three to get it back. (Backup people!)
Anyways, now I use TypeFresh, it gives you options on which system font to replace, and I never replace that one.
Hope this helps.

Swype Problem: HD2 with Android

The main installation for swype went perfectly fine and it shows it being installed. I can go into language and keyboard settings and its there. The problem is when I go to Keyboard Types: Swype doesnt show up as an option to use. Ive done the tutorial and it works fine. I just cant find a way to enable it to use for text messaging as its not showing up as an input option. Any help would be greatly appreciated. Thanks!!
copy the apk in a folder on your pc and extract it
go inside the folder /lib/armeabi/ and you find this file
libSwypeCore.so
copy this file on your leo sd card
boot up android and with rootexplorer cut/paste the library file inside the folder /system/lib
reboot
after this, swype should be in your inputmethod choices
If the copy of this file is not allowed (and the system show up a message like "read only filesystem" and such things), I think you have to do this operation with a terminal with root permission (inside android, on your pc with adb shell, on a linux pc, and so on)
Otherwise, the way that can't fail is:
on your pc (a linux pc would be better) mount the system file in a folder, do the cut/paste operation, umount the system file, reboot android
Hope this help (and hope you understood what I mean ... sorry for my english)
Regards
kind of crazy way to do it (previous post)
The correct way would be that once you install swype, you have to enable it, before you can select it as an input option.
Once installed, go to settings, then language and keyboard, and simply put a check mark in the swype box.
Then go to something like messaging, long press the text input box, and then select input settings. you should then see swype as an option.
Happy swyping.
if it works, throw some thanks my way.
Lord60 said:
kind of crazy way to do it (previous post)
The correct way would be that once you install swype, you have to enable it, before you can select it as an input option.
Once installed, go to settings, then language and keyboard, and simply put a check mark in the swype box.
Then go to something like messaging, long press the text input box, and then select input settings. you should then see swype as an option.
Happy swyping.
if it works, throw some thanks my way.
Click to expand...
Click to collapse
Thats the problem though. Once installed, I enabled it. Everything seems golden at this point right? Tutorial screen pops up, blah, blah, blah. Go into messaging, text input options and theres all the input options displayed
*Qwerty
*Phone keypad
*Compact Qwerty
But Swype doesnt show up at all as an option. The radio button is still selected with Qwerty. I followed the previous posters solution though and it now works. Still doesnt show up in the Keyboard Types which is odd but at least its working.
What build are u using?
if ur using htc sense u have to adb push the file into ur system/apps folder

[GUIDE] Add/Remove Languages to swype keyboard

How to add/remove languages to swype.
Preparation
* Get a tool capable of working in zip files. I use WinRar. WinZip, Total Commander or anything else should also work.
* Get a Swype Version which works on your device (QVGA for Galaxy 3). Install and test it! This is your base - it has to run propperly so you customize it. You can find swype keyboard swype inside a stock rom.
* Check your swype version & download a swype (With any resolution).
* When i refer to "dummyfile.apk", that is always meant without quotation marks.
Customization
* When you find your swype that suits to your device, we start. I refer to it now as "myswype.apk"
* Open "myswype.apk" in WinRar/Total Commander/Winzip/WhateverYouLike - we wont unpack it, we work inside it.
* Delete the "META-INF/" Folder inside "myswype.apk"
* Go to "Assets/Files" inside "myswype.apk"
* Each standard language consists of 3 Files here: "Language.htm", "Language-full.htm", "Language.le" - some complicated languages like korean may consist of up to 5 files.
* Delete the Languages you dont need.
* Dont delete anything else! Important files are "languages.lst", "license.dat", the two "Numbers-XX-Latin1.zkb.le" files, the four "QwertX-XX-Latin1.zkb.le" files and all .png's!
* Now copy additional languages from the other swype with the languages you want here. Of course it is in the same location: "theotherswype.apk/assets/files/" - remember: 3 files per language!
* Open "languages.lst" in any text editor - even notepad will do! (I use Notepad++)
* Write a list of Languages you wanna use here. The name to use is the name of the .htm file without .htm. This is case sensitive!
* The Contents of the original language.lst as an example: "EnglishUS,Spanish,Italian,PortuguesePT,German"
* Open "helplanguages.lst" in any text editor and repeat above steps
* Delete unneeded keyboards from "assets/keyboards/". The "SwypeRef*" are QWERTY default, the rest is self-explaining like QWERTY or AZERTY. There is no way to see what language needs what keyboard. You either know or you have to test.
* Delete chinese help-file from "res/raw/dict_pinyin.mp3". It's only needed if you use chinese.
* Recheck all your steps and close your zip-tool!
Optional: Customize Skin and Sound
* If you wanna change the skin, modify the .png files at "myswype.apk/assets/keyboards" - the other .png files in the .apk are only for tutorial and help.
* There are some skins at XDA forum, which already made it to a custom .apk file.
* The one and only soundfile, played when typing or finishing a word, is located at "myswype.apk/res/raw/beep.mp3" - change this if you like
Finalization
* Download a sign tool from xda (Auto-apk-tool v1.0.7 its nice)
* Open it and press "10". Drag "myswype.apk" to the command and press enter.
* A file will be created (myswype_signed.apk).
* Thats it! you are done! install the .apk and have a nice day!
Troubleshooting
* If you find your language not working, that usually got one of 3 Reasons:
* You messed something up. Recheck your "language.lst" and "helperlanguage.lst" file and see if you have all needed language files in "assets/files"
* Your language is not allowed by our included license file. That happens a lot with new languages like the Chinese in 2.10.52. Users reported workarounds with renaming the language to some supported language. Like renaming Serbian to Croation.
* The language files you got are not supported by the latest swype version. Rule of thumb is, 1.x swype language files wont work with 2.x language files, but 2.x language files are compatible with each other. As far as i know this rule applys in most but not all cases. So search for another swype version containing your desired language and try that file.
* We obtained another license file. Right now, it is unknown which languages it supports, but it is from swype 2.7 asia galaxy s. the license we currently use is 2.4.44 based. give it a try, it might work with your language. please also give feedback, which language works/doesnt work. copy it it "assets/files/" and overwrite the exiting license.dat
* Swype languages from swype 2.XX dont work on swype 3.XX!
kyrillos13 said:
* If you wanna change the skin, modify the .png files at "myswype.apk/assets/keyboards" - the other .png files in the .apk are only for tutorial and help.
Click to expand...
Click to collapse
Kyrillos,
is it enough to resize the keyboard images from the other APK, or is there other trickery?
debaj said:
Kyrillos,
is it enough to resize the keyboard images from the other APK, or is there other trickery?
Click to expand...
Click to collapse
I havent tried it but it will work
I have installed Swype 3.xx from official site and procedure. Licensed.
Worked at first but after reboot, it started giving FCs. Nothing else can be done with anything related to swype now. I do have the apk backed up. Using that backed up apk, i re-installed it but now it says Invalid License and will work with limited functionality. which is basically no swyping at all!!
How do I get it to work again???
I did a search for "Auto-apk-tool v1.0.7" but results showed me only earlier versions.
Where can I get the version you mentioned?
jinxskore said:
I have installed Swype 3.xx from official site and procedure. Licensed.
Worked at first but after reboot, it started giving FCs. Nothing else can be done with anything related to swype now. I do have the apk backed up. Using that backed up apk, i re-installed it but now it says Invalid License and will work with limited functionality. which is basically no swyping at all!!
How do I get it to work again???
I did a search for "Auto-apk-tool v1.0.7" but results showed me only earlier versions.
Where can I get the version you mentioned?
Click to expand...
Click to collapse
Hm, you installed the swype.apk? sign apk with the auto apk tool http://forum.xda-developers.com/showpost.php?p=13254186&postcount=2
Thanks. Will try n let u know...
used your guide to add engish uk to wqvga on us english only. it worked perfectly have now integrated this uk only swype into my jpq! ty!
kyrillos13 said:
Hm, you installed the swype.apk? sign apk with the auto apk tool http://forum.xda-developers.com/showpost.php?p=13254186&postcount=2
Click to expand...
Click to collapse
Not working.
Used AutoApkTool you provided. Signed my Swype 3.xx.apk. Got a resulting Swype 3.xx_signed.apk.
Copied to SD.
Then using Root Explorer, copied apk to /system/app
Went to Locale & Text...
Saw Swype Settings (but the was no "Enable Swype" checkbox)
Tried entering Swype Settings. Gives force close.
Uninstalled!!
Went to SD. Tried installing directly by clicking on the Signed.apk.
Installed like any normal app.
Went to Locale & Text...
Saw Swype Settings (this time, there was "Enable Swype" checkbox also)
Checked it.
Entered Swype Settings. Language, audio & vibration were grayed out, cant select (not that i want them though )
Went to text input box, new message compose.
Selected Swype as Input Method.
BACK TO SQUARE ONE. "Invalid License. Will have limited functionality"
Cant SWYPE at all!!!
Yeah. If you take swype beta, you need a licence (which mean you need a cracked swype 3 qvga). So you can take one from a rom, or you should find one (type "mobilism swype" in google)
kyrillos13 said:
Yeah. If you take swype beta, you need a licence (which mean you need a cracked swype 3 qvga). So you can take one from a rom, or you should find one (type "mobilism swype" in google)
Click to expand...
Click to collapse
haha. Oh. is it? LOL
KK. will try that again.
Would I need to sign the new apk from mobism?
And what install method would you prefer?
Click install or Root Explorer method?
Thanks for previous help and thanks in advance for reply.
kyrillos13 said:
Yeah. If you take swype beta, you need a licence (which mean you need a cracked swype 3 qvga). So you can take one from a rom, or you should find one (type "mobilism swype" in google)
Click to expand...
Click to collapse
haha. Oh. is it? LOL
KK. will try that again.
Would I need to sign the new apk from mobism?
And what install method would you prefer?
Click install or Root Explorer method?
Thanks for previous help and thanks in advance for reply.
EDIT:
It works! It works! It works!!!! Thanks man. U the MAN!!!
But I didnt use the QVGA, I used the WQVGA one.
Didnt sign it again as I saw it was already signed.
Installed it like any other app.
Exellent guide. 5 stars . Thanks
how can I get Swype Keyboard v3.25 from your rom? Do I have to install it first and then find swype on my Galaxy 3? Can sbd upload it here?
I know this thread is probably forgotten (which is a shame, its great) but I feel like responding regardless.
1. Extracting Swype from a rom:​
windows- "Disk internals linux reader" can do apparently do it for windows. Thanks -Vinne2-
linux-extract factroryfs.rfs from the rom .tar. in a terminal cd to the folder with the file, then run (as root)
Code:
#mkdir mount
#mount -o -loop factoryfs.rfs mount
now the folder mount will be like the system folder in yourt phone, so go to the folder app and copy Swype.apk somewhere else.
mac - I don't have mac experience, but I think there might be a method similar to the one above for linux
Phone
Flash the rom, copy the file from /system/app/ (of course)
Put factoryfs.rfs on your sd card, do the same as for linux (isn't it great when your smartphone can do something that windows cant )
2. Installing your Swype​If you want to install it as a system app, you also have to put libSwypeCore.so in /system/lib. You can find libSwypeCore.so in the Swype apk in the lib folder. If you do this you can also delete the lib folder from the apk to save more space!
You can install it like a normal app (will go to data).
3. Signing the apk / -linux​There is no auto apk tool for linux so I made this script (well I didn't actually make it, I stripped down APK manager, so credits to Daneshm90( java is required, and I guess a chmod 755 may be necessary.
Extract, place the apk as Swype.apk in the "Swype-signing" folder, then run the script
Code:
$chmod 755 Script.sh
$./Script.sh
P.S. There was something else I wanted to say,... oh yeah, I dont know if I can post Swype here so if somebody wants it, I can send them the one from kyrillos's cm7/gingy rom (the 20+mb one with a lot of languages), just pm me and hopefully I'll see it soon afterwards .
I still have the feeling that I'm forgetting something
eidt: forgot the attachment
edit 2: forgot that our phone is linux based, updated the part about getting Swype.apk from a rom
stubborn_d0nkey said:
I know this thread is probably forgotten (which is a shame, its great) but I feel like responding regardless.
1. Extracting Swype from a rom:​
windows- I dont know of any method. I dont think windows can access .rfs files.
linux-extract fa(...)
Click to expand...
Click to collapse
Try "Disk internals linux reader". http://forum.xda-developers.com/showpost.php?p=21569967&postcount=298
since I'm using Galaxy Tab 7.7, don't really know where to ask but here goes... My phone have Swype and I'd like to add additional language in Swype. How can I do this?
Followed all the steps, but
getting force close when trying to use
If i am trying to install from apk(and not by file delete and copy) I get "application not installed.
What can I do?
I want to add hebrew to my swype on Galaxy 3
Hey chaps,
the Swype that comes with any Samsung is version 3.26.92.39150, it comes with many language options but with no arabic. This guy has an earleir version of swype with arabic. http://forum.xda-developers.com/showthread.php?t=1588906
Can you please do me an apk file with arabic files from the link above into a swype of version 3.26.92.39150? Thanks. I tried the steps from the 1st post, but it aint working. I even tried this but did not work:
Rename arabic files to greek ones, and replace the original greek files, in a plan to select greek, but get arabic. but it aint working.
Please advise.
I have a Samsung Note 3 with Swype that allows me to download some additional languages, does anyone know where those language files are located? Thanks.
awdrifter said:
I have a Samsung Note 3 with Swype that allows me to download some additional languages, does anyone know where those language files are located? Thanks.
Click to expand...
Click to collapse
same question.
I'm trying to add portuguese language using swype "add language" function but every try show me "error" so I want to download manually the language dictionary and also add manually to the direction/file where could be located and be "readable" by swype.
Thanks in advance for your help

keyboard for rooted NSTGL

I have read a number of posts here trying to install a different keyboard, and would really like to get hackers keyboard working.
I have tried a number - GoKeyboard doesn't work, ICS is way too large on my nook screen.
Jellybean keyboard is working well, but it doesn't have direction keys (left right up down)
I really like the look of Hackers Keyboard - but cannot get it to install successfully.
I have copied the apk for various versions of hackers keyboard into the /system/app/ directory - but none of them can be seen by the Input method. Select Input Method - can only see Android Keyboard and the others mentioned - but it doesn't see Hackers keyboard.
I have rebooted, but still not seeing it.
Any suggestions?
Hackers Keyboard
Just realized the Jellybean keyboard also doesn't have a DONE button.
Any suggestions on what else I can do to get Hackers Keyboard working?
Hackers is working for me. It does require a couple of one-time special actions to get it going. I don't remember everything but all I did was google.
I think the secret bits were just copy the apk to /system/app and give it 644 permissions, maybe click on it in root explorer after that to install, then use nook color tools to select the new keyboard.
There might be another step in there like run the hackers keyboard app from the app list or launcher, and select configure input methods, but when I try that it just crashes back to the launcher.
Once you load hackers once, you can use the settings key to pull up the hackers keyboard settings and specify that the settings key is always visible, that the full 5 row keyboard is always used, etc.
It's not my favorite keyboard but it has arrow keys (in the 5 row mode) and F-keys (from the alt key in the 5 row mode agsin) and you can disable popups and predictions and corrections to make it faster and more e-ink friendly. I have not found a keyboard I fully like on the nstg but I prefer hackers to stock at least.
Sent from my EVO using xda premium
SlideIT keyboard
I never did get hackers keyboard working, also not gokeyboard and a number of others.
But I did get SlideIT Soft Keyboard by Dasur working - and I love it. It is possible to adjust the size of the keyboard and thus keys making it visible. Though it doesn't have the arrows keys, which can be an issue. It works with google voice which was my main problem with the stock android keyboard.
As usual, you need to copy the .apk file into the system/app folder.
I've only been able to install one of the ICS keyboards by copying the apk from /data/app to system/app immediately after installing. Ever since then, however, I haven't been able to get any keyboard apks to copy over to the appropriate directory -- I simply get a "failed" error. When I checked the permissions of /system/app I see that it is not writable for some reason. I've tried unchecking and re-checking the 3rd party apps in the Nook Color Tools but that did not correct the issue. Anyone encountered this before?
ozlo said:
I've only been able to install one of the ICS keyboards by copying the apk from /data/app to system/app immediately after installing. Ever since then, however, I haven't been able to get any keyboard apks to copy over to the appropriate directory -- I simply get a "failed" error. When I checked the permissions of /system/app I see that it is not writable for some reason. I've tried unchecking and re-checking the 3rd party apps in the Nook Color Tools but that did not correct the issue. Anyone encountered this before?
Click to expand...
Click to collapse
It sounds as though you need to mount the system for Read-Write. It is probably in Read-Only mode.
I use ES file manager to do this - go to the root settings in the settings menu
AFter you have finished, be sure to set back to Read-Only mode
ladykayaker said:
It sounds as though you need to mount the system for Read-Write. It is probably in Read-Only mode.
I use ES file manager to do this - go to the root settings in the settings menu
AFter you have finished, be sure to set back to Read-Only mode
Click to expand...
Click to collapse
Yep, you are right. I couldn't find any root settings in my copy of ES file manager, so I installed Root Explorer which I'm familiar with and it got the job done.
FYI, with some keyboards it looks like you need to reboot after you copy the .apk into the /system/app directory for them to show up in the list of available keyboards.

Categories

Resources