Array Types for Watchfaces (Calories, Distance, etc.)

You should have told me that my links were broken…
Here is the document updated. If someone wants to make it better, Feel Free to do it;

Instructions of DIYcustom dial.docx (507.8 KB)

There is now a WIKI on this :

4 Likes

Sorry, I havenˋt tried the link because I did not expect it to tell me much new.
What I really wanted to know I found in an old discussion:

There is indeed a simpe function for sunset and sunrise time!!:

string.sub(’{wsr}’,1,2)*30

Sadly the links in this chat don’t work anymore and I cannot open a watch manifest to see how this command is implemented.

Can you tell me how or give me a watchface to learn from?

I answered that question already. Re read my long answer. You didn’t follow my advice

Dear R,

I did read your answer and I thank you for it, but it does not make me happy.
Here is the thing:

Obviously our watches (Android 7) are able to perform such actions.
Right now that only works by creating faces that perform them with watchmaker (using another language (Lua?) that our stock launcher does not understand.

So we have to use Eric’s Launcher to use these faces on our watches.

Ergo Eric must know how to ‘translate’ the action into a language (code), that our watches do understand.

So there must be a translation for these actions that the stock launcher will also understand and which i can imply in my xml code, right?

As you said: our watches use external data for our watchfaces and obviously there must be an address, where watchmaker facer receive their sunset, sunrise information from, which our watches can do as well…

Am I wrong here?

1 Like

A few days ago, I was told, it wasn’t even possible to have an interactive watchface:

And now it’s possible even on the simple stock launcher…
It was a hard struggle to find that out, although I explicitly asked for it…

That’s why I didn’t give up on sunset and sunrise, day of year and week of year…

1 Like

At lot can change in such little time :+1:

Yes you’re wrong. At least knowing what we know about stock launcher. Stock launcher does not support that.

2 Likes

That function you pasted is watchmaker LUA language script.(string.sub(’{wsr}’,1,2)*30) The watch will show sunrise thanks to Eric providing a launcher that can interpret such LUA requests

If you play a game on our watch that allows you to shoot laser, does that mean our watch really has support for. Real laser? @Eric_Crochemore 's launcher simply overrules the stock one. The code {wsr} and {wss} works because Eric programmed the watch launcher to understand it in the first place. If there was another way, I would have told you

Tbh, tap actions can be used to trigger certain things, even in stock launcher.

1 Like

Imagine this , your are in the UK , you are hungry , you have no money , but you have your watch with your new touch watch face…

Hang on , wait …

You have credit on your " greggs " account

1 Like

That’s cool mate! To be fair, I haven’t lived in the U.K for quite a few years :slight_smile: so I’ll just say away from marmite!!!
Sorry off topic remove if you wish lol

1 Like

Haha . Happy dayys . :joy::joy::joy::joy::joy:

Buhuhaha! I need this for Smileys Pizza Service!:+1:

1 Like

Hurray, so paying with the watch is also possible…:+1:
Is there something similar in Germany? :innocent:
I know “payback” does something like that on my mobile,
but I can’t get the app on app store with my watch and I cannot get the apk to work properly…

1 Like

Sorry, if I was too annoying…
But the laser allegorie does not really nail it either…
I was hoping it was something like >rotate< 27… :innocent:

Then I need another information to get what I want:

What do I write down in the array 100 script, when the cls path is shown in Package Name as “null”?

E.G.: pkg = com.wiite.wearhealthuart, cls = null

I’ve already tried 0, null and omit…

Or does it mean there is no accessable action?

1 Like

To explain what I’m doing:
I would like to have a link to the stock fitness overview that usually appears when you swipe up…
and to the cleaning action that is provided in the stock launcher when you swipe down.

Both actions are missing in the UL

Btw: I used many posts instead of one, because I thought it was easier to read this way and they are different topics…

Lolz.:woozy_face::woozy_face::woozy_face::woozy_face::woozy_face::woozy_face::woozy_face::woozy_face::woozy_face::woozy_face::woozy_face::woozy_face::woozy_face:

This will come in handy in the lounge!

1 Like

I aint going back in there ever again …

2 Likes