My question comes from the use case that my android device is connected to 4K TV through HDMI. By default, it mirrors and upscales the content of my android device to 4K TV. The video quality is not ideal. I would like to use presentation mode to recreate the same content based on 4K resolution.
My app has multiple fragments. So naturally, I would like to find a way to re-use all of these fragments on presentation. I had done one fragment on presentation smoothly based on the following library. However, I am having difficulties to add the second fragment on presentation.
Based on the library cwac-presentation, I can create two fragments of webview on presentation, (for example, one webview for google.com, another for yahoo.com), but only the last one is shown. the previous one is somehow hidden. If unplugged HDMI, both fragments are shown on android local screen.
In theory, I could rewrite all my code using one fragment on presentation, that would be too much work.
Is there any limit on presentation? Or any suggestions to show two fragments on presentation?
BTW, I also look into MirrorPresentationFragment. My understanding it does upscaling instead of re-generating content. It would be ideal to re-generate the content based on 4K resolution. Is my understanding correct?