开发者

redirect user to palm appcatlog by application id

开发者 https://www.devze.com 2023-01-20 14:10 出处:网络
how to redirect user my other application in palm appcatlog. or redirect user to particular app by applicatio开发者_Python百科n idYou do by using the Application Manager service... here\'s an example

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

精彩评论

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