Archive for the ‘Crazy Driver’ Category

What’s in a name?

I’ve gotten some feedback on the Crazy Driver application name.  My FIRST instinct was Idiot Driver.  I don’t know about YOU, but when I see somebody doing something stupid I say to myself “What an idiot”.  I didn’t think Microsoft would “allow” this name so I shelved it.   I should have gone with my gut.  I thought I’d try to go with a play on words “Tweet Tag”, but how many people use the slang Tag for a license plate?  I also did a search and found the site  So the domain was already taken.  Stupid Driver?  Stoopid Driver? (Too close to Stoopid Monkey, the people that bring us Robot Chicken.)

I thought some more and looked on Twitter and found people using the hash tag #CrazyDriver.  I thought was pretty generic.  And went with it.  I did a cursory search and didn’t find anything with that name.  My Crazy Driver app is released at the end of March and lo and behold the Crazy Driver GAME is released at the end of APRIL!  WTF?  And NOW Microsoft sends out their copyright infringement letter.  Pretty coincidental, but I certainly DON’T want anybody infringing on MY copyrights so I don’t want to do it to them.

I’m thinking I want to go back to Idiot Driver.  I don’t see this app in any of the online stores.  I e-mail the Windows Phone Marketplace support about my dilemma and the guy replied “I don’t see why you couldn’t use that name.  I should pass.”  So I’m gonna do it.  All I have to do is change the APPLICATION_NAME constant in my app to “Idiot Driver” and then change those references in my submission.  Hopefully it’s as easy as that and the people would already downloaded the application will get their newly named application during the next update.

It’s not ALL about idiot drivers.  You might see some cool things and have something POSITIVE to tweet about.  By all means.  There’s a few positive system default tweets as examples.  Or create and save your OWN.  Play “Slug Bug” or “Out of State” or get help with license plates that you can’t decode.  Ok, so THIS one was EASY!



Thank you for you continued support.  The name may have to change again, but the app will keep getting better.  🙂

In the beginning…


Crazy Driver Tile

Crazy Driver Tile

So I wanted to just get this app OUT there. Out to the Marketplace. Yeah, yeah. I started a sentence with SO. SO SUE me. Oh wait. No. DON’T do that. I really wanted that voice-to-text API in place before I published, but I knew that there would be some pain in submitting my application. And there WAS.

I got the main page laid out. I needed a settings page. And an “About” page.

In order to pass certification you need a way for people to contact you. That typically goes on the About page. I was going to use a pre-made About page DLL, but it didn’t really have the exact layout that I wanted so I created my own panoramic page and put everything in there.

I figured that I NEEDED a disclaimer page. I’ve already said it (in my previous post), texting while driving is STUPID. DON’T BE STUPID! That took some doing. Not the layout, but I needed to remove that page from the history so when you’re on the main page and you hit the back button you don’t go back to the disclaimer. THAT would be stupid too. So in the main page I added this to the Loaded event. I tried a TON of other stuff, but this is what worked the best.

// Remove the disclaimer page.
 if (((App)Application.Current).RootFrame.CanGoBack)
catch (Exception)
 // Eat this.

Finding the Twitter code was painful as well. I headed down the wrong path because I didn’t realize that Twitter CHANGED their API a while back. Uh Oh. That’s a BIG NO NO Twitter. But they’re so big that they just did it and HOPEFULLY it won’t change again. So I got all the old code laid in place and NOTHING worked, so I googled with bing some more. I finally found some REST code that worked. I didn’t KNOW it was going to work, but I thought I’d give it a shot. It uses the Hammock.WindowsPhone DLL and some other C# code.

Things STILL weren’t working, but I noticed that in the TwitterSettings.cs file I needed to setup some keys and you HAVE to head to, create and register your application, and THEN you can get some keys. Paste those keys into your settings and you’re good to go.

I wanted to TRY to make some money with this thing so I thought I’d put Microsoft’s Advertising control on the bottom. But you need KEYS for THAT to work too.

I tested the final release state on my phone. I had been doing this all along, but deploying the debug version. So now I ran a few smoke tests against my app just to make sure the Twitter registration was working. The disclaimer would display and then not get in your way when you wanted to exit the application. I added a few new default tweets and then deleted them. You probably saw those test tweets. Ok. Probably not. 😉

I was READY to submit my application! WOOO! Of course you can only submit your application if you’re a registered developer (but you already knew that, right?) That’s 100 bucks a year, but I got my registration for free through the “30 Days to Launch” campaign.

The first page of submission you’ve got to have ALL these other icon sizes. WHAT? Oh geez. So I brought up Pixlr and sized up the icons. They looked like crap, but I figured I’d change them later. You’ve got to answer a few questions about pricing and distribution. I selected FREE and worldwide. A few more questions and I was ready to submit.

It took a few days after submission to get a certification failure notification, because a few of the Asian countries would find my app offensive. Hmmm. Was it my disclaimer page? DON’T BE AN IDIOT! Or one of my system default tweets that has the word “damn” in it? So I removed quite a few countries. Submitted again. And the thing passed a few days later.

AWESOME!! My FIRST Windows Phone app. WOOO!!

Version 1.0 was out the door at the end of March. And I was already working on version 1.5. I figured I’d call it 1.5 because only half of the app would be “metroized”. The settings page got the metro look and a few other annoying things were taken out. The disclaimer only shows up every 10 times. The default tweet “Select default tweet…” which was actually just the first row of the default tweets was ALWAYS in the editable tweet section. So THAT got removed. As part of the “metroization” I created a modal text field which has bigger text and auto selects the entire field when it pops up. This way you can just start typing if you want to replace the default hash tags. I cleaned up some of the icons and made the horn bigger and the twitter bird smaller. Does that bird have a name? Hmmm. Since I could only find REALLY low resolution pictures of the car horn icon I created my own using Paths in Blend. So now I can scale that horn up and down at will. I’m still keeping that dashboard themed icon when pinned. I think it makes sense using that main dashboard metaphor anyway.

The submission of 1.5 was a hell of a lot easier. I knew it would be, because when I resubmitted 1.0 all I had to do was make changes to the submission and everything else stayed the same. For 1.5 I dropped in the new screen shots and icons. Loaded the new XAP file. Clicked NEXT on quite a few screens and the thing submitted and then passed certification a few days later. WOO!

Version 2.0? This still won’t have the voice-to-text in it, but the main page will be “metroized” and the default state will be using the geo-location services from Bing! Yes, you have to get yet ANOTHER application key.

So PLEASE stick with me and you’ll see the little engine that could grow into a full-fledged application.


Crazy Driver – Don’t be an IDIOT!

Don't be an IDIOT!

Crazy Driver Disclaimer

I thought I’d post the disclaimer a bit bigger than what’s in the Windows Phone Marketplace.  Plus, many people have asked me if I had a disclaimer. Yes.  Yes I do. I certainly don’t want to get sued because people are idiots.  If you haven’t had a close call trying to “quickly” reply to a text then you WILL.  It’s just like riding a road bike (or mountain bike).  There are those who HAVE wrecked and those who WILL.  And you MIGHT just want to be wearing that helmet because you never know when you WILL.  So my close call was with a curb.  I was going pretty slow and missed it due to my video game reflexes.  BUT!  You never know when there will be a kid right there on his skateboard or running to get a ball.  So it’s good NOT to do it.I’m excited for the voice to text to be available on the phone.  Hopefully it’s SOON!  Hello?  Microsoft?

That’s why I typically launch the SMS text application FIRST and try to say everything to a new text message.  It doesn’t have to be TO anybody, just so you’re able to “talk” to your phone.  Then cut and paste the snippet(s) into Crazy Driver and let that person HAVE IT!

Of course you don’t even have to be driving.  You could be the passenger while your mom or dad is driving.  I see that quite a bit under the #CrazyDriver hashtag.  Or you could be walking to your car in the parking lot and one of your co-workers tries to run you over.  That’s a good time to let them have it too.  Sorry Raj.

So go ahead and download the app, confirm that you’re NOT an idiot, and tweet to your heart’s content.

Crazy Driver 1.0

You know how it is.  You’ve got your to-go cup of coffee and you’re blaring KBPI on the radio.  Things are going smooth until you’re out of the neighborhood and down by the post office.  Then you see him behind you.  A big old pickup racing up behind you.  Apparently poor planning on HIS part BECOMES your problem.  He SLAMS on his brakes.  DUH!  We’re at a stoplight you dumbass.  The traffic slowly starts moving again right past the Walgreens.  Yeah, they’re EVERYwhere, aren’t they?  And just as you expect, the guy behind you cuts over and passes you in the right hand lane that just opened up.  But of course HE didn’t see the other guy pull out up ahead.  I’m expecting this.  You HAVE to expect this.  And he swerves into MY lane.  I glance at his license plate “DUMBASS”.  OK.  That’s NOT what it said, but it SHOULD have.  Or at least ID10T.  You raise your hands and yell some obscenities.  They’re GOLDEN.  But nobody heard you.  The guy in front of you is already flicking his cigarette out his window and has swerved back to the right.

That’s when it hit me.  I want to push a button on my phone and through the Blue Tooth integration in my stereo the radio mutes and a digitized voice comes across the speakers.  “This is Crazy Driver, what would you like to rant?”  I say “License plate D-U-M-B-A-S-S.  Ranting why the hell did you cut me off you idiot?!”  The app thinks for a second and then fills in the appropriate fields and parses out the tweet “Why the hell did you cut me off you idiot #CO_DUMBASS #CrazyDriver.”  I glance at my screen and the tweet is scaled up so I can read it on the tweet tile.  I’m good with that since I don’t feel like stopping at the next light to add the question mark and five exclamation points (remember the disclaimer?).  I hit the tile and it’s sent.  I feel better.  Not as good as activating a 0.50 caliber machine gun on my roll cage and blowing the guy off the road, but better.

So after signing up with Microsoft’s 30 Days To Launch event I got a free developer account and was able to publish Crazy Driver.  It didn’t take a whole lot to build, because I was able to find code on the net that did the tweeting.  But there was still some learning curve.  If I got my application to certification by a certain date then I could have won a new Windows Phone, but that didn’t happen.  I have a regular development job and I was working on Mass Effect 3 too.

Not bad for my first Crazy Driver blog post.  I’ll post what I’ve learned and where you can find the oAuth code since the first snippet of code that I found didn’t work and I had to Bing again.