Wednesday, April 22, 2009

Blackberry lets me down one more time :(

After my push registry incidence with blackberry , i thought that was my last mishap with blackberry and there will not be anymore just wait and see scenerio .

Yet once again the demon of blackberry has haunted me. And this time it has outdone itself.

What i was trying was to see whether i can add localisation concept in my one of the small application.

I made a phrase book which has around 25 phrases in english and i was thinking of using localisation concept and translating these 25 phrases into all readily available languages.

For my first draft i target Hindi,Herbrew,Arabic and Albanian language.

Also as i was making this project in j2me i had no issue with porting it on blackberry. Polish was there for me.
Anyways when i started developing this one lame project( initially i thought it will be one day work) , i first tried to put the translations in a txt file , and then had a hearty laugh on myself. Text file wont understand a thing about hindi as that font is not readable by it.

So , i said to myself " no issue dex, lets try the unicode thing". That is make a file in unicode format and read it that way. So when i read that file in UTF 8 format the system does not try to apply its mind and render it the way it is.

Voila it worked on my symbian device( I have one N72 and nokia 5000).

So here i thought all done in one day i can simply make a build for blackberry and give it a look.

And then my whole world of programming got cursed.

None of my UTF file worked on blackberry. My code seem to read them properly but when i displayed the contents, it was showing everythin in blocks.

Initially my guess was that blackberry was having issue in reading UTF file, but when i digged internet a bit on this issue , i came to know it was not the UTF it was the RIM who was putting curses on me one after another.

The issue here was unavailbility of different languages font.

Even if we enter any text in UTF format, to display it the device needs to have that specific font.

I dont know how but the lowest device on nokia seems to be having all the fonts which i was targetting but Blackberry dint even have the basic fonts except the languages it said it supprted which were all english based.

So here again am doomed and am thinking what can i do. I looked for UTF renderer for blackberry but found nothing. I looked for font installer and found nothing.

Am still on it but am not hoping alot . May be blackberry should start thnking in global perspective if they are hoping and are actually trying to get their devices to the masses.

Lets see what happens.

follow me