Develop & Test Palm Pre apps Under Safari Without the SDK
Update: I’ve removed the download link, since this constitutes a redistribution of Palm’s code. You can still play with this by downloading the system restore image from Palm and either putting the code in the right place on your hard drive where all of the hard-coded paths will resolve, or making the changes yourself in the Mojo code. (actually really easy, you just need to fix the absolute paths). See the precentral post for details on how to do this.
I was looking around under the recently leaked root image, and I grabbed the mojo javascript files. A little tweaking and I was able to create and run a demo app using the framework using Safari instead of the SDK!
I’ll post a bit more on this later.
Update: some folks over at PreCentral have verified that this works under Google Chrome as well.
Update: palm built-in apps such as the calculator work. Here are screenshots of the calculator running in various browsers:




It’s not leaked, it’s public. Please don’t spread the FUD.
Chris
June 12, 2009 at 12:10 pm
Ah, and it’s not very smart to redistribute it.
Chris
June 12, 2009 at 12:13 pm
Palm doesn’t mind people hacking their phone, but they kinda politely asked us on IRC not to redistribute their code.
Might be better to post instructions or leave out everything the stuff from their file and include everything else you need.
joshua K
June 14, 2009 at 5:38 am
I have the official SDK – the emulator itself needs Safari 4 installed (it runs in VirtualBox). Seems that all the emulator does is just provide a pre-like operating interface to all this.
icefire
June 14, 2009 at 11:05 pm