varonsuccess=onfail=function(){};functionsendMessage(){//发送短信varintent={action:"android.intent.action.SENDTO",uri:"smsto:18511193390",};Blend.device.activity.start({onsuccess:onsuccess,onfail:onfail,intent:intent});}functionplayVideo(){//播放视频varintent={action:"android.intent.action.VIEW",uri:"http://bcs.duapp.com/Baidu.mp4",type:"video/*"};Blend.device.activity.start({onsuccess:onsuccess,onfail:onfail,intent:intent});}我想安装本地的一个APK文件,intent部分应该怎么写?代码格式如上这是我能取到的APK的路径:sdcard/baidu/hybrid/offlinestorage/192.168.23.1/mycache.apk希望大家能帮帮忙,谢谢
呼唤远方
至尊宝的传说
相关分类