6 days ago: “So Ustream just released their viewer application in time to live stream the innauguration tomorrow at 10AM. The problem is that it only works on a WIFI connection, I’ll assume for now because of ATT no-streaming-video-over-3g restrictions. If that’s possible, never fear, VoIPover3G to the rescue! The only hurdle is figuring out Ustream Player’s bundle identifier to feed to the hack. The whole process, including the less-than-trivial bundle identifier location, is detailed here.”
I know I promised a technical article on how to find arbitrary bundle identifiers, but the news moves fast, and I’m already behind the times on this one. There’s a new Copy/Paste mechanism out for the iPhone, hClipboard, but there’s way more to it than that, and a LOT of new possibilities come with it. Most people have been reporting on how cool hClipboard is, and it’s no lie that it’s super cool, but even cooler is the work that went into its backend. Over at networkpx (coral), KennyTM has been hard at work cracking the entire keyboard system of the iPhone WIDE open. Basically, the kingpin of the system is iKeyEx, which is a library based on mobilesubstrate to write new keyboards or keyboard extensions for the phone. It essentially allows developers to produce new keyboards that can be turned on and off in the normal keyboard settings of settings.app.
I was half asleep, but I had to wake up for this one. At long last, a REAL implementation of copy/paste on the iPhone. It works in every text field. It’s stupid that I’m actually saying this, you’d think copy and paste was a brand new invention, but I’m actually dumbfounded, wallowing in my own joy. It’s called “Clippy” (Yes, like the dreaded MS Office character) and it’s brought to us by iSpazio and Ryan Petrich. It’s jailbreak only, as all good things are, but here’s the procedure: Open Cydia, install “Clippy-Beta.” It couldn’t be easier. It’s somewhat buggy – for example, in sms, you can’t actually SEE what you’re copying/pasting, and the button to return to the main view doesn’t work properly (you have to aim for the bottom left, or the button press does’t work). And it gums up your number keypad. But for copy/paste, I’d do all sorts of things far less desirable than those.
This just changed the “Reasons to jailbreak your iPhone” column into “Reasons you’re dumb as bricks if you don’t jailbreak your iPhone.”
UPDATE 6:30am 1/20/09: Lets make a list of bugs, shall we? Add any you notice in the comments and I’ll include them. Here’s my list after the break:
A few days after the public announcement of a Ustream viewer application for the iPhone/iPod Touch, the app has gone live in the App Store! Get it while it’s hot for some live-streaming-inauguration-action! UPDATE!: The app has been crippled by ATT to disallow 3G streaming, but if you’re jailbroken (or can make it so asap), there’s a fix below that should work for you too.
UPDATE 11:20p 1/19/09: Unfortunately, it appears that this app is crippled: you can only watch streaming videos on a WIFI connection, which basically makes it useless, since if you have WIFI, you’re probably capible of using a computer. Maybe not, but my plan was to watch the inauguration while going about my daily activities, so I’m working feverishly on a workaround. It’s not hard to do, provided the crippling is an app store thing and not a ‘we need wifi bandwidth, the videos won’t stream on anything less’ thing. If it’s the former, expect a fix in a matter of minutes.
UPDATE2 12:02am 1/20/09: It is done! I’m successfully watching live streaming Ustream video on my iphone. Here’s how (after the break).
Here’s the gyst:
- The unlock now ONLY works on baseband 02.28.00. That is, the baseband that comes with the standard iPhone OS 2.2 update.
- The unlock is a daemon. That means it runs in the background and, every time your phone restarts, it re-injects the unlock code. It’s not persistent – as soon as your phone becomes un-jailbroken (an update, for example) it will go away. Watch out.
- The unlock program installs via Cydia, NOT any of the jailbreak tools.
How to get it:
According to this post (coral) from iMobileCinema, they’ve released a beta version of a flash…
The iPhone Dev Team has officially announced that a software unlock for the iPhone 3G…
So my first iPhone post was pretty detailed, but don’t let that deceive you, I’m not actually experienced developing for iPhone. In fact, I’m not even really experienced developing on Mac using Objective-C either. In fact, that’s sort of the point of this blog, or at least the iPhone category. I’m not a hardened Obj-C developer who’s looking to write tutorials that I think less experienced developers will like. Rather, I’m a beginner in this field who’s looking to guide other beginners by writing my solutions to the problems I’ve encountered. The first problem I encountered was that I couldn’t debug my apps on-device without paying $100 for a code-signing identity that I may never actually take advantage of. As a result, the first post on this blog is how to get around that stumbling block. Moreover, I’ve also found that you are bound to experience the same problem at least a few times, and I’ve also found that, in a field as fast-moving as iPhone development, retracing your steps is a serious problem. This blog is meant to be a guide for me as well as anyone else.
The Goal: Get live on-device XCode debugging without being a paying ADC member.
Abstract: The iPhone uses code-signing to restrict what gets run on the device. Under normal conditions, this means that John-developer signs up with ADC (Apple Developer Connection) and gets, among other credentials, a code signing identity. He downloads a certificate, plugs all the info into XCode, and when he compiles his project for debugging or release, it gets signed with this certificate. When it gets transferred to an iPhone (say, for debugging) or released to the App Store, this signature gets checked to ensure that the code came from a registered, trusted ADC member.
What WE want to do is run our own code, developed in XCode, on our iPhone without this valid certificate from Apple. Part of this process allows code from OTHER non-ADC-signed developers to run on other phones, but that’s not the real point. The goal of THIS tutorial is to make the Build and Go live-on-device debugging work on a jailbroken iPhone without the proper signature, in other words without the need to pay. Note: this does not allow you to develop for the App Store. This is only good if you’re only developing for yourself or you plan to distribute only for jailbroken phones/iTouches.