Dan Newcome, blog

I'm bringing cyber back

Develop & Test Palm Pre apps Under Safari Without the SDK

with 4 comments

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!

mojo

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:

webos-calc-ff3.5webos-calc-chrome2.0webos-calc-safari4

Advertisements

Written by newcome

June 11, 2009 at 2:10 am

Posted in Uncategorized

4 Responses

Subscribe to comments with RSS.

  1. It’s not leaked, it’s public. Please don’t spread the FUD.

    Chris

    June 12, 2009 at 12:10 pm

  2. Ah, and it’s not very smart to redistribute it.

    Chris

    June 12, 2009 at 12:13 pm

  3. 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

  4. 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


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: