Make input into Presentationfrom the CommonsWare Community archives
At January 3, 2019, 3:31am, leonsaber asked:
I have made external display through Presentation and create an EditText on it.
The question is how to make the input from MainActivity to EditText which on the external display. Thank you very much.
At January 3, 2019, 12:29pm, mmurphy replied:
Presentation is output-only. You could have an
MainActivity and mirror it to the
Presentation — I have mirroring stuff for that in the CWAC-Presentation library.
At January 4, 2019, 1:01am, leonsaber replied:
Thank you so much for your reply. I knew your layout SDK, which is very good~ but in my case, I will try to avoid use Mirror. I made one solution by myself, I set onKeyDown listener, through edittext.append() help me make input into edittext which on the external display. I listen to each Key case by case .I knew this is not a very good solution but it is working for me. Hope got a better idea in the future. I think about why edittext.requestfocus() cannot work in PresentationFragment and how to make it work right now. BTW, thank you so much again.