privatefungetAllIntent(param:String):Intent{valintentIntent()intent.addFlags(Intent.FLAGACTIVITYNEWTASK)intent.actionIntent.ACTIONVIEWintent.setDataAndType(getUriByPath(param),"")returnintent}如上代码在Android平台没找到合适第三方的时候使用调用系统打开附件弹窗打开全部app进行选择,可是在鸿蒙平台会直接调用一些其他软件进行打开,并没有选择页面,也不是默认打开方式的问题!
Android,鸿蒙附件