开发者

redirect user to palm appcatlog by application id

how to redirect user my other application in palm appcatlog. or

redirect user to particular app by applicatio开发者_Python百科n id


You do by using the Application Manager service... here's an example that would run in a scene event handler:

this.controller.serviceRequest('palm://com.palm.applicationManager', {
    method: 'launch',
    parameters:  {
        id: 'com.palm.app.findapps',
        params: {
            scene : 'page',
            target: 'http://developer.palm.com/appredirect/?packageid=MYAPPID'
        }
    }
});

where MYAPPID is replaced by the application ID of the app you want to open the App Catalog to view.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