Tuesday, February 23, 2010

Qt and Symbian

After Nokia took over Trolltech in 2008, it has been foreseen that Qt would come to be part of mobile phone development very soon. Symbian and Maemo (now also known as MeeGo) developers are moving quickly to Qt for GUI application. Yesterday, I managed to start off my first Qt app before bid farewell to Symbian end of this month and the following info is my quick glance of Qt resources from Symbian developer perspective.

- Qt for the Symbian Platform (Product Overview)
- Using Qt and Symbian C++ Together from developer.symbian.org. This will guide Symbian developer to integrate Symbian to Qt more smoothly. The info in the page conveys the information e.g., Converting Active Objects to Signals & Slots, Converting between QString and Descriptor,Exceptions & Error Handling, et cetera.
- Qt Carbide.c++ IDE. To configure Carbide.c++ for Qt if it is prefered to QtCreator.
- Qt Creator with the Symbian Platform. Its build-in Help is superb.
- qmake Manual. Knowing of qmake to handle the project file (.pro) is mandatory. You need to know few extra specific parameters for Symbian, the manual will help you out.

-----------------------
We only part to meet again. ~John Gay~

Thursday, February 4, 2010

today's interesting blog(s)

A message from experience programmer to programmers:
20/20: Top 20 Programming Lessons I've Learned in 20 Years


Interestingly how the author could think of it from Fibonacci number point of view:Using Fibonacci Numbers to Convert from Miles to Kilometers and Vice Versa

You must read the discussion & comment below the article:12 Bonehead Misconceptions of Computer Science Professors

Thursday, November 12, 2009

HookLogger - Symbian debugger tool

Do you have memory leak or leave problem? Let's try this tool, HookLogger!

References:
http://developer.symbian.com/main/tools_and_sdks/developer_tools/supported/hook_logger/index.jsp

Wednesday, November 4, 2009

Setup Symbian environment

Symbian C++
1. Perl (e.g.ActiveState Perl 5.x)
2. Symbian SDK (S60 3rd Edition, S60 5th Edition)
3. OpenC/C++ plugin (for S60)
4. Carbide (Carbide.c++ v2.02) IDE for Symbian platform development.

Note
- The SDK and your source files must be located at the same drive
PyS60
References
http://wiki.opensource.nokia.com/projects/Installing_PyS60
http://developer.symbian.org/wiki/index.php/Python_Technical_Overview#Table1

Thursday, October 8, 2009

Gps Tracking on Google Maps/Goole Earth from Navigon


Navigon is probably the best navigation brand on-date. Several new products launched since 2008 are most known for several outstanding features such as Reality View, Terrain View, 3D City View, pedestrian navigation and multiple alternative routes. Recently, it was also added a new GPS Tracking features which allows the user to view the route on Google Earth and Google Maps using kml format. A feature which I would like my navigation to have which was known to be suported by Garmin navigation.
Open GpsTracking using Goolge Earth, simply click "File -> Open" on Google Earth to import the kml file. To use it on Google Map, you need to upload the file to internet, and copy the URL to the Search Box.

Friday, October 2, 2009

Variadic Macros

I ran into a problem of variadic macro __VA_ARGS__, the code porting from Windows when compling in Symbian. It issued the error "badly punctuated parameter list in `#define'" and caused "cpp.EXE" to stop with failure.

Google a bit and the solution was found under NewLC:
http://www.newlc.com/forum/variadic-macro-problem

An information about variadic macro for GCC was to be found here:
http://gcc.gnu.org/onlinedocs/cpp/Variadic-Macros.html