Repository navigation
|
Hello, I'm developing a caravan automation system called Project Q. It uses an Android tablet as a central dashboard to monitor and control various caravan systems. I'm evaluating Webview Kiosk as the platform for this dashboard and have two questions. 1. Navigation between locally imported HTML files I've imported two simple HTML files, index.html and page2.html, into Webview Kiosk's Files manager. Both files open independently when selected from the Files list. However, clicking a standard relative HTML link to navigate between them fails. The resulting error is: net::ERR_INVALID_RESPONSE The attempted URL is: https://appassets.androidplatform.net/web-content-files/page2.html The same problem occurs when navigating back from page2.html to index.html. I've reproduced this on three Android devices. The same HTML files and links work correctly on Windows. I'm using:
Is navigation between separately imported local HTML files supported? If so, is there a particular way these links should be constructed? 2. Launching other Android applications in kiosk mode Project Q needs to launch approved Android applications from dashboard buttons while keeping the kiosk environment secure. I understand Webview Kiosk supports Lock Task Mode and Dhizuku permissions. Can you clarify which capabilities are available using Dhizuku, particularly for launching external Android applications and returning to the dashboard? Would direct Device Owner provisioning be preferable for this type of multi-application kiosk? I'm keen to use Webview Kiosk as the foundation for Project Q and would appreciate any guidance. Many thanks. |
Replies: 1 comment
|
Hey @Ianvwgolf, Your URL: won't work, because the URL generated by Webview Kiosk contains a unique UUID generated for the file. To copy the link to your uploaded file, go to
click the 3 vertical dots icon and then The format is e.g. For your second question - Device Owner (whether granted directly or via Dhizuku) is sufficient in launching apps in lock task mode. For more details, see the documentation for kiosk control panel actions here: |
Hey @Ianvwgolf,
Your URL:
won't work, because the URL generated by Webview Kiosk contains a unique UUID generated for the file.
To copy the link to your uploaded file, go to
click the 3 vertical dots icon and then
Copy Linkfrom the dropdown.The format is
e.g.
For your second question - Device Owner (whether granted directly or via Dhizuku) is sufficient in launching apps in lock task mode.
For more detail…