A while back I wanted to monitor how much current my iPhone could draw under different conditions. I had seen a cable before where somebody brought it into a project box with a couple of screws on top exposing the two unshorted positive leads and the straight-through ground (such that you could measure both current through the cable or voltage across it), but I felt I could make things both smaller and more fully-featured.
Vital iPhone stats for this post:
iPhone version: 3G (should work with 2G and 3GS)
iPhone OS version: 3.0 (rock the hizzouse!)
Jailbreak status: Jailbroken using Pwnage Tool.
The Goal: Get live on-device XCode debugging without being a paying ADC member. This time OS 3.0 style.
Here’s a quick tip I picked up via the Stanford CS193P iPhone Programming (coral) course. Normally, to switch between device and simulator debugging requires going to the Project > Set Active SDK menu. Since I switch between said active SDKs almost every other build at points, the whole menu thing gets annoying. Luckily, it’s easy to put this drop-down menu in your toolbar in Xcode.
If you haven’t heard about Stanford’s iPhone development course (coral), then I’m not sure where you’ve been. It’s certainly had enough publicity that it needs no more introduction from me, but I figure that I might as well lavish it with my praises too.
Acrylic insulated wires stink, for sure, but when they’re stranded and micro-fine, they stink WAY more.
I may use this blog to post mainly iPhone or software related articles, but I am an electrical engineering student, and as an EE, I love me some good, clean hardware. Therefore, when my favorite pair of earbuds kicked the bucket the other day, my first thought went to the in-box iPhone headset and, more importantly, how much those earbuds suck. My favorite bang-for-the-buck earbuds EVER are Skullcandy Full Metal Jackets, primarily because I got them at TJ Maxx for $25. In general though, they have silicone pads that seal out sound, instead of the hyper uncomfortable iPod earbuds that fall out and sound like crap. I was super bummed when my FMJs broke, but luckily, the part that broke was on the plug end of the earphones. That is, both earbuds themselves still work fine, only the plug is dead. My thought was to cut the crappy iPhone buds off their cable (which includes a microphone and remote button) and graft on my beloved FMJs.