RSS
 

iPhone OS 4 SDK, the iPad Mania today.

27 Jan

So here we go again, another new product from Apple and the Internets will be getting crazy tonight. A humongous iphone will be great for web surfing on the sofa if nothing else.

But what I am excited about is the background processes in the new sdk (which they are yet to announce, hopefully). Finally we can have some useful applications. What I would want is a nokia step counter kind of software. I already have it on my Nokia E72 and it is so useful. I have my daily goal set to 10 km of walking.

So just waiting for the new sdk to be posted on to the web and weeks of endless night hacking ahead. Time to market is the key.

 
 

Nokia should enable third party developers to submit apps to ovi store.

11 Dec

Nokia should get its act in order if it seriously wants to compete with google & apple. One big thing that I dislike about Symbian and Maemo phones is the inability of independent developers to make money out of it. This is where apple has succeeded and might be one of the big reasons iphone has been so successful.

Take symbian, I can not even afford to get my applications signed for distribution[1], it adds up to 300 euros every year just for administration fees then further more money when you submit an application, and every times it is tested, which can easily cost you hundreds, this is just too much, sorry I am not buying.

For Maemo, well, there is no ovi store, yet! but what does it cost to install applications on the Nokia N900? so i did some searching and it seems[2] maemo uses the standard debian debs, and using debsign is enough and you don’t have to pay any one, much like android. So this would mean once the ovi store is launched for the N900, it could be a good option since Qt is now available for maemo as well. However the mentality of the average user of maemo will be that of a hacker and I am afraid they might not pay money unless the software is extremely good, in other words they are not idiots like most of the iphone users.

But since Symbian has the most install base Nokia should get more developers onboard by making it easier, it just costs too much right now.

The Maemo powered Nokia N900

The Maemo powered Nokia N900

http://developer.symbian.org/wiki/index.php/Complete_Guide_To_Symbian_Signed

http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Packaging%2C_Deploying_and_Distributing

 
 

Compiling Qt4.6 with OpenSSL Support on Windows with MingW

01 Dec

The Symbian port of Qt is a blessing, no more head banging. Work will be so much easier. The best thing about using Qt for Symbian development is that you dont need to use Carbide or the Emulator, you can use QtCreator to do most of your work. So I downloaded the 4.6 and before I can use it to continue my QFacebookConnect library, I need to compile it with OpenSSL support enabled. You have to do a lot of googling/binging to get that information. Well here is how you do it:

in the command prompt:
SET LIB=c:\openssl\lib\mingw;%LIB%
SET INCLUDE=c:\openssl\include;%INCLUDE%
SET PATH=c:\openssl;%PATH%

now go to the Qt source folder and execute the configure.exe like so:

configure.exe -openssl

and finally
mingw32-make

and here a nice demo of qt4.6 while it compiles for you.

 
 

Nokia N900

29 Nov

Maemo seems to be getting good reviews all over, Nokia shows off SNES on N900, quickly thinks better of it — Engadget. But lets not forget Palm’s webOS also dazzled people and it is currently better that Maemo 5 in some aspects, but it has not gotten much traction, yet.

I am getting a N900 in a couple of days, but I am not planning to do any major development, if any at all for Maemo yet. That is because there is currently no easy way to sell your apps for Maemo i.e. there is no Ovi store for Maemo yet. But most importantly I just hate Gtk/Gnome/Hildon UI which Maemo5 is built upon. If I was to say I hate C it would be very close to truth. I think of C as a uncivilized savage beast (a beast, not a mouse).

Another thought I have about this n900 is how much they are promoting its multitasking capabilities, multitasking does have its benefits, but in small portable  devices, where speed and performance is very important, multitasking can create problems. So now I think iPhone’s approach is better, there is only so much you can do on a 600MHz processor. I think Apple will eventually introduce multitasking, but not like we have it in the existing smartphones. I believe at some point in the future the iphone os will allow ui-less apps to run in the background, but only one ui app at a time. I think they will have a approval process with conditions like how much resources etc an app uses.

 
No Comments

Posted in nokia

 

Idiotti!

23 Nov

