I am working on a wearable web solution. It is an application that allows you to check stock quotes on google finance.
I already created a web application that allows you to create and edit your portfolio (simple list item handling) – portfolio being the list of stocks to check.
Now i wanted to present the results for each stock on either:
– widget
– custom face watch
The goal is to have the application store its state somewhere – either through tizen.preference, localStorage or pure file storage.
Later on the widget / watch face would read that information and get the most up to date data.
But in this subject i am having quite some difficulties getting it to work.
I would like to ask some questions about my situation on this forum, hoping that some good guy / girl will pick it up and point me towards the right direction to solve those issues.
1) Can i package in 1 packge a watch face AND a web application that would be able to share localStorage / tizen.preference – if yes can someone please post a backbone of this solution?
2) Can i package in 1 package a widget and a web application that would communicate with eachother through tizen.preference or localStorage
3) If i decide to move the logic from the web application to a watchface – what features will be blocked? will i be able to use tau? more specific: tau.changePage()
Here are the scenarios i went through so far:
– custom watch face – i am not able to launch ANY page. I added to the index.html another up-page div, and attached the whole TAU to that watch face. When i call tau.changePage – i see in the debugger that the line is NOT producing any errors, but the page is not changed.
– created 2 projects: web app and widget. Both are separate projects but they are referenced through tizen studio. I created a signed package and deployed it to Gear s3. not signle line from javascript file attached to hte widget gets called. console.log doesn’t work eiter…
– endless try and check the results by modifying config.xml in both packages
– trying hacking bit with document.location – but then the whole thing steps outside TAU which i don’t like…
I don’t think that my solution is a complicated one. in my opinion tizen should support this sort of packaging out of the box so i must be doing something wrong…
Can anybody please help me because i am stuck for several days already – quite frustrating especially taking into account that most of my solution is done – it is just the cherry on top that i am missing now.
Samsung Gear 3 Advanced Watch face
Dear,
I am working on a wearable web solution. It is an application that allows you to check stock quotes on google finance.
I already created a web application that allows you to create and edit your portfolio (simple list item handling) – portfolio being the list of stocks to check.
Now i wanted to present the results for each stock on either:
– widget
– custom face watch
The goal is to have the application store its state somewhere – either through tizen.preference, localStorage or pure file storage.
Later on the widget / watch face would read that information and get the most up to date data.
But in this subject i am having quite some difficulties getting it to work.
I would like to ask some questions about my situation on this forum, hoping that some good guy / girl will pick it up and point me towards the right direction to solve those issues.
1) Can i package in 1 packge a watch face AND a web application that would be able to share localStorage / tizen.preference – if yes can someone please post a backbone of this solution?
2) Can i package in 1 package a widget and a web application that would communicate with eachother through tizen.preference or localStorage
3) If i decide to move the logic from the web application to a watchface – what features will be blocked? will i be able to use tau? more specific: tau.changePage()
Here are the scenarios i went through so far:
– custom watch face – i am not able to launch ANY page. I added to the index.html another up-page div, and attached the whole TAU to that watch face. When i call tau.changePage – i see in the debugger that the line is NOT producing any errors, but the page is not changed.
– created 2 projects: web app and widget. Both are separate projects but they are referenced through tizen studio. I created a signed package and deployed it to Gear s3. not signle line from javascript file attached to hte widget gets called. console.log doesn’t work eiter…
– endless try and check the results by modifying config.xml in both packages
– trying hacking bit with document.location – but then the whole thing steps outside TAU which i don’t like…
I don’t think that my solution is a complicated one. in my opinion tizen should support this sort of packaging out of the box so i must be doing something wrong…
Can anybody please help me because i am stuck for several days already – quite frustrating especially taking into account that most of my solution is done – it is just the cherry on top that i am missing now.
Kind regadrs
Piotr
BY
16 Apr 2025
Tizen Studio
BY
04 Nov 2024
Tizen Studio
BY
02 Apr 2024
Tizen Studio