-
Notifications
You must be signed in to change notification settings - Fork 537
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
华为P20 QQ 微信打开文件-其他应用打开,显示不出自己的应用图标是咋回事 #745
Comments
是不是 scheme 没配置好呢? |
|
你试试这样子是否可以,可以指定文件的类型。 <data android:scheme="file" android:host="*" android:mimeType="*/*"/>
<data android:pathPattern=".*\\.pdf"/>
<data android:pathPattern=".*\\.doc"/>
<data android:pathPattern=".*\\.docx"/>
<data android:pathPattern=".*\\.xls"/>
<data android:pathPattern=".*\\.xlsx"/>
<data android:pathPattern=".*\\.ppt"/>
<data android:pathPattern=".*\\.pptx"/>
<data android:pathPattern=".*\\.jpg"/>
<data android:pathPattern=".*\\.jpeg"/>
<data android:pathPattern=".*\\.png"/>
<data android:pathPattern=".*\\.bmp"/>
<data android:pathPattern=".*\\.webp"/> |
我试试
…---原始邮件---
发件人: "ZhiWei He"<[email protected]>
发送时间: 2019年6月28日(星期五) 中午11:31
收件人: "android-cn/android-discuss"<[email protected]>;
抄送: "givemeatry"<[email protected]>;"Author"<[email protected]>;
主题: Re: [android-cn/android-discuss] 华为P20 QQ 微信打开文件-其他应用打开,显示不出自己的应用图标是咋回事 (#745)
你试试这样子是否可以,可以指定文件的类型。
<data android:scheme="file" android:host="*" android:mimeType="*/*"/> <data android:pathPattern=".*\\.pdf"/> <data android:pathPattern=".*\\.doc"/> <data android:pathPattern=".*\\.docx"/> <data android:pathPattern=".*\\.xls"/> <data android:pathPattern=".*\\.xlsx"/> <data android:pathPattern=".*\\.ppt"/> <data android:pathPattern=".*\\.pptx"/> <data android:pathPattern=".*\\.jpg"/> <data android:pathPattern=".*\\.jpeg"/> <data android:pathPattern=".*\\.png"/> <data android:pathPattern=".*\\.bmp"/> <data android:pathPattern=".*\\.webp"/>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
么得用 |
我也在华为手机上遇到了同样的问题 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: