Make input into Presentation


#1

Greeting:

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.

Sincerely,


#2

AFAIK, Presentation is output-only. You could have an EditText in MainActivity and mirror it to the Presentation — I have mirroring stuff for that in the CWAC-Presentation library.


#3

mmurphy:

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 :frowning:.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.