截至13-11-18,我在whatsapp上分享了apk文件,用于在一个人的圈子内测试应用程序,没有任何问题。但截至今天,如果我试图打开一个APK,我会收到一个错误吐司,说:
您可能没有正确的应用程序来查看此内容。
他们是否改变了他们的政策,并决定不要让人们在他们的平台上分享APK文件?
我不使用第三方网站进行分享氧ps,其中大多数铬斑点大多数人说"这种类型的文件可能会损害您的设备" 。
截至13-11-18,我在whatsapp上分享了apk文件,用于在一个人的圈子内测试应用程序,没有任何问题。但截至今天,如果我试图打开一个APK,我会收到一个错误吐司,说:
您可能没有正确的应用程序来查看此内容。
他们是否改变了他们的政策,并决定不要让人们在他们的平台上分享APK文件?
我不使用第三方网站进行分享氧ps,其中大多数铬斑点大多数人说"这种类型的文件可能会损害您的设备" 。
As of 13-11-18, I was sharing APK files on WhatsApp, for testing apps within a circle of people, with no problem whatsoever. But as of today, if I try to open an apk, I get an error toast saying:
You may not have the proper app to view this content.
Did they change their policies and decided not to let people share APK files on their platform?
I don't use third party websites for sharing APKs, where mostly Chrome spooks most people saying that "This type of file may harm your device".
dat=
和文件类型 typ=
。 /data/system/users/0/package-restrictions.xml
,由用户选择的默认值和 / system / etc / prodert-apps / *。XML )检查可以处理的活动此文件类型。如果只有一个可以处理此MIME类型的应用程序,则会启动该应用程序(活动)。您可以看到哪个App处理MIME类型的逻辑:
dumpsys package preferred-xml
使用 adb shell
或 permission.DUMP
或 root
是必需的。
Once
或 Always
)。 action.INSTALL_PACKAGE
。您可以使用Logcat来查看整个过程的开启方式。使用 typ=0
或 typ=1
或 typ=2
是必需的一个。您可以在此处分享结果以帮助我和其他人了解链条休息的地方。
解决方法:
确保将文件发送并以正确的延期发送和接收。.Apk。如果WhatsApp无法出于任何原因处理下载的APK文件,请使用文件管理器。探索 typ=3
并安装apk文件。
相关: 替代"文件打开" (不是堆栈"documentui" )for whatsapp?< / a>
Well as per my understanding this is how files are opened from WhatsApp making use of file extensions:
dat=
and file type typ=
./data/system/users/0/package-restrictions.xml
which is built from user selected defaults and files at /system/etc/preferred-apps/*.xml) is checked for activities that can handle this file type.If there is only one app that can handle this mime type, that app (activity) is launched. You can see which app handles what mime type by:
dumpsys package preferred-xml
Use adb shell
or one of permission.DUMP
or root
is required.
Once
or Always
).action.INSTALL_PACKAGE
is invoked.You can use logcat to view how this whole process goes on. Use adb shell
or one of permission.READ_LOGS
or root
is required. You can share results here to help me and others understand where the chain breaks.
Workaround:
Make sure that files are sent and received with correct extension i.e. .apk. If WhatsApp is unable to handle downloaded apk file for any reason, use a File Manager. Explore to /sdcard/WhatsApp/Media/WhatsApp Documents
and install apk file.
RELATED: Alternative xe2x80x9cFile Openxe2x80x9d (not stack xe2x80x9cDocumentsUixe2x80x9d) for WhatsApp?
© 2022 it.wenda123.org All Rights Reserved. 问答之家 版权所有