SOS

Shane O'Sullivan's technical blog… really ties the room together

webOS tip: Linking to an app in the App Catalog

Posted by Shane O'Sullivan on December 17, 2009

If you’re writing a webOS application, and want to open the App Catalog to show a particular app, Palm have provided a ‘magic’ URL you can open in a browser which causes the app catalog to show an application.

For example, I have a ‘lite’ version of Flickr Addict, called imaginatively Flickr Addict Lite, that offers the user a choice to go to the full version in the app catalog.  The code for this, given that the app ID for the app is “com.chofter.flickraddict”, is:

new Mojo.Service.Request('palm://com.palm.applicationManager', {
    method: "open",
    parameters:  {
        target: 'http://developer.palm.com/appredirect/?packageid=com.chofter.flickraddict'
    }
});
About these ads

One Response to “webOS tip: Linking to an app in the App Catalog”

  1. Metaview said

    Thank you very much for sharing this info.

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

 
Follow

Get every new post delivered to your Inbox.

Join 533 other followers

%d bloggers like this: