Sample App - Android

Prev Next

Android Tickets SDK Application Integration Demo

An example integration of the Ticketmaster Tickets framework is available for download :

https://github.com/ticketmaster/Android-TicketsDemoApp

In this demo app you can see a full integration of everything covered in this guide:

  • Authentication SDK + Tickets SDK setup.

  • Login flow.

  • Events and Tickets view presentation.

  • Session expiration handling.

  • Logout implementation.

  • Analytics.

  • Modules.


Configuring Demo app

  1. Open Android-TicketsDemoApp in Android Studio

    1. This will also download all the required libraries

  2. Update local.properties with your own API key, Team Name and colors

config.consumer_key = "consumer_key"
config.team_name = "team_name"
config.branding_color = "#color"

â–Ž Note: API key available from https://developer.ticketmaster.com/explore/

  1. Add your URL scheme to the app's manifest:
    Either under ModernAccountsLoginScreen if you are using Modern Accounts (Host, Archtics, Microflex) to login:

<activity android:name="com.ticketmaster.authenticationsdk.internal.modernaccounts.presentation.ModernAccountsLoginScreen">
  <intent-filter>
    <data android:scheme="[your scheme here]" />
  </intent-filter>
</activity>

or SportXRLoginScreen if you are using SportXR.

<activity android:name="com.ticketmaster.authenticationsdk.internal.sportxr.presentation.SportXRLoginScreen">
  <intent-filter>
    <data android:scheme="[your scheme here]" />
  </intent-filter>
</activity>
  1. Build and Run


Demo App Screenshots