Our i.MX6 boards support up to four displays, and we’ve been asked a number of times about dual display in Android.
At long last, we now have a dual display demo using our latest Android Lollipop 5.0 release that shows separate applications on each display.
We want to thank Dariusz Kluska for his OkienkaTest app that runs multiple activities in Android Lollipop as shown below. The appplication uses ActivityView for embedding multiple activities inside one application to create multiwindow solutions for Android.
We built upon this app to use the secondary display API introduced back in JellyBean that allows a single app displaying different content on the available screens:
Darek helped us understand how to achieve what we were looking for, especially getting the input dispatched properly. The source code for the app is available on github: