I’ve posted the first (incomplete) version of the design doc for CardFu. Over the next few days I should be flushing that out more and then I can start with the proof of concept (a fully authored deck using the cards I already have designed, in order to make sure that the CDL is properly thought through).
Archive for the ‘Projects’ Category
CardFu project update
Monday, April 24th, 2006Camera phone picture time updater
Monday, April 24th, 2006So, this weekend I needed to clear off all of the pictures that I had taken on my Motorola v600 because I was loaning it out to George. The problem with transferring the photos over Bluetooth OBEX is that file creation dates are lost.
Luckily, the v600 saves the pics with filenames in this format: MM-DD-YY_TTTT.jpg. I decided to write up a quick little app that used a Regular Expression to grab the time info from the filename and then update the file creation/modification timestamps so that the photos would have the proper meta information.
I did a quick search online and found a great short code sample on Code Project that told me the API to use to change the timestamps (it’s File.SetCreationTime(file, dateTime) by the way) and I verified my RE using my favorite RE editor, Expresso, and twenty minutes later I had my tool.
I’m going to add a bit more customizability to it (in case there are cameras out there that use a different filenaming method) and post it up here. Should have it up later this week.