Just look at these bunch of hypocrites : A storm is brewing at Best Buy. They have killed so many species to extinction ( whale, dolphins, tuna, etc etc … ) and yet they have problems with Muslim festival of Eid Al-Adha. May be they should stop eating meat as it does not grow on trees, you have to kill an animal to get meat, and USA might be the biggest consumer of meat.

This is just racism/hatred against Muslims.

 
 

Apple hits back at Verizon in new iPhone ads (video) — Engadget

23 Nov

I often think that Apple’s marketing team or may be the whole Apple company are a bunch of gay guys who are always looking at the mirror. I am saying this because I am so pissed at Apple, my macbook the piece of shit broke down last week, the audio doesn’t work any more and its also coming apart. My sub 500$ acer was longer lasting than that 1000$ piece of crap.

Now they come up with this stupid shit: Apple hits back at Verizon in new iPhone ads (video) — Engadget. WTF ? my 100$ phone has been able to do that since 2006, bunch of idiots.

 

porting Facebook Connect for iphone to Qt !

22 Nov

For a past couple of weeks I have been working on porting the facebook connect for iphone to Qt. Since Qt is going to make it big in next few years thanks to both Symbian 4 and Maemo 6 using it as their UI library, it makes a lot of sense to have a facebook  connect library for Qt, but since Facebook cares mostly about the platforms popular in the USA, which are iPhone and may be Android ( though there is no facebook connect for Android ) I took it upon myself to port this to Qt and learn objective-c and sharpen my Qt skills along the way.

the repository is hosted at http://gitorious.org/qfacebookconnect

Currently the project is in copy / paste / compile mode. But once I have all the files compiling I will optimize it for Qt. Please have a look and join if you are interested !

 
4 Comments

Posted in Qt, iphone

 

Halal eating in Helsinki: Habibi, Forum Helsinki City Center.

21 Nov

Another great and convenient place to get some good halal food in Helsinki is Habibi, the setup is like a fast food restaurant. So naturally the prices are cheap as compared to Fez, in fact very cheap. They have a Halal sign right at the face the shop, usually chicken is always halal, but as always its best to ask them. The staff can speak English, Finnish and probably Arabic as well.

So try it sometimes :)

 
No Comments

Posted in Islamic

 

Introducing www.namaz.me

19 Sep

One problem I have always had was getting the Namaz/Salat times for the place I am at a certain time, now there are web sites which give you that information. But there is too much hassle involved in getting the required information. You first have to select your country, then your city and then you are bombarded with lots of advertisements and so on.

I thought that there must be a simpler way. I was aware of the new w3c geolocation api, which is available in firefox 3.5 and in google chrome ( with a certain google plugin, in other browsers as well ). So I decided to use that API in browsers where it would be available, and use IP Geolocation ( from ipinfodb.com ) to get the latitude and longitude position where I am at a certain. After that it is just a mathematical equation to get all the prayer times.

The user interface of the web site is very simple, infact I copied the iphone UI. But the application should theoretically work on all mobile devices ( iphone, nokia, samsung, htc etc ) on all desktop browsers ( firefox, chrome, internet explorer, safari ).

I tried to use w3c geolocation api as much as I could, but for example its not possible to use in safari, internet eplorer, older versions of firefox so then IP geolocation is used. Like wise only iphone and android devices currently support the w3c geolocation api ( android uses google gears ) so for Nokia s60/s40, Windows Mobile, and other devices IP Geolocation is used. Also the opera mini browser is officially not supported and probably never will be, the reason for that is because opera mini uses its servers located in Norway to fetch the data, and www.namaz.me will always think that the user is in Norway. Same is true also for skyfire.

IP Geolocation is not accurate, in some cases it can be only as accurate as the country level.

So do give www.namaz.me a try and report bugs etc.

 

c++ std::string

10 Jul

the c++ string or more specifically std::string is a great improvement over the c-strings which are null terminated. c++ strings use a length fields to keep track of how long the string is as compared to c-string which use the NULL ‘\0′ character to keep track of where the string ends.

The c-strings have been around for so long and are used in so many places that when people start to use the std::string they get confused. For example today i wanted to use std::string to hold binary data, i knew that this was possible but i couldn’t figure out how. Then stack overflow came to the rescue. This question is explained very well there.

Thanks Stack Overflow :)