Mobile Signature - This application is part of the author's "30 Days of .NET" initiative to develop 30 mobile applications in 30 days. The source code of the application is included in order to help programmers new to Windows Mobile development write applications in .NET.
You know sometime someone tells you about something, and you can tell there is a whole lot more to it than they are telling you about. Well, signature capture for Windows Mobile is one of those things. It's really not bad today and you can do it in one sitting easily now. But there was a time, when if your life depending on it you might be able to get it right. At least we have managed code now. A fewofus attempted to do this feat in embedded Visual Basic years ago and I'm surprised it didn't cost us our sanity. Oh the humanity…
You could do it you just had to copy each color pixel by pixel and save it into a bitmap, and that was a challenge too. And GetPixel() had to be the slowest function call ever. It took at least a second. No way, you were going to give someone a full screen to put there signature.
Office 2007 might have 2007 features in it. And it works for Office 2007, well to a point. But with Windows Mobile applications less is more. Don't get me wrong I really do think Mobile Signature would make a great feature in a more complete application. But as far as the feature of taking a signature on a mobile device this is a great approach.
Also note that Mobile Signature could be easily adapted into a drawing application, and so on, especially for kids.
Let's talk about UI first. Notice how much space is dedicated to taking the user's signature. This is important; I've seen almost the reverse before and that just isn't very usable. I took a little extra time and care to make sure all control had a black border around them,expect the black color square. It has a gray border.
One thing to note is a wanted the user to be able to tell what color they would be writing in without having to draw on the screen. This is accomplished by having the borders around the active color flash on and off. This is a great visual effect that was easy to implement with a timer. We track the currently active color in a form level variable, and on the timer tick event, which happens every 500 ms, we toggle the visibility of the border around the active color. Works great! Check it out!
The menu is another area that is simple but you can learn from it. Save is very important to us, so it is prominent and has it own hardware button that can cause it to occur. On the menu we have an option for clearing the screen, showing the about form, and exiting the application. But we also have a menu option to change the size of the line we are drawing with. It can be set from any of the following: 1 pixel, 3 pixels, 5 pixels.
The core of the application is the code that actually draws the lines on the screen. One area of code that is worth checking out is the code to save the bitmap of the signature. It's pretty advanced and powerful.
Like it? Share with your friends!
If you got an error while installing Themes, Software or Games, please, read FAQ.
Supported operating systems:
Windows Mobile 2003, Windows Mobile 5.0, Windows Mobile 6 Classic, Windows Mobile 6 Professional, Windows Mobile 6.1 Classic, Windows Mobile 6.1 Professional
Other Software by developer «Chris Craft»:
Prize Picker Prize Picker - This application is part of the author's "30 Days of .NET" initiative to develop 30 mobile applications in 30 days. The source code of the application is included in order to help programmers new to Windows Mobile development write applications in .NET.
There is probably someone out there who doesn't think this is the best looking application ever
What Is My IP? What Is My IP? - This application is part of the author's "30 Days of .NET" initiative to develop 30 mobile applications in 30 days. The source code of the application is included in order to help programmers new to Windows Mobile development write applications in .NET.
You may have seen sites like WhatIsMyIP.com, IPChicken.com, and my favorite IPCow.com
SMS Logger SMS Logger - This application is part of the author's "30 Days of .NET" initiative to develop 30 mobile applications in 30 days. The source code of the application is included in order to help programmers new to Windows Mobile development write applications in .NET.
I've had a lot of requests for SMS related applications
Trippr Trippr - This application is part of the author's "30 Days of .NET" initiative to develop 30 mobile applications in 30 days. The source code of the application is included in order to help programmers new to Windows Mobile development write applications in .NET.
You've probably already figured out what this application does
GPS Clock GPS Clock - This application is part of the author's "30 Days of .NET" initiative to develop 30 mobile applications in 30 days. The source code of the application is included in order to help programmers new to Windows Mobile development write applications in .NET.
I couldn't resist creating another GPS related mobile application
Mobile Weather Mobile Weather - This application is part of the author's "30 Days of .NET" initiative to develop 30 mobile applications in 30 days. The source code of the application is included in order to help programmers new to Windows Mobile development write applications in .NET
MobileInfo MobileInfo - This application is part of the author's "30 Days of .NET" initiative to develop 30 mobile applications in 30 days. The source code of the application is included in order to help programmers new to Windows Mobile development write applications in .NET.
Information is power. And with the .NET Compact Framework we can have all the information we want
Mobile Speedometer Mobile Speedometer - This application is part of the author's "30 Days of .NET" initiative to develop 30 mobile applications in 30 days. The source code of the application is included in order to help programmers new to Windows Mobile development write applications in .NET
Mobile Quiz Mobile Quiz - This application is part of the author's "30 Days of .NET" initiative to develop 30 mobile applications in 30 days. The source code of the application is included in order to help programmers new to Windows Mobile development write applications in .NET.
Today we are going to look at another classic goal in Mobile development, data collection