Saturday, June 14, 2008

Let’s have some fun today. And do an application that is just for kicks. I had a really hard time coming up with a Friday the 13th themed mobile application. I finally thought of one: The Pocket Death Calculator. Yeah, it’s a bit crazy, but it’s good not to take yourself too seriously. There are lots of these Death Clocks on the Internet, here’s a famous one: The Death Clock.

 

image

image

Pocket Death Clock

This application is about how many lines of code you can write. It shows how a simple idea in a good looking package can really charm a lot of people. Most people enjoy a surprise, or something unexpected, something to break the day from being ordinary and routine. Sure you can write the next great mobile financial planner package, or you could write a quick “fun” app to put a smile on someone you know’s face.

The UI is really simple just a background image file, but it is a good looking background image file. And that is pretty much what is pulling off the application. I thought about putting glowing red eyes on a timer and having their visibility randomly change, but decided to leave it as an exercise for my readers. Try it you’ll be surprised how much it really sets off the application. And makes it stand out.

The death calculation engine is straight forward: we take the user’s age and gender and modify the average human life span appropriately. Then we subtract the users present age from their expected life span. Next we calculate the number of seconds in a year. We use our cryptographically strong random function to pick a random second in that year for the user to “die” on. Now we have our death date. It’s a simple matter to calculate the number of seconds the user has left. We put everything on the screen and update on a timer.

There you have it.

Possibilties:

Simple applications always have the best possibilities. We talked about adding glowing eyes. But you could also add random death quotes. You could also ask the user more questions and better guesstimate their death date. You could also “guesstimate” where and how they would die using data easily found on the Internet.

Always good to know you have less than a million seconds before you are going to die from a shark attack in Quebec. Plenty of time to pick up some shark repellent.

 

 

 

 

Download executable: pocketDeathClock.cab

Download Source Code: pocketDeathClock.zip

Feedback:

I think this is our first humorous application, not counting Mobile FX, what did you think of it? Would you like to see more of these types of applications, that are creative idea based, or more of the technically focused applications? I like to keep a good bit of variety to show all the possibilities, so I hope that is working for everyone.

If not, share your idea for tomorrows application.


Saturday, June 14, 2008 04:38:47 (Eastern Standard Time, UTC-05:00)
Hi,
I have another idea you might be interested in. I would like to be able to type in a single sms message and then hit the send button which would then send the same message to all my contacts that have a mobile number specified.
Thanks
Paul Diston
Paul Diston
Saturday, June 14, 2008 06:23:51 (Eastern Standard Time, UTC-05:00)
How about an actual usefull application? It seems a bit scilly to me to write all these application no-one is ever going to use. How about a tool to switch between GSM and UMTS? A tool to quickly switch between landscape and portrait? Tools people would use?
Alex
Saturday, June 14, 2008 11:07:34 (Eastern Standard Time, UTC-05:00)
Alex,

I appreciate your passion, but maybe there was a more tactful way for you to share it? It's a good bit of time and effort for me to create these applications.

We've already written the rotate application you requested, days ago btw: 30 Days of .NET [Windows Mobile Applications] - Day 08: Rotate Me

Considering the large amount of positive feedback, encouragement, and great ideas I've gotten from other readers, I'm pretty sure I will not be able to get around to writting an application based on your second idea. Good luck finding a tool to switch between GSM and UMTS.
Saturday, June 14, 2008 11:09:55 (Eastern Standard Time, UTC-05:00)
Paul,

That is a great idea. I will add it to my list. I like how it will show how to work with contacts and how to work with SMS!

Thanks!
Saturday, June 14, 2008 21:34:15 (Eastern Standard Time, UTC-05:00)
I'll see if I can find some time to incorporate the glowing red eyes with a nice Animation Control I found and consumed for a mobile app recently. I'll link you if I can.
Michael Lindley
Comments are closed.

Theme design by Jelle Druyts

Pick a theme: