I recently upgraded my Blackberry Playbook simulator and SDK from the original public release to version 0.9.2, and all of a sudden I couldn't debug my application in the Playbook simulator from FlashBuilder any more. I randomly decided to check my debug configurations.
In the debug configurations dialog I was getting this error message: "The SDK for the selected project does not contain the BlackBerry Tablet OS SDK."
The fix for this error is a little unintuitive, hence this blog post for you as well as future-me, when this happens again.
Open FlashBuilder's Preferences
Find Flash Builder > Target Platforms > BlackBerry Tablet OS in the navigation pane
Verify that the SDK path is updated (mine still pointed to the old version of the SDK's folder, which no longer existed after the upgrade)
Change the SDK path to match the new version's install location (mine: /Applications/Adobe Flash Builder Burrito/sdks/blackberry-tablet-sdk-0.9.2)
Doing this fixes the error message in the Debug Configurations dialog and debugging with the simulator works again.
I happen to work at an awesome place where we get the week between Christmas and New Year's Eve off as an unofficial holiday (the university shuts down, so staff such as myself can't work), so I spent last week hanging out at home with my extended family and getting in some extra quality time with my wife and son.
Speaking of which, I've got a baby on the way -- due any day now. Ok, technically due 7 days from now. And during the course of that break, it occurred to me that it was kind of tedious to keep track of my wife's contractions the last time we went through this (with my first son, in 2008) - was the last contraction 90 seconds? 60? Was it 5 minutes apart? 7?
I could surely write an app to take care of tracking contraction start times, durations, and frequencies all with a single button. I checked the Android Market and while there are a few apps out there for this, I really didn't like the UI of any of them and knew my idea was better. So I opened up Flash Builder Burrito and used my existing Flex skills and AIR for Android to throw together this app to help us decide when it will be time to go to the hospital.
(HUGE DISCLAIMER: I am not a doctor, this is just some software I wrote for fun. Always consult a physician when concerning things like your health and having a freaking baby... don't be an idiot!)
All told it only took a few hours to get the UI designed and work out the (basic!) algorithms for averaging durations and frequencies.
The screen shot on the left shows the screen during a rest-time (between contractions) and after 2 are complete; the right screen shot shows the screen during timing of a 3rd contraction.
I had decided to average the 5 most recent contractions mostly arbitrarily because it sounded good at the time. I don't know if that's a good measurement or not, but it's there, and it would be easy enough for me to change if I had a reason.
I've only tested it on my Droid X, so I'm not sure how it looks or works on smaller-screened Android phones, like the Droid 2, but it works like a charm for me. My wife, after a good laugh, has seemed to warm up to the idea and we've even been practicing using it when she has Braxton Hicks contractions in the evenings.
I'm contemplating putting it up on the Android market. What do you currently-expectant and experienced mothers and fathers out there think? Is it useful?
I had some information ready to be posted here when I submitted my entry into Ray's Best of CF9 contest, but he covers it pretty well in his review post; and he was kind enough to host the video on his S3 account. I've also posted the video on my Vimeo account, so here it is again for reference:
You can download the source code here. Unfortunately, I haven't found any more time to continue working on this; and I have to admit that as cool as the CFaaS feature is, I'm not terribly motivated to go further with this mail client because I know it will eventually get canned. Why write a mail client when you use Outlook every day?
So it was a fun way to play with Flex 4, the latest Swiz build at the time, AIR, and CFaaS; but I don't think I'll bother continuing to mess with it.