Build the Primetime reference implementation

The TVSDK Primetime Reference is an Android application built around the TVSDK and AVE frameworks.

To set up and build the Primetime Reference project in Eclipse:

  1. Download the TVSDK Android zip file and unpack it into a directory in a location that you will remember.

  2. Launch Eclipse.

  3. Select File > Import.

  4. Select Android > Existing Android Code Into Workspace.

  5. Click Next.

  6. Use the Browse button to populate the Root Directory field with the directory under samples/PrimetimeReference/src to which you unpacked the TVSDK Android zip file.

  7. Select the following projects to import: appcompat, PrimetimeReference.

  8. Click Finish.

  9. Select Project > Build Project to build the project.

    This step is not necessary if the project is set up to build automatically.

  10. If you would like to include the tests project in the workspace, associate the tests project with the PrimetimeReference project:

    1. Repeat steps 3. through 6.

    2. Select the following project to import: PrimetimeReference\tests.

    3. Click Finish.

      The tests project has a dependency on the CatalogActivity project so you need to associate the tests project with the CatalogActivity project.

    4. Right-click tests and choose Properties.

    5. Select the Projects tab under Java Build Path.

    6. Click Add…

    7. Select CatalogActivity.

    8. Click OK to add the project.

    9. Click OK to exit the Properties page.

    10. Select Project > Build Project to build the project.

      This step is not necessary if the project is set up to build automatically.

On this page