Sender Apps

SmartView SDK supports sender applications written for the Android, iOS, javascripts.
Refer to the following guide for developing an sender application.

Sender Apps

Sender application with Smart View SDK can be a native mobile application or a web-based mobile application. The Smart View SDK provides various APIs for most mobile device platforms.

Android

Android API can be implemented on mobile applications running on Android mobile or tablet devices. Simply include the provided .jar file into your existing application and add necessary codes to make your application into Smart View enabled one.

iOS

iOS API is provided in Swift language. It can be implemented on mobile applications running on iPhone, iPod and iPad

JavaScript

  • Mobile Web

    You can also use our Javascript API and include in your web app. This means that the mobile component of your Smart View app can be run in mobile Safari, Chrome, and any other modern mobile web browser that supports websockets.

  • Desktop Browsers

    The same Javascript API used for mobile web browsers can also be used in desktop browsers. This means that you can create webapps for the desktop that connect and communicate with TV apps. Any modern browser that supports websockets can be used. Chrome, Firefox, IE8+, and Safari, and more.

Application ID

In case of installed app, there are 2 types of Receiver Application ID.

One is issued by Tizen SDK like "YcKEdWMZve.SmartViewSDKCastVideo". It is available before receiver app is not registered Samsung App Store in development stage.

The other that composed of number is issued by Samsung App Store that composed of number like "3201412000694".

So you should change App ID in the sender app after receiver app will be registered Samsung App Store.

Sender app MUST use App ID that is issued by Samsung App Store to use the full API of SmartViewSDK.

e.g. install API only works App ID that is issued by Samsung App Store

//Development stage
var app = service.application('YcKEdWMZve.SmartViewSDKCastVideo', 'com.samsung.MultiScreenPlayer');

//If recevier app is registered,
var app = service.application('3201412000694', 'com.samsung.MultiScreenPlayer');

Publishing

You control how your mobile app is published. You can publish your mobile app the way you do today to Google Play, Apple App Store, or host your mobile/desktop web app on your own servers.

Error Code

Following are the specific errors to able to receive the message in the onError()

Code Description
401 UNAUTHORIZED Error
404 NOT_FOUND Error
500 Internal Server Error