Bug #1316
closed
Add to home screen (local file) .MHT
Added by C B 11 days ago.
Updated 6 days ago.
Description
if mht:
1. Open .mht file that is on device.
2. And add it to home screen.
3. Close app.
4. Use icon. Browser does not open, android gives message App isn't installed.
Android 12
For both of these #1315, I chose open with Privacy Browser on the homescreen icon creation dialogue.
- Status changed from New to Closed
Because Privacy Browser Android uses the Storage Access Framework, it isn't expected that MHT files work when pinned from the home screen. This is because the `content://` URLs are provided by another app, and they generally disable them after a period of inactivity under that app's discretion.
https://www.stoutner.com/privacy-browser-3-7/
This reply doesn't answer why I see
App isn't installed.
something mustn't be registered properly when making the icon.
The shortcut is a URL. Local files are accessed through `content://` URLs, which are generally temporary and do not function after they have expired. If you would like to understand further how Android's Storage Access Framework works, I would recommend you follow the link I posted in comment 2, and then follow all the links in that post to the upstream Android documentation.
Also available in: Atom
PDF