是否可以显示Android的屏幕上不同的内容,并通过HDMI连接的屏幕?屏幕、不同、内容、屏幕上

2023-09-06 17:18:50 作者:袖手天下睨苍生

我不知道我是否可以开发一个应用程序,在那里我可以在大屏幕上通过HDMI连接到我的Andr​​oid中显示的主要内容,并使用Android的触摸屏作为控制器显示不同的内容。

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.

到目前为止,我已经看到了关于Android的HDMI功能的​​视频只反映了手机的屏幕到大屏幕。

So far the videos I've seen about Android's HDMI feature only mirror the phone's screen to the big screen.

推荐答案

我不认为你可以做到这一点,除非你开发的哪个供应商发布的HDMI接口API,像摩托罗拉的一些设备的设备。对于剩下的,他们通常有一些使用读写控制和/ dev /接入HDMI控制(同样,不能访问未签名的应用程序)HDMI操作系统服务(不能访问的应用程序)。

I dont think you can do this, unless you develop for a device for which vendor published HDMI API, like for some Motorola devices. For the rest, they typically have some hdmi OS service (not accessible to apps) that uses ioctls and /dev/ access for hdmi control (again, not accessible to unsigned apps).