---
title: Step 3. Test the app
description: PingOne Advanced Identity Cloud PingAM Android
component: orchsdks
page_id: orchsdks:journey:try-it-out/android/03_run_the_sample
canonical_url: https://developer.pingidentity.com/orchsdks/journey/try-it-out/android/03_run_the_sample.html
revdate: Mon, 3 Jul 2023 18:00:37 +0100
keywords: ["PingOne Advanced Identity Cloud", "PingAM", "Journeys", "Setup &amp; Configuration", "Source Code", "Tutorial", "SDK"]
---

# Step 3. Test the app

[icon: circle-check, set=far]PingOne Advanced Identity Cloud [icon: circle-check, set=far]PingAM [icon: android, set=fab]Android

* [Prepare](00_before-you-begin.html)

* [Download](01_download_samples.html)

* [Configure](02_configure_sample_for_journeys.html)

* **Run**

In this step, you run and test the sample app.

You run it in the emulator or on your Android device and perform authentication with a demo user.

1. If not already open, in Android Studio, open the `sdk-sample-apps/android/kotlin-journey` folder you cloned in a previous step.

2. Select **Run > Run 'journey'**.

   Android Studio launches the sample app on the connected device or simulator.

3. Tap the menu icon ([icon: bars, set=fas]), tap [icon: bolt, set=material, size=inline]**Launch Journey**.

4. Enter the name of the journey to launch, for example `Login` or `sdkUsernamePasswordJourney` and then tap **Submit**.

5. Sign on as a demo user:

   * **Name**: `demo`

   * **Password**: `Ch4ng3it!`

   After successful authentication the app displays user info:

   ![kotlin journey user info](../../_images/sample-apps/android/kotlin-journey-user-info.png)Figure 1. Viewing userinfo for an account in the Android sample app.

6. Tap the menu icon ([icon: bars, set=fas]), and then tap [icon: generating_tokens, set=material, size=inline] **Show Token**.

   The app displays the access, refresh, and ID tokens for the account. You can also view the scopes granted to the user.

   ![kotlin journey access token](../../_images/sample-apps/android/kotlin-journey-access-token.png)Figure 2. Viewing OAuth 2.0 tokens for an account in the Android sample app.

7. Tap the menu icon ([icon: bars, set=fas]), and then tap [icon: logout, set=material, size=inline] **Logout**.

   The app terminates the user session and returns to the **Launch Journey** page.
