Click here to learn
about this Sponsor:
Home  |  News  |  Articles  |  Polls  |  Forum  |  Directory

Keywords: Match:
Hacker finishes .NET app-a-day marathon
Jul. 07, 2008

On Jun. 1, software developer Chris Craft pledged to write 30 Windows Mobile applications in 30 days, publishing both executables and source code. Now, Craft has successfully completed his "30 Days of .NET" marathon, and plans to spend the next month publishing Visual Studio 2008 tips.

(Click here for a larger view of Chris Craft's latest Windows Mobile application, Trippr)

"I've given many presentations on developing Windows Mobile applications, and heard time and again that people have a hard time writing their first," Craft blogged at the beginning of June. "It's easy to think that it will take too much time, but that's not the case."

To prove it, Craft -- a frequent speaker and Microsoft Windows Mobile device application development MVP, and a founder of South Carolina's Pee Dee River area .NET User Group -- pledged to write one Windows Mobile application per day for the next 30 days. "My goal is for each to be useful, interesting, and straight-forward. Someone considering writing their first Windows Mobile application should be able to look at these applications and 'get it'," he said.

Added Craft on Jun. 2, "One goal is that I write each application on the day I publish it. That really doesn't leave me any room to spare. I'm not sure I can do it, but that's part of the fun and challenge."

Appropriately enough, he began on that day by posting an application called Minutes to Midnight (below left). When run, the app shows how many minutes, hours, and seconds are left to midnight, using a series of progress bars.


Minutes to Midnight (left), Trippr (middle), and GPS Compass (right)
(Click images for further information and to download)

By the end of the month, Craft had reached his goal of creating thirty different Windows Mobile applications in as many days. On Jun. 30, he posted Trippr (above middle), an application that uses a device's GPS hardware to calculate its position, then uses the Flickr.NET API to download photos that were geotagged as having been taken in nearby locations.

Rather than accessing a phone's GPS hardware serially, Trippr uses Microsoft's GPS Intermediate Driver, a hardware abstraction layer, notes Craft. His GPS Compass application (above right), posted on Jun. 4, used the same technique to calculate a device's bearing in degrees, then display it on a compass graphic.

As the above programs suggest, Craft has created some useful applications that go beyond the rudimentary demos that might have been expected. We've reviewed his work and picked a favorite application from each of the weeks -- over and above the programs already mentioned, that is.


Mobile Capture (left) and Mobile SMS Contact (right)
(Click images for further information and to download)

A highlight during the first week was Jun. 6's Mobile Capture (above, left), a screen capturing utility. This useful application features full-screen or area capturing modes, hardware key support, a timer, and the ability to take multiple pictures in a row, according to Craft.

From week two, we especially like Mobile SMS Contact (above, right). This application permits typing in a single SMS message, then sending it to multiple Outlook contacts who have a mobile number specified. A built-in filter allows messaging just personal contacts, or just business contacts, though refinements such as adding individual contacts manually have been left for readers to implement, says Craft.


Mobile SMS Remote (left) and CallBlock (right)
(Click images for further information and to download)

Week three brought an even-more-elaborate SMS application, Mobile SMS Remote (above left). According to the author, this application is designed to run on two or more Windows Mobile devices, then allow each to run remote commands on any of the others via an SMS message.

Mobile SMS Remote looks for any SMS message that begins with a specific character string -- in the demo application, it's "30days:" -- and uses it to trigger an event. Craft notes that while the sample app is limited to being able to obtain date and time information from a remote device, it could easily be modified to discover another phone's GPS location. "Or," he asks, "how about something more Web 2.0, such as what song is currently playing?"

Finally, CallBlock (above right) is designed to watch incoming calls, comparing their numbers with a user-entered list of those to be blocked. As long as it is left running, the application is capable of sending keypresses to the OS so that banned numbers will be ignored.

31 Days of Visual Studio 2008

While "30 Days of .NET" has reached its successful conclusion, Craft has now committed himself to publishing 31 days' worth of Visual Studio 2008 tips. Writes Craft, "The material will come from a presentation I have given many times at different code camps and user groups. One of the goals of the series is to start a conversation with my readers. I want to share some of my best tips and tricks for Visual Studio, and in return I hope you'll share some of yours with us as well."

Further information

To pick your own favorite Windows Mobile applications from those Chris Craft has written, and download any executables or source code, go here.To see what Visual Studio 2008 tips and tricks he follows up with, see his blog, here.



Related stories:


(Click here for further information)


Windows XP for Embedded Applications
This white paper describes the benefits of using Windows XP when developing embedded applications.

A Manager's Guide to Selecting a Mobile Device Operating System
This white paper offers a comparative review of Microsoft Windows CE and Windows Mobile.

Visual Basic 6.0 to .NET Migration
This paper focuses on the methodology and techniques which Infosys (Microsoft Technology Center) has developed for migrating VB 6.0 Applications to .NET. Our approach ensures a smooth, cost effective, and efficient migration.

Mobile Device Security: Securing the Handheld, Securing the Enterprise
This whitepaper identifies security threats to corporate data on mobile devices and details how mobile devices can become a "backdoor" to the enterprise.

Mobile Device Security: The Eight Areas of Risk
It's common knowledge that adding mobile devices to your network increases security risks. There are multiple facets to mobile security, all of which should be paid close attention to. This E-Guide presents a more in depth look into the eight key areas of securing wireless devices.

Quality Assurance and .NET
This paper discusses best practices for functional, regression and load testing of .NET applications.

SCADA Security in Integrated Networks
As businesses leverage their SCADA systems by integrating them into the business networks, they must also assure the security of the SCADA system.

The Advantages of Small Form Factor HMI
HMIs have mutated and changed with new requirements, and they have become more flexible and capable. And while they've been doing that, they've become smaller and more useful.

9 Critical Requirements for Web Application Security
Learn why your Web applications expose dangerous security breaches and what’s required to effectively protect your Web applications and the sensitive information behind them.

 


Got a HOT tip?   please tell us!
Free weekly newsletter
Enter your email...
Click here for a profile of each sponsor:
PLATINUM SPONSORS
(Become a sponsor)

ADVERTISEMENT
(Advertise here)


Updated! The latest Windows-powered...

mobile phones!

other cool
gadgets

HOT TOPICS
Microsoft targets PNDs with new embedded OS
Microsoft tips .NET MF 3.0 highlights
Microsoft previews Windows Embedded Standard
Microsoft offers free Windows CE 6.0 textbook
Microsoft renames embedded operating systems
Microsoft unveils Windows Mobile 6.1
New Atom models target low-cost PCs
REFERENCE GUIDES
Windows Device Showcase
Intro to Windows Embedded
Intro to Shared Source
Real-time Windows Embedded
Windows Embedded books
Join our Windows Embedded discussion forums:
Windows XP Embedded
Windows CE
Windows Mobile


Windows Embedded developer newsgroups
Windows CE
XP Embedded
PocketPC
Smartphone

Microsoft's Windows Embedded resources
Embedded dev center
Mobile dev center
Windows CE tutorials
XP Embedded tutorials
Windows Embedded seminars
Windows Embedded application categories
3rd-party partners


BREAKING NEWS

• Asus netbook boasts discrete graphics
• SoC runs Windows XP with less than one Watt
• Phone combines touchscreen and QWERTY
• i.MX27 module gets carrier board
• Via panel PC resists shock, liquids
• LG releases first U.S. smartphone
• Netbook-like phone "companion" gets video input
• Mini-ITX board has HDMI port
• Windows Mobile smartphone is "world's fastest"
• Windows Mobile to get "desktop" Flash player?
• USB 3.0 debuts
• EPIC SBC runs hot and cold
• Windows PND sports cellular modem
• Windows phones bundle custom GPS software
• Webcast highlights location awareness tools


MOST POPULAR (last 90 days)
• "Netbook" uses Intel's Atom N270
• Windows CE takes on Linux in low-end netbooks
• Windows Mobile 6.1 phone has GPS
• T-Mobile's Touch Diamond clone does HSUPA
• iPhone-like Windows Mobile device has 16GB of storage
• HTC phone has slide-out keyboard and TV output
• Windows Mobile trouncing the iPhone?
• HTC releases Touch Diamond ROM upgrade
• Sprint upgrades HTC Touch, Mogul
• Intel's Atom powers mini-ITX board
MOST POPULAR (Classics from the vault)
Windows XP Embedded USB boot
Troubleshooting Windows XPe's blue screen "Stop 0x0000007B" error
Asus reveals $190 mini notebook
Windows Mobile 6 SDKs available for download
Windows Mobile VPN client plays with Cisco
HTC adds GPS to Windows Mobile Touch line
Microsoft unveils Windows Mobile 6.1
Guide to HTC's Windows Mobile smartphone platforms
Customizing Windows XP Embedded thin clients
Visual Studio 2008 adds mobile application features

Also visit our sister sites:


Sign up for WindowsForDevices.com's...

news feed

Home  |  News  |  Articles  |  Polls  |  Forum  |  Directory  |  About  |  Contact
 

Ziff Davis Enterprise Home | Contact Us | Advertise | Link to Us | Reprints | Magazine Subscriptions | Newsletters
Tech RSS Feeds | White Papers | ROI Calculators | Tech Podcasts | Tech Video | VARs | Channel News

Baseline | Careers | Channel Insider | CIO Insight | DesktopLinux | DeviceForge | DevSource | eSeminars |
eWEEK | Enterprise Network Security | LinuxDevices | Linux Watch | Microsoft Watch | Mid-market | Networking | PDF Zone |
Publish | Security IT Hub | Strategic Partner | Web Buyer's Guide | Windows for Devices

Developer Shed | Dev Shed | ASP Free | Dev Articles | Dev Hardware | SEO Chat | Tutorialized | Scripts |
Code Walkers | Web Hosters | Dev Mechanic | Dev Archives | igrep

Use of this site is governed by our Terms of Service and Privacy Policy. Except where otherwise specified, the contents of this site are copyright © 1999-2008 Ziff Davis Enterprise Holdings Inc. All Rights Reserved. Reproduction in whole or in part in any form or medium without express written permission of Ziff Davis Enterprise is prohibited. Windows is a trademark or registered trademark of Microsoft Corporation in the United States and/or other countries and is used by WindowsForDevices under license from owner. All other marks are the property of their respective owners. WindowsForDevices is an independent publication not affiliated with Microsoft Corporation.