Sample Application
  • 22 Aug 2023
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

Sample Application

  • Dark
    Light
  • PDF

Article summary

A demonstration to integrate player SDK in your App.

Download sample application

  • You will need to download the VLPlayer framework from this this link.
  • You can use git client to download the framework and sample or simply download the zip.
  • Go to vlplayerdemo folder. Within the folder you will have access to sample application along with VLPLayer framework and supported frameworks needed to run it.


Setting up sample application

Open Android Studio and import the project.

Go to File -> Open and select the project folder you have downloaded.

938

Select vlplayerdemo in configuration if it's not already selected.

And you are ready with sample application.

Now if you want to run sample application on physical device, you need to enable developer settings and usb debugging under developer settings on device.

if you need help setting up device, visit : https://developer.android.com/studio/debug/dev-options

Otherwise, just create emulator using Device Manager and start it.

2178

Now you are ready to run the app. Build and run the sample app.

Important
  • You would need to get access to player SDK from ViewLift Support and host content on Viewlift Tools.
  • Content Id can be fetched from tools and playback token from VL APIs.


Was this article helpful?

What's Next