Category Archives: Symbian

Farewell to this blog

I no longer write Symbian code, work as a CS researcher and might not even be quite as angsty as before. I’ve written a post-mortem on the technology that was Symbian. New blog posts will live on my new blog. … Continue reading

Posted in Symbian | 2 Comments

E32USER-CBase 65 misdocumentation

The SDK documents E32USER-CBase 65 as The panic is raised as a result of a call to the Pop() and PopAndDestroy() static member functions of the CleanupStack class. The panic occurs when an attempt is made to pop more items … Continue reading

Posted in Symbian | Comments Off

Inspecting UI state / windows /controls on Symbian

On Win32 and other windowing systems you can walk the window tree and ask windows for their type, state, contents etc. On Symbian there is no such built-in introspection. However, it is possible to get access to a lot of … Continue reading

Posted in Symbian | Comments Off

Symbian HTTP POST and KErrCorrupt

This is something I guess everybody who writes a HTTP POST using MHTTPDataSupplier goes through… (at least that’s what it looks like on the forums). I didn’t find a clear answer so I thought I’d write it down myself. GetNextDataPart() … Continue reading

Posted in Symbian | Comments Off

Example SConstruct for googletest + tip on UI tests

This slots into a project based on hello_openc from scons_symbian import * target = “googletest_main” targettype = “exe” libraries = ['libstdcpp', 'libc', 'euser'] # Static libs staticlibs = ['libcrt0.lib'] uid3 = 0xA0001314 sources = ['../src/googletest_main.cpp', '../../../third_party/googletest/src/', '../../../third_party/googletest/test/'] includes = [‘../data’, … Continue reading

Posted in Symbian | Comments Off

Heap/leak checking googletest tests

Leak checking is part of good programming practice (as leaked objects normally point to bugs in general). Symbian has its leak checking macros, but they aren’t completely trivial to use with Googletest (googletest has been designed with a whole-program reachability-based … Continue reading

Posted in Symbian | 3 Comments

Googlemock 1.4.0 works on Symbian!

Googlemock – arguably the best C++ mocking framework now works on Symbian (winscw and gcc-e – I haven’t tried rvct). Although I’m obviously biased I really recommend it for all your mocking needs. Requires a recent OpenC. If you have … Continue reading

Posted in Symbian | Comments Off

Automated UI testing for Symbian – capturing visual output

Automated UI testing is annoying in general and Symbian doesn’t really provide anything to make it easier. There are many aspects to testing UIs, but one is testing the actual drawing and layout. A necessary conditions for such tests is … Continue reading

Posted in Symbian | Comments Off

A Forum Nokia Champion once again

I was one of the very first round of Forum Nokia Champions in 2006. Last year (in the autumn of 2008) I was not re-selected, which is pretty understandable as I had not done anything externally visible since joining Google … Continue reading

Posted in Symbian | 1 Comment

Symbian programming pages updated for 3rd edition

I finally updated the Symbian Programming pages for 3rd edition. The major update is that the source code pointers now point at the Jaiku S60 client (rather than the old ContextPhone sources), which is fully ported to 3rd ed. After … Continue reading

Posted in Symbian | Comments Off