Udostępnij za pośrednictwem


Launch Intent to second screen sample

On a dual-screen device, it's natural to have an activity on each screen. This sample demonstrates how to launch a new activity on the second screen, either from the same app, or in a different app.

When the second screen is not in use, the new activity launches on the second screen side-by-side with the current app. If the second screen is already occupied, the new activity launches on the current screen and replaces the current app.

sample app UI using two page pattern

Try our sample

Get the Intent to Second Screen sample on GitHub: