I'm wondering if I can develop an application, where I can have the main content displayed on a big screen connected to my Android via HDMI and use the Android's touchscreen as a controller displaying different content.
So far the videos I've seen about Android's HDMI feature only mirror the phone's screen to the big screen.
The simplest option is a USB-C to HDMI adapter(Opens in a new window). If your phone has a USB-C port, you can plug this adapter in to your phone, plug an HDMI cable in to the adapter, and then connect the cable to the TV. Your phone will need to support HDMI Alt Mode, which allows mobile devices to output video.
You can access this control by choosing “Settings” and then selecting “HDMI.” Next, select “HDMI Settings” and tap the resolution / refresh rate combination. If your TV has no HDMI port, it cannot be paired with your Android device.
You can use the Android Presentation API (API 17). Works very well.
Your presentation is connected to an Activity, which lets you display e.g a Live Stream on the TV (through e.g HDMI) and use phone's display as a remote. I've done this in an app, and also out of laziness added a second app for a second phone which is used as a bluetooth remote control.
Hope this answers your question.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With