一、打开外部浏览器

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/weixin_36792339/article/details/82957130

一、打开外部浏览器

    apiready = function(){
		console.log("Hello APICloud");

    api.openApp({
          iosUrl: 'http://www.baidu.com',
          appParam: {'appParam': 'app参数'},
          androidPkg: 'android.intent.action.VIEW',
          mimeType: 'text/html',
          uri: 'http://www.baidu.com'
              },function(ret,err){
                      api.closeWidget({
                          id: 'A0000000000012',
                          retData: {name:'closeWidget'}
                      });
              });

    };

猜你喜欢

转载自blog.csdn.net/weixin_36792339/article/details/82957130