Design Introduction “Air” Styles Mobile Design Principles Styles UX Overview Design Patterns UI Components for Tizen App Design 2.3 TV Design Principles Styles UX Overview Patterns UI Components Wearable Development Tizen Studio Overview Download Tizen Extensions for Visual Studio Family IoT extension SDK Docs Blog Blog Announcing the Tizen Studio 3.7 Release Announcing the Tizen Studio 3.1 Release Community Forums General Support Tizen .NET Web Application Development Native Application Development SDK & IDE Design Introduction “Air” Styles Mobile Design Principles Styles UX Overview Design Patterns UI Components for Tizen App Design 2.3 TV Design Principles Styles UX Overview Patterns UI Components Wearable Development Tizen Studio Overview Download Tizen Extensions for Visual Studio Family IoT extension SDK Docs Blog Blog Announcing the Tizen Studio 3.7 Release Announcing the Tizen Studio 3.1 Release Community Forums General Support Tizen .NET Web Application Development Native Application Development SDK & IDE
[Wearable] Using tizen API in web worker’s script
Hello, guys.
I am Tizen newbie and JS newbie as well.
I tried to use tizen API in worker.js not app.js.
Why I use Tizen API in worker.js is that I need to write a data from sensors to specific text file continuously.
It was success to run in app.js that the very first script when I made this project.
However, in worker.js, I cannot use tizen API and tizen studio gave me below error message.
Can’t find variable: tizen.
Question 1 : Is it possible using tizen API in other javascript file?
Question 2 -1 : If it is possible, do I have to specify something for worker.js?
Question 2-2 : If it is impossible, what should I do for above situation? Could you suggest ?
BY
16 Apr 2025
Tizen Studio
BY
04 Nov 2024
Tizen Studio
BY
02 Apr 2024
Tizen Studio