Ariya Hidayat
Graphics Dojo
S60
Posted by Ariya Hidayat
 in Graphics Dojo, S60
 on Sunday, July 26, 2009 @ 13:09

I am not a frequent flyer, but I was told that interesting travel tools, especially for mobile phones, are valuable for those who fly a lot. Conveniently having your itenaries, the ability to track the status of your flights, getting the alert as the flight time changes, and so on, everything at your fingertip, is just one wonderful aspect of modern phone technology. After all, it is the matter of connecting people.

Right after I saw Qt/S60 Tower release some time ago, flight tracking example was one that came to my mind almost immediately (there were others as well, they will show up in the coming weeks). So here it is, I present you the code. Just do a git pull in your local Graphics Dojo repository (you do have it, right? Otherwise clone from the one in gitorous) and find it in the flightinfo subdirectory. Again, we have to thank Alessandro for the improvements to this little example and especially also for the videocast (watch in YouTube) he did, so that we can enjoy Flight Info in its glory:

The code is far from perfect but should serve as a nice basis for further improvement. The way the data is parsed is quite fragile, this could use some love. And because it uses FlightView as the back-end, you can only use it for flights from and to US. There are still few more useful exercises for the readers from this example. For example, the program does not have the ability to find the flight number given the route. This is however doable because FlightView offers that functionality, you just to have the right hook. Also, how about an integration with the previous Weather Info?

11 Responses to “Track your flight with Qt/S60”

» Posted by Nishant
 on Monday, July 27, 2009 @ 06:58

Brother… you really create applications…. i mean i have been using most of code of yours every now and then (flick charm, filck widgets).. leaves me wondering are you a permanent application developer?

» Posted by ariya
 on Monday, July 27, 2009 @ 07:18
Ariya Hidayat

@Nishant: Glad if you find the example code is useful! And not sure what you mean, but I am employed by Nokia working on Qt.

» Posted by Nishant
 on Monday, July 27, 2009 @ 08:42

>>I am employed by Nokia working on Qt.
no.. u are not working on Qt… you are working on Qt applications :)
thats what i ment.. :)

» Posted by detro
 on Monday, July 27, 2009 @ 09:53

@Nishant: I think that simply ariya, as any developer working on something “new”, builds apps to demonstrate the power of the platform. If it’s Nokia to commission him or just his own passion, doesn’t make much difference, as long as he passes us a “so good” code ;)

Thanks ariya! ;)

» Posted by james
 on Monday, July 27, 2009 @ 21:21

Can you forward this to whoever handles feedback.

Using Qt Creator on my laptop with resolution of 1280×800, the integrated Qt Designer is way too small to be usable. I have to use an older version of Qt Designer so that I can launch it independent of Qt Creator.

Please can you ensure future versions of Qt Designer can be launched separately from Qt. It is unusable within qt creator at 1280×800.

Thank you.

» Posted by james
 on Monday, July 27, 2009 @ 21:23

Typo - “separately from Qt” means “separately from Qt Creator”.

» Posted by Nishant
 on Tuesday, July 28, 2009 @ 00:54

In all above of my post i forgot the say the most important thing….Thanks ariya for your code.. !!

» Posted by ariya
 on Tuesday, July 28, 2009 @ 08:40
Ariya Hidayat

@james: Thank you, we appreciate your report, but please do not leave off-topic comments here (this blog is not for reporting bugs). We kindly ask you to subscribe to http://lists.trolltech.com/mailman/listinfo/qt-creator and post your questions or remarks there.

» Posted by jackson
 on Tuesday, July 28, 2009 @ 14:53

Thanks to your perfect work.Can I use this code in my shareware product.The code is under GPL license.

» Posted by ariya
 on Wednesday, July 29, 2009 @ 06:46
Ariya Hidayat

@jackson: As long as you comply with GPL, consult your nearest lawyer if in doubt.



© 2008 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners.