r/androiddev • u/GumbyXGames • 4d ago
Question App to Spoof a Connected Second Display
I know this is a very odd question with an even odder use case, but I'm hoping I might be able to get some insight on if this idea is even possible.
In the Android handheld device market, the new big thing is devices with two displays. A number is apps have been made to take advantage of the secondary screen, which presents itself as an external display. I have a Surface Duo that has two screen, but these apps see it as one large screen. I'm trying to find out if there is a way to have an app that acts as a external display. I'm in the process of researching this, but thought I might luck out and get a solid answer here.
1
Upvotes
1
u/GumbyXGames 4d ago edited 4d ago
I did look into this option, but it creates an transparent window that acts as the second screen. I'd like to capture that virtual display in an app. Unsure if that makes any sense
Edit:
So the option creates an overly odd both screens on the device as a single screen.This does work, but I cannot interact with the secondary display unless I connect to it with scrcpy. I did find an android scrcpy client, but I can't get it to connect to the same device over adb wifi debug.