The Airsource Blog

Articles in the BREW category

Using ILogger

It's strange how many BREW specialists you can talk to who have never used ILogger. It's not hard to see why, though: the API reference only sometimes tells you the details of how to use it, and while the ILogger overview notionally tells you what it does, you have to read it very carefully to figure out how to use it. And when you find out what it does, it doesn't seem like the most appropriate thing to use. Read more…

DUMA Release

As promised, here's the release of DUMA for BREW, announced at BREW 2007. It's a library that helps debug memory problems, and Airsource have ported it over to to BREW. Download it here - it includes a test program, and full documentation of how to use it. Read more…

DUMA Release Date

I know that some of you out there have been waiting for our release of DUMA for BREW, which we announced in our talk at BREW 2007. We're still finalising the documentation for this - but it will be out on Tuesday 17th July. Check back here then, and in the … Read more…

RVCT 3.0 Released

If you've been paying close attention to the grapevine, you will have noticed that today ARM has announced the release of an upgrade to the RVCT toolchain for BREW. For those who aren't aware, RVCT gives BREW developers access to a version of their ARM compiler, linker and associated tools … Read more…

Floating Point on BREW

Pretty much any BREW developer knows that you can't use floating point. Or, to be more precise, you can't use floating point without jumping through a few hoops. You essentially have three options Read more…

Why doesn't my BREW project work on this machine?

I had a client call me yesterday; he'd built a BREW application (most of the code provided by Airsource) on one machine, and it wouldn't run on another. It ran on all of our machines, so this was a bit difficult for us to debug, until eventually we tried it on a pretty much vanilla VMWare partition - and it wouldn't start. "Unable to start application" chirped the simulator, leaving us none the wiser. Read more…

Write Once, Run Anywhere?

Spent a couple of days this week chasing down a crash on a pre-release BREW 3.1.5 handset. The handset rebooted when I exited my application, which was, err, not ideal. It turned out that the crash was caused by releasing (and thereby destroying) an IROOTFORM while handling EVT_APP_EXIT. Remove that line (and leak the object) and the crash went away. Clean up a whole bunch of other objects? Still no crash. Read more…