Smart View SDK Samples

The samples in this topic demonstrate how you can integrate Androidâ„¢ devices, iOS devices, and Web browsers with Samsung TV applications, using the Smart View SDK.

  • Casting video with Smart View

    The following samples demonstrate implementing general Smart View video casting features on mobile and TV applications.

    Sample Description
    Integrated Device Discovery

    This sample demonstrates how to integrate Smart View with Google Cast. You can select a YouTube video on a mobile device, and select a Samsung TV or Google Cast-enabled device to view it on.
    SmartViewSDKCastVideo

    This sample demonstrates Smart View development best practices and the Smart View UX guidelines. You can also use this sample as a starting point when developing a video casting application.

    Table 1. Casting video with Smart View

  • Launching installed TV applications

    The following samples demonstrate using a mobile application to launch a specific application installed on the TV.

    Sample Description
    ChatApp

    This sample enables multiple users using mobile devices to chat with each other, using the TV as a communication server.
    QuizApp

    This sample enables multiple users using mobile devices to play a quiz game on the TV with each other.
    YouTubePlayer

    This sample allows you to select a YouTube video on a mobile device and view it on the TV.

    Table 2. Launching installed TV applications with Smart View

  • Launching the default media player

    The following samples demonstrate using a mobile application to launch the default media player application on the TV.

    Sample Description
    DefaultMediaPlayer 1.0

    This sample demonstrates how to send a video content URL from a mobile application to the default media player application on the TV, and control media playback from the mobile application.
    DefaultMediaPlayer 2.0

    This sample demonstrates how to send a video content URL from a mobile application to the default media player application on the TV, and control media playback from the mobile application.

    Table 4. Launching the default media player with Smart View

  • Using other Smart View features

    The following samples demonstrate some other Smart View features that you can take advantage of.

    Sample Description
    Casteroids

    This sample demonstrates how to implement a simple game application for Android mobile devices and TV. It implements different types of communication controls from a mobile application to a TV application.
    HTML5VideoSample

    This sample demonstrates how to implement a simple video player for a Web browser and TV.
    SmartViewSDKSample

    This sample demonstrates how to implement a simple message viewer for a Web browser and TV.

    Table 5. Using other Smart View features