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'
}
});

Metaview said
Thank you very much for sharing this info.