Networking and Connectivity
The following questions are related to implementing networking and connectivity features.
Most Web applications use a network connection to, for example, play media and download files. Because the network connection can disconnect and reconnect unexpectedly, checking the network status regularly is very important for application stability. For information on how to monitor network status changes, see Checking Network Status.
#network connection status #disconnect #reconnect #network state change #internet connection
To enable sending requests to external servers, you must add the following lines to your "config.xml" file:
To permit the application to access the Internet, include the following privilege: <tizen:privilege name="http://tizen.org/privilege/internet"/>
To grant permission to access the external server, define the server URL using the access element:
#config xml #external server #access origin #ajax request
Yes. You can define the navigator.userAgent string directly.
#user agent string #http header
Since 2017 models, the Notifications API is supported on Samsung TVs.
Since 2018 models, the Web standard Push API is also supported.
#notification #notifications api #push #push api #web standard
No. Samsung Smart TVs do not support XMPP messaging.
No. Retrieving details about the active Internet connection interface on the TV is not supported.
#connection interface #internet connection #wifi connection
When the TV is switched on after being switched off, the network connection does not resume immediately. You can experience network errors, or the application plays the content still in the buffer and stops. To avoid these scenarios, when the application is resumed, make sure you check that the network connection is available before resuming media playback.
#media playback #resume #error #buffer #streaming #disconnect