Get TouchLockPro at SourceForge.net. Fast, secure and Free Open Source software downloads

sensors

Custom Search

   5. History, how things started


5. History, how things started

I had an old (large, according to my children) mobile phone, only for emergency use (mostly my mobile phone was off). But the battery would not last very long, after several years. I was also not a gadget freak, but was looking into a general purpose phone, which included GPS and navigation. So I was searching around may 2008 for a replacement. I would like a Mobile Phone with a large screen and resolution. Around that time QVGA (320x240) was the standard. Then the Sony Ericsson Xperia was already announced. A VGA screen (640x480) was part of it. Unfortunately, it would take some time before that phone was coming on the market. But well, the HTC Touch Diamond was also announced around that time, with a lovely specification. And it was so small, it would fit in my pocket. Yes, that would be my next phone! And in June 2008, when the Touch Diamond was available in the Netherlands, I bought one, including a bundle and internet. Actually, it was almost just as cheap as if I had bought it without bundle and internet.

The first official ROM's suffered from memory leaks. But after version 1.93, this sort of problems was gone. Actually, I do not use the TouchFlo3D interface, I use just the Windows Mobile Today screen. And of course, the advantage of a Windows Mobile device and the Touch Diamond, you can do a lot of tweaking. Of course then XDA-Developers is the place to learn about tweaking and programs for your phone.

I wanted to learn Windows Mobile programming. So I came across a locking program which uses gestures for locking/unlocking. Surfsmurf, author of SensorLock posted the source code of that locking program. I did some small changes in the source code of SensorLock and surfsmurf integrated my improvements in subsequent versions of SensorLock.

Then I started with my own different approach, locking with the Stylus only, resulting into StylusLock. Other locking solutions now also supports unlocking with the Stylus. More improvements were made by me, a BattClock was introduced in StylusLock. The disadvantage of StylusLock was that you could not unlock the phone one handed. So I started to think how to unlock by different means. By introducing it, I gave StylusLock a different name, TouchLockPro, because it was no longer operating with the Stylus alone and it was also working on other types of phones. The Light Sensor will automatically unlock when the lighting conditions are not too dark. In too dark conditions, you can use the hidden feature of the Touch Diamond and Pro, namely a capacitive touch sensitive area above the hardware keys. This area will not react on e.g. stylus touches, but will detect finger touches. This is demonstrated in a Youtube video, showing the HTC's Nav Debug Tool. I made a proof of concept CapacitiveFingerLock (with source code).

I also posted the source code (see download section). Hope you will learn something from it and you are inspired to make great programs too. At the end programming Windows Mobile is not so difficult if you have programming experience. Prerequisites for programming:

  • Visual Studio, Express editions are free, but cannot be used for Windows Mobile programming
  • Windows Mobile 6 Professional SDK (free)

    See Smart Development for what is supported by which version. I used myself Visual Studio 2008 Professional SP1. Also check the Development Resources for Windows Mobile (on the Development and Hacking XDA thread) Note that TouchLockPro is written in C++ and TouchLockAction in C# (and deployed using .NET Framework 2.0).

    Enjoy the software and source code (see download section).

    Donate PayPal > USD / EUR

       6. Changelog