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?
No related posts.
10 comments
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?
@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.
>>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..
@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!
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.
Typo – “separately from Qt” means “separately from Qt Creator”.
In all above of my post i forgot the say the most important thing….Thanks ariya for your code.. !!
@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.
Thanks to your perfect work.Can I use this code in my shareware product.The code is under GPL license.
@jackson: As long as you comply with GPL, consult your nearest lawyer if in doubt.
Comments on this entry are closed.