In this step, you create a layout and add buttons to log in and log out your user, as well as a text view field to show their current authentication status.
You also add the code to update the value displayed in the text view.
You run it in the emulator or on your Android device, perform authentication with a demo user, check the log for success messages, and then log out the user.
Configure a sample Android app to launch a browser to authenticate your users in PingOne, using centralized login.
After authenticating, PingOne redirects users back to your sample client application, that can then get OAuth 2.0 tokens and user info for the user.