I want to call android intent to Packageinstaller app to install a downloaded Apk. I'm using this link to call this Intent from a webpage in Chrome :
<a href="intent:///sdcard/download/myapp.apk#Intent;scheme=file;action=android.intent.action.VIEW;type=application/vnd.android.package-archive;end">install app</a>
But, It's not working and Packageinstaller event doesn't show up.
You can see the Packageinstaller Manifest here : https://android.googlesource.com/platform/packages/apps/PackageInstaller/+/master/AndroidManifest.xml
And here is a document on android Intent in Chrome: https://developer.chrome.com/multidevice/android/intents
Please tell me how to fix the problem, or open Apk file in android from html in Chrome, in any possible way.
Thanks