Hacking and Developer Roundup
There's been a spate of information for hacking on and development for the iPhone. I've been dutifully collecting it so as to post a roundup, and so here it is: the best developer links of the past week, with a bit of a hacking update at the end.
UPDATED: messed up Matthew Privanek's name. Sorry Matthew!
iPhone Style Development
If your web site code is causing endless resets or crashes, he's figured out how to have error messages piped to a python server on your desktop.
Fixed bugThere's an issue with how iPhone Safari deals with fixed navigational elements. The details of it are found at furbo.org. If you want the short view, the problem is that you can't copy the interface of the built-in iPhone apps. For example, you couldn't have a fixed top banner for your site's logo, a fixed bottom banner for your sites toolbar, and scrollable content in the middle. I believe that furbo.org is saying "Boo-urns" about this issue, though with stronger language.
Developer Wants Real SDKBlogging Developer Wil Shipley of Delicious Monster programs using Cocoa, and he's saying "boo-urns" about the AJAX SDK situation as well, with stronger language and more frequency than Furbo.org. It's worth checking out some of the comments here.
Sensors: Accelerometers and InfraredMIT's Technology Review is made curious by all of those extra sensors in the iPhone, and they're excited by the interface methods allowable by those sensors if Apple were to release a full SDK that included access to those sensors. The article goes in depth as to possible uses for all of those infrared sensors, microphones, and accelerometers on a mass user scale.
Webkit Style ButtonsIf you've been trying to get webkit style buttons, Matthew Privanek of LaunchPad Blog posted a tutorial on how to do dynamically sized buttons with one png image. The advantage of this would be that you could do all of your buttons with this one resizable image, which results in less bandwidth used in a web app. What's good for the goose is good for the gander here.
Field Test Mode and SMS / voicemail syncingYou can bring up the iPhone's field test mode by calling *3001#12345#* from the iPhone keypad. It will bring up a neat app that shows many different kinds of network information. Also, it appears that visual voicemail alerts are sent via SMS, and there's a special handler in the SMS app that passes them to phone alerts in the Phone app.
p> The SMS alert comes from the number 1000000000, its composition is below. Note that I've replaced the relevant mobile number with 8005551212:
If you attempt to reply in SMS to this number, you get an error message:
Error Invalid Number. Please re-send using a valid 10 digit mobile number or valid short code.
In checking out the iPhone with the Field Test guide, I believe that the iPhone downloads the visual voicemail message using a 2nd virtual EDGE interface in the "PDP Information" section (note that you may need to have a voicemail for it to be active). The 1st virtual interface just connects via wap.cingular.com. From our best guess, the SMS message just tells the iPhone to sync up its messages via that 2nd PDP virtual interface.
In spite of the fact that no one has the 1024 bit RSA key needed to enter the bootloader, teen hacker "geohot," the first person outside of Apple to hack their way into the iPhone guts, predicts the iPhone will be running 3rd party apps within two weeks. The interview that Builder AU has with the teen is pretty interesting, well worth checking out. [via]
It looks like ringtone support is here. It's not a simple affair; it's a 23-step process. But it seems to work, if you trust fuzzy YouTube videos. If you want to try it for yourself, here are the instructions. [via]
If you like to look at pictures of other people hacking, the folks at Hacked Gadgets posted their microscopic photos of the iPhone CPU. It's an unbranded job, meaning there's no brand associated with it, nor is there any custom artwork on the chip -- sometimes chip engineers will try to sneak some art on there. [via]