Developer “Businesscat2000″ has posted something really interesting-looking on the CrackBerry forum, an app player of sorts which can run native iOS apps on Research In Motion’s BlackBerry PlayBook tablet.
The program is demoed runnin a number of popular iOS apps and games, such as Tom Tom, Super Monkey Ball, Tiny Tower, Sushi Cat, iFart and more. It’s also available for various other platforms, including Windows. Two more videos are right after the break…
CrackBerry editor Kevin Michaluk relays the hacker’s explanation of how it works:
The CPU isn’t emulated on Playbook (though it is on Windows). It works very similarly to how WINE works to run Windows applications on Linux. The app binary is mapped into memory and imports are resolved to point to my own implementation of the various APIs needed.
Certain similarities between Apple’s iOS and PlayBook’s operating system have made the hack that much easier:
iOS actually uses a few open APIs already, which Playbook supports just as well (GL ES, and OpenAL). The bulk of the work has been in implementing all of the objective C classes that are required.
The ARM code of the applications run as-is – the armv6/v7 support on PB/iDevices are pretty much identical, and the code is designed to run in USR mode. No SWIs, GPIO accesses or any of that kind of shenanigans.
Not all apps are portable. Specifically, those requiring UIWebView and CoreData cannot be implemented currently.
Here is the iOS Sketchbook Mobile app running on RIM’s tablet.
And this is Angry Birds for iOS running in a Windows environment.