You can use the Android Presentation API (API 17). It works very well.
Your presentation is related to Activity, which allows you to display, for example, Live Stream on a TV (for example, HDMI), and use the phoneβs display as a remote control. I did this in the application, and also out of laziness I added a second application for the second phone, which is used as a Bluetooth remote control.
Hope this answers your question.
source share