Canvas incompatible with Tizen 2.3.2 Wearable WebWidget?
Canvas incompatible with Tizen 2.3.2 Wearable WebWidget?
BY 30 Jan 2017Web Application Development
I am trying to use the canvas element in a web widget on the Gear S2/S3, with Tizen 2.3.2.
As part of the main web app, there is no problem with a canvas, but in the web widget, I see the dreaded “It appears your browser cannot render HTML5 canvas” message.
To duplicate:
Create a new project in Tizen Studio: File -> New-> Tizen Project -> Template -> Wearable 2.3.2 -> Web Application -> Widget
Change only the file index.html under the ./widget/Widget directory, to include a canvas in the body:
Canvas incompatible with Tizen 2.3.2 Wearable WebWidget?
I am trying to use the canvas element in a web widget on the Gear S2/S3, with Tizen 2.3.2.
As part of the main web app, there is no problem with a canvas, but in the web widget, I see the dreaded “It appears your browser cannot render HTML5 canvas” message.
To duplicate:
<body>
<div id=”page”>
<canvas id=”canvas” width=”360px” height=”360px”>
It appears your browser cannot render HTML5 canvas.
</canvas>
<div id=”container”>
<p id=”content-text”>Hello Widget</p>
</div>
</div>
</body>
The widget comes out all white, with the “cannot render” message centred on the first line, barely visible.
Am I doing something wrong, or is canvas incompatible with Tizen 2.3.2 Wearable WebWidget?
Hendrik
BY
16 Apr 2025
Tizen Studio
BY
04 Nov 2024
Tizen Studio
BY
02 Apr 2024
Tizen Studio