DISTRIBUTION OF TIZEN-BASED WATCH APPS HAS BEEN DISCONTINUED
Build a simple UI
The following instructions help you to create the UI illustrated in the following figure.
1. Building the layout using HTML.
The index.html file has 2 items to display content. The first is the content layout and the second is the button to call a method for sending a message.
3. Display messages received from an Android device using the DOM object that has the content_view id.
function createHTML(log_string)
{
document.getElementById("content_view").innerHTML = log_string;
}
function onreceive(channelId, data)
{
createHTML(data);
}
Manage Your Cookies
We use cookies to improve your experience on our website and to show you relevant
advertising. Manage you settings for our cookies below.
Essential Cookies
These cookies are essential as they enable you to move around the website. This
category cannot be disabled.
Company
Domain
Samsung Electronics
developer.samsung.com, .samsung.com
Analytical/Performance Cookies
These cookies collect information about how you use our website. for example which
pages you visit most often. All information these cookies collect is used to improve
how the website works.
Company
Domain
Samsung Electronics
.samsung.com
Functionality Cookies
These cookies allow our website to remember choices you make (such as your user name, language or the region your are in) and
tailor the website to provide enhanced features and content for you.
Company
Domain
Samsung Electronics
developer.samsung.com, google.account.samsung.com
Preferences Submitted
You have successfully updated your cookie preferences.