symbian

Get Forum Nokia Support and Development Tools for Cheap

Executive summary: For a short time, you can buy a Forum Nokia support and excellent development tools for cheap. Apply here using discount code "agile launch".

CppUTest framework. Symbian extension and example

Update: The users of some a bit exotic SDKs reported that they cannot build the example. The reason was the project file SampleTest.mmp. I updated it making the project file a bit redundant. Now example should be compilable on any S60 SDK.

CppUTest is a unit testing framework based on CppUnitLite and designed for the embedded systems usage. Lately it has been ported to Symbian OS used in Nokia S60 smartphones. The framework is xUnit compatible, extremely simple and easy to use. It can print the test results both to console and to a junit-like xml file (later I am going to investigate how well it can be parsed by standard junit output parsers).

Symbian extension. Usage example

Unfortunately, CppUTest package at the moment does not include a full-blown Symbian specific example and lacks support for such Symbian primitives as descriptors (Symbian strings) and leaves (Symbian exceptions).

The file attached to this post contains both. It is a simple and heavily commented example of using CppUTest in Symbian, that includes cpputestsymbianextension.h adding support for descriptors and leaves.

Compilable Symbian Code Examples

SymbianExample.com is eventually up and running. It took quite some time to restart it, but I am very much pleased with the results. It is build on the Drupal CMS 4.7 Beta 4. As it is still beta, I disabled comments - they work ok, but display error-like messages, when you post. They will be enabled whenever Drupal community releases the next Beta or RC of the 4.7 (sometime in February)

Nevertheless, the site looks great (as for me) and I am extremely pleased with the customization possibilities, to be enabled one by one in the close future.

And by the way.

Series 60 examples

Today I've spent several hours trying to locate a simple example for the Nokia's Series 60 3rd edition. And miserably failed.

At the moment I am developing my first 3rd edition application. It is also the first app, where I am going to use vector icons in the svg format (introduced in Series 60 2nd edition Feature Pack 3). Somehow in all my previous projects I did the non-UI components only and never bothered about the application wrap-up.

Today in the morning I found that even though I have access to a lot of 3rd edition applications, I don't have a single simple example. As you might guess the attempts to "intelligently copy" the existing code failed.

Welcome to SymbianExample.com

www.SymbianExample.com is up and running. In perfect accordance to the Agile Manifesto's "Working software over comprehensive documentation", design is far from perfect, e-mail is not functioning, no forum installed, but it is up and running. You can already find there a launcher of ExeDll projects and sample code for global key capturing (including a tricky case of long key press capturing).

Syndicate content