I have a Xiaomi Mi 150 UST projector (the international version with Android TV).
I don't use Android TV on it (instead preferring my Shield) because it has atrocious inherent audio lag that can't be compensated for (videos from Plex or YT on the projector has 80-100ms of audio lag). It's unclear if this is a flaw of this model of projector or just my unit.
So, despite the projector having CEC settings, source switching DOES NOT WORK. However, the projector does power on when a source is activated, so I've been trying to find a way to auto-switch source when it boots.
Does anybody have any experience doing something like this or have any other suggestions. I'm OK with rooting the device, I am also OK with building my own Android app if this is somethign that could be done. I am a software developer but have never done any Android development and can't seem to find a clear indication that there is an API that a user-space app could use to do this, but I am hoping somebody here will tell me different...
Also, if you have this device and do NOT have input lag, please also let me know that because maybe the easiest thing here is to just replace the projector...
I suppose you could use "Launch on boot" to change to the app that is used for managing sources 🤨? https://play.google.com/store/apps/details?id=news.androidtv.launchonboot