Showing posts with label Symbian. Show all posts
Showing posts with label Symbian. Show all posts

Tuesday, November 2, 2010

Icons for Nokia S60 applications

The Nokia Carbide designer can be a bit of a pain in the bit for anyone like me that is used to the ease of Visual Studio.

I recently spent half a day trying to get icons to show up for my applications, but it just caused it to keep crashing. Luckily I found this: http://tamss60.tamoggemon.com/2009/07/14/bitmap-application-icons-for-s60-symbian/

Saved me more hours of frustration.

Thursday, October 28, 2010

Nokia Carbide Errors x 650

I am shockingly new to Nokia development. Like, as in I started learning on Tuesday and today is Thursday new. My only experience with mobile development before was on Windows Mobile 6 and CE, which thanks to the brilliance that is .NET, was a piece of cake.

Nokia C++ (for Symbian S60, 3rd Edition, Feature Pack 2) is not. For starters, there's no strings. Just descriptors pointing to lots of things. And only once you get your head around this will any programming make sense. This website: http://descriptors.blogspot.com/ made everything make sense. Consider it the "Nokia C++ programming bible" if you will. At least the gospels according to descriptors.

Anyway, there I was programming some examples, when I got errors. A lot of them. 636 to be exact:

Errors such as:
declaration syntax error
(included from:
C:\S60\devices\S60_3rd_FP2_SDK_v1.1\epoc32\include\e32cmn.h:8
C:\S60\devices\S60_3rd_FP2_SDK_v1.1\epoc32\include\e32std.h:13
C:\S60\devices\S60_3rd_FP2_SDK_v1.1\epoc32\include\e32base.h:8
I spent hours and hours pulling my hair out fretting over these hundreds of errors! Why could these examples not compile! I DIDN'T CHANGE ANYTHING.

And then I solved it. It was embarassing. Are you ready?

I named my files with an extension .C. Not the .CPP which is the norm for C++. Once I changed to .CPP everything work fine.

This children, is why you must have cafienne before programming.