Hi Qiang,
Thank you for the response. I was able to use the Presentation Java class mentioned in the link to display a different view on my second display without needing to make the changes to the kernel! So I have now succeeded in displaying different content on the 2 screens from one app, which is actually ideal for our needs. I was able to achieve this like so:
DisplayManager manager = (DisplayManager) getSystemService(DISPLAY_SERVICE);
Display[] displays = manager.getDisplays(DisplayManager.DISPLAY_CATEGORY_PRESENTATION);
if (displays.length > 0)
{
Display display = displays[0];
Presentation presentation = new Presentation(this, display);
TextView view = new TextView(this);
view.setText("Hello world!");
presentation.addContentView(view, new LinearLayout.LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT));
presentation.show();
}
Thank you for the help.
Cheers,
Josh