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:
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.