Windows CE 6.0 Offcially Lanuched

November 4, 2006

Windows CE 6.0 was officially launched 1st of November.
There was also a virtual launching event with training session and labs.
The major change is to the kernel and the tools.
Finally we are free from the 32MB VM per process. Hooray!
If you been developing memory intensive applications, you know how pain-in-the-ass this limitation has been.
Now we are given 2GB of VM per process.
Also platform builder is integrated into Visual Studio 2005.
I just hope its supported for Windows Mobile Adaptation Kits, too.
Here are some links related to the new version of the OS.

Windows Embedded CE 6.0 Launch event recorded

The CE6 OS differences in a nutshell

The CE6 tools differences in a nutshell

CE6 Virtual Launch keynote: post 1

CE6 Virtual Launch Keynote: Post 2

CE6 Virtual Launch Keynote: Post 3 (Q&A)

Technorati Tags:


The ‘X’ button behavior on Windows Mobile OS

October 19, 2006

There is a post about why the ‘X’ button on the Windows Mobile application window does not close apps.
It minimizes the applications and the OS closes unused apps as memory decreases.

Windows Mobile Team Blog : The Emperor Has No Close

Reading the post helps me understand better why MS does it this way.
Frankly, I didn’t like it too much and some say its a design flaw.
At least from my experience the OS does not handle low memory scenarios very well.
If it did people would complain less about the X button behavior.

powered by performancing firefox

Windows Mobile Application Checklist

October 10, 2006

Below is a check list for features that need to be considered when developing applications for Windows Mobile.
It was made based on the Pocket PC Phone Edition and it’s by no means complete.
Please just use it as a starting point for making your own version.

Make your your applications fuctions properly in follwing scenario or events.

– incoming phone call
– receving SMS/MMS
– OS events and notification bubbles
– backlight
– going to sleep (include by force using power button)
– button input from the earphones
– shell or slider open/close
– key lock(hold)
– device lock
– switching screen orientation(port. <-> land.)
– low battery
– insert/eject memory card

[Performance & Stability]
Performance issues that need to be checked often during development.

– physical memory used and how it is allocated
– virtual memory used and how it is allocated
– check for memory leak
– CPU load is as expected
– when app. is minimized or at the background does it perform unneccesarry operations?
(This maybe fatal to a Smartphone device)
– initial loading time of application
– UI response time (Does it feel too slow?)
– low memory condition should not crash or make the application behave in unexpected way

– is VS2005 project properties properly tuned(e.g, stack size should be set to 64KB)

– application should run over 25 hours during hopper test

Search for THE UnitTest Framework

September 29, 2006

I’m currently trying out Test Driven Development with some of my team members who are interested.
I’ve been looking for a unit test framework that is easy to use and light weight.
I’ve looked at CppUnit first since it is the most popular but it seemed difficult to use and the framework seemed to be too heavy.
I was looking for a framework for C/C++ that can support both Win32 development on the desktop and on a Windows Mobile(or Windows CE based) device.
I don’t know of any but I wanted something that can be ported to Windows Mobile with minor work.

During the search I came across a good article comparing 6 popular(?) frameworks.

After reading the article I tried out CppUnitLite and thought this was what I wanted.
Although it lacked some features like providing fixtures or test suites, I figured I could add the featured I’ve needed myself.
The framework was very lightweight and it seemed to be easily portable to any plaform.

After doing more searching I’ve found that the guy who wrote the article above also modified CppUnitLite and released it as CppUnitLite2.

Even more searching lead me to find that he and a few others evolved the framework and released it under a new name called “UnitTest++”.

After experimenting it a little I knew this is the framework that closely matches what I’ve been looking for.
It was easy to use just like CppUnitLite however there were enough features added to make a good use of it right away.
It wasn’t very lightweight but it’s not heavyweight either and it seemed perfect for my(or our) needs.
I’ve setup a new Windows Mobile 5.0 project on Visual Studio 2005 and tried building the framework.
I only had to comment out 2 functions that does not exist on Windows CE based device and it built successfully.

I’m planning to cover little bit more about my experienced on the framework on several following posts.

Swap .h/.cpp in Visual Studio 2005

September 27, 2006

Here is a great macro for swapping between .h and .cpp files.
I’ve alwys wanted somethings that makes this easy. I din’t know there was a nice macro for this.

BorisJ’s Blog : Useful Code: Swap .h/.cpp


September 24, 2006

Welcome to my new blog on path to becoming a better developer. I’m currently a software engineer developing applications for Windows Mobile devices at an OEM. Lot’s of the topics I’m going to cover will be related to my developement environment.