I understand that this is something that needs to be set for the application but when applied to the main window, this could actually work if you have these PHONE / TABLET agents especially for the main window.
Anyway, I tried to look at the bootstrap approach but I am not sure what to do with it. Can I just copy the BootstrapListener.java to my own project and would it work? I downloaded the dashboard app as a whole, imported it in Studio but I cannot see the BootstrapListener in Studio.
When running the dashboard application, I can see the meta tag. And when I copy this tag to my own application using the brwoser console, the behaviour of my own application improves significantly (in terms of working on phones/tablets). Better yet, just adding this tag makes it a whole lot better:
<meta name="viewport" content="width=device-width">
If I could use the bootstrap technique in my own project I am happy to go with that.
So, please explain what to do with the BootstrapListener.