top

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.

    Table 1. Casting video with Smart View
    Name 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.
  • Launching installed TV applications
    The following samples demonstrate using a mobile application to launch a specific application installed on the TV.

    Table 2. Launching installed TV applications with Smart View
    Name 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.
  • Launching cloud-based TV applications
    The following samples demonstrate using a mobile application or Web browser to launch a cloud-based application on the TV.

    Table 3. Launching cloud-based TV applications with Smart View
    Name Description
    HelloWorld If you are new to using the Smart View SDK, start with this sample application. The sample introduces the basic Smart View features. It demonstrates the “discovery” process, launching a cloud-based TV application, and sending and receiving simple messages.
    PhotoShare This sample demonstrates how to send binary data from a mobile or browser application to a cloud-based TV application. You can select photos from a mobile device or computer and display them on the TV.
  • Launching the default media player
    The following samples demonstrate using a mobile application to launch the default media player application on the TV.

    Table 4. Launching the default media player with Smart View
    Name 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.
  • Using other Smart View features
    The following samples demonstrate some other Smart View features that you can take advantage of.

    Table 5. Using other Smart View features
    Name 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 cloud-based TV application.
    fakeCloudApp This sample is a dummy TV application that is intended for testing mobile device connections to cloud-based TV applications.
    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.