Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to show different content on the Android's screen and the screen connected via HDMI?

Tags:

android

hdmi

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.

like image 561
znq Avatar asked Sep 19 '11 12:09

znq


People also ask

How do I display my phone screen on my TV with HDMI?

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.

How do I enable HDMI on Android?

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.


1 Answers

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.

like image 131
olealgo Avatar answered Oct 12 '22 08:10

olealgo