I work on a kiosk app which can launch other android apps. It runs on top of the lockscreen. The issue I am seeing is that the lockscreen is displayed briefly between activities
How can I launch the other activity without it briefly showing the lockscreen first?
An easier way of achieving this would be to have a dummy (plain-view) activity running before you launch activity-1
. This way, when you do finish activity-1
, dummy-activity
will take over, followed by activity-2
coming into the foreground.
You will (most likely) also need to tell the system not to provide window animations. Do so by adding this to your application theme:
<item name="android:windowAnimationStyle">@null</item>