Posts from September 2009

Changing HTC_IME language to Danish and other languages

This blog post is not relevant anymore since a new version of HTC_IME is out with big changes. See more in the blog post covering this.

Prerequisites are to have had started the program once, so that it has made the configuration files and a properly installed AndroidSDK on you computer.

OK, so there are two ways of achieving this. On ROM’s that support Danish as a system language you should go choose that in Settings>Locale & text>Select locale, here you will find your language. Change to it and HTC_IME should also be in that language as well. Super easy. Now you might want to have the UI language to be English. If you change it back to English in the Locale picker, the HTC_IME language will revert to English also, which you don’t want if you want Danish word prediction.
What we have to do then is to echo “en” to /data/property/persist.sys.language, which contains the information about what language the user UI should be. This is done by executing following commands in your command line.

adb shell
echo en > /data/property/persist.sys.language
reboot

You can also do this without changing any locales and change the settings only for HTC_IME, and not making them system wide.
This is done by pulling the configuration file for HTC_IME to your computer, editing it and pushing it back.

adb pull /data/data/com.htc.android.htcime/shared_prefs/com.htc.android.htcime_preferences.xml . (remember the dot!)

edit the line saying <string name=”keyboard_language”>x<?string>, where x is the value we need to change to 8 to get Danish dictionary (see bottom of post for other languages). Save the file and push it back to the phone and reboot.

adb push com.htc.android.htcime_preferences.xml /data/data/com.htc.android.htcime/shared_prefs/com.htc.android.htcime_preferences.xml

Now you only need to either reboot the phone or change the layout to Compact QWERT and back and you should have your chosen dictionary and word prediction. This ofcourse works for other languages aswell. Here are the following values that seems to work for the last method:

English 0
Arabic (Egypt) 14
Arabic (Israel) 14
Czech 7
Danish 8
Dutch 11
Spanish 4
Finnish 12
French 1
German 2
Greek 17
Italian 3
Norvegian (Bokmål) 10
Polish 13
Portugese 5
Romanian 16
Russian 6
Swedish 9
Turkish 15

This was tested on CyanogenMod 4.1.11.1 and up and will most likely work on other ROM’s aswell. Also notice that it will keep saying English in the Settings menu.

Latest version of HTC_IME for donut can be aquired on XDA-developers – thanks to Cyanogen.

Focus – a great prog rock band it seems!

I’ve been browsing around YouTube and have been listening to a load of bands that are new to me, among these I found Focus – A symphonic progressive rock band from the Netherlands. This band seems to be quite known around the world, even though I’ve never heard of them before. But to you who might think: “OK, get to the point, how do they sound like?” Here is a taste of the greatness of Focus! The first song is Hocus Pocus and is quite funny because of the Yodeling and the second song is quite different and called Eruption. Enjoy!

And to those who want to know more here are some links for you:

FOCUS at ProgArchives.com

FocusTheBand.com – The official home page

So I have decided!

I want this blog to be a bit more active, I have been a bad blogger for some time, because I have been blogging quite rarely. So I have decided to blog some more; force myself to blog at least once a week about stuff, may it be about Android or Linux or even about what I am doing currently at DTU. So get excited because the first new blog is near!

New host for the blog, GoTekky!

My brother and I share the same host, and have been experiencing some problems with the old one, which was Gigahost.dk. Their MySQL service didn’t work as well as intended, and often just did not work.

Therefore we decided to get our own Virtual Private Server (VPS) at GoTekky.com, which is a server host, who has their servers located at CANIX. So now we have got a small VPS with 128 MB RAM, though 256 MB bursted, 15 GB harddisk space and 100 GB bandwith pr. month. All this costs 60 USD each year, which is very cheap considered you can do practically anything with the server! The server is by the way running CentOS with Kloxo panel, which seems to work very well!

First impressions with Android and BFS.

Yesterday I tried out the newest version of Cyanogen’s experimental branch of his ROM, which includes a lot of new features and code from Donut, but also a lot of nice Linux kernel tweaks such as BFS, which is a scheduler aimed towards slow hardware. It seems that it looks up to it’s promise because the experience with the Linux kernel with BFS was pretty good.

Everything about the whole system feels a lot snappier. Menues are not choppy, scrolling the app list is fluid, switching between the desktops is painless aswell. Execution of applications is very fast aswell! I really hope that Google implements BFS or a simillar scheduler in their future kernel releases, because this really kicks ass. And with the new HTC Tattoo comming with a more optimized CPU, I think it will kick a lot off buttocks when it gets combined with a better scheduler.

So all in all. BFS is awesome. If it does not work for you as I state, you might be doing something wrong :D

Read more about BFS

Read more about Cyanogens ROM

Import a contact list from a CSV file to your Android

If you keep a spreadsheet file with all your contacts you can easily import them to your phone. This is done by uploading the CSV file to your gmail account where you import it.

First step: Save a CSV file

Follow the Gmail Help page, which describes what your columns are supposed to be called and so on. Save the file to a CSV file.

Second step: Importing the CSV file to Gmail

  1. Sign in to Gmail
  2. Click Contacts (located below your list of views) on any Gmail page.
  3. Click Import in the top portion of the Contact Manager.
  4. Click the Browse… or Choose File button and locate the CSV file you’d like to upload.
  5. Select the file and click the Import button.

If some of the fields in the CSV file are left out Gmail will tell you why. Also a smart thing is to make a Category for your contacts, this way you can delete them all again if you made a big mistake.

Many thanks to Google Android Bruger Blog!