[Desire Themes and Apps] watercool:
Hi,

a few people asked me to post a how-to for swype.

First of all: i am a noob, my first contact with android was just a few weeks ago and i saw my first apk from the "inside" a couple of days ago. So there is for sure a much easier way (push the files directly to the phone) and a better way. Anyway, this works for me 100% and maybe this guide helps a bit.

Second: Sorry for my english, i hope it is understandable

Here we go:

What you need first:

- the newest Swype beta (currently it is Ver. 1.25.16.5612.t100 i think, which is only available with english and spanish language). -> swype-new

- an old beta with the desired language or keyboard style (f.e. german dict, french dict..). -> swype-old

The bigger the swype file, the more likely it has your desired languag, a 2,2mb file has mostly only English and Espagnol ;)

- Winzip (http://www.winzip.com/prod_down.htm)

- Java SDK for signing the new apk (f.e. http://www.chip.de/downloads/Java-SDK_12992754.html)

- this guide for signing an apk (http://www.anddev.org/viewtopic.php?p=11105) -> some "\" are missing in this guide, you'll see it..

1. Download Winzip, Java SDK and install it

2. Download the current and the old swype beta versions

3. rename both .apk files to .zip

4. open both zip files with winzip

5. go to the folder assets/files @ swype-old and search for your desired dicitionary, for example "German.zdb.le". Open swype-new and go to the same directory, delete for example the Spanish.zdb.le file. Now copy the German.zdb.le from swype-old the swype-new and rename it to Spanish.zdb.le.

6. got to assets/keyboards @ swype-old. Copy your keyboard layout (AZERTY, QWERTZ, Russian) to swype-new. If you don't know exactly which files you need, just copy all missing files from the old to the new one. There should be a bunch of files called for example Qwertz_PT_* and Qwertz_LS_*

7. Delete the META-INF folder from the swype-new version.

8. rename the swype-new.zip to swype-new.apk

9. Open a command prompt (cmd) and follow this guide:

http://www.anddev.org/viewtopic.php?p=11105

Obviously >D:ProgrammedevJavajdk1.6.0_07binkeytool -genkey -alias anddev.keystore -keyalg RSA -validity 20000 -keystore keys/anddev.keystore

should look like this:

D:\Programme\dev\Javajdk1.6.0_07\bin\keytool -genkey -alias anddev.keystore -keyalg RSA -validity 20000 -keystore keys/anddev.keystore

you need "keytool -genkey -alias anddev.keystore -keyalg RSA -validity 20000 -keystore keys/anddev.keystore" for the key and

"jarsigner -verbose -keystore keys/anddev.keystore -signedjar AndOpenStreetMap_signed.apk AndOpenStreetMap.apk anddev.keystore" for the signing process.

The apk should be signed now.

10. copy the swype-new-signed.apk to your sd

11. uninstall all previous swype versions and reboot.

12. install swype

13. activate swype via settings -> keyboard -> check swype

14. go into an EMPTY input field and do a long press -> input method -> swype

15. just to be 100% sure.. reboot :D

16. switch to Espagnol language (which has been replaced) by pressing the Q button

17. done :)

If you can not switch the language or if you have multitouch-problems, a reboot will fix this for sure (or 99.9% ..)

You can also edit your desired keyboard to the look you like, just open the corresponding *png and do what you want. The glow.png contains the color for the "highlight" when you press a button.

Do it at your own risk, this is really easy. As said: there are much easier ways to do this, but this works for me. There are some autosigning scripts for apk out there but for some reason they did not work for me (mainly cause i have no clue what i am doing here).

Here are some (veery simple examples):

edit: if anyone knows how to change the tracer color from blue to ??? please let me know, and how to edit the language dialog so we do not have to chose Espagnol to get the desire language :D

edit2: Tracer color: open the libSwypeCore.so with a hex editor, search for DDA25BFF, take your desired ARGB code and enter it there but reverse the pairs! so if you like FF00A5BF you have to enter BFA500FF.