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

what is the package name of phone dialer?

<drawable>
    <!--PHONE-->
    <arraytype>100</arraytype>
    <centerX>0</centerX>
    <centerY>0</centerY>
    <range>30</range>
    <cls>com.android.dialer</cls>
    <pkg>com.android.dialer.DialtactsWearActivity</pkg>
</drawable>

this didn’t work on my optimus pro

Have you read our tutorial ? You must get the package name from watch , not phone and must put them the right way round . Then it will work

Its the cls and pkg lines

2 Likes

Hey,
thanks for responding, Yes the tutorial was of very good use and also I’ve already made a watch with that. And yes I got the package name and class from the watch.

1 Like

Looks like you put the package where the class goes and vice versa.

1 Like

that worked thank you very much. I’m dumb.
image

1 Like

What is the package address for system power saving

If you cannot find in app on phone you will struggle to find this

has anyone implemented this?

Not as yet ( as far as i know )

@odin has done it…

So why ask ?

1 Like

I thought it is one of lifes biggest questions to be answered…

Actually found that in the meantime before your replied.

No probs . There are lots of interesting things in @Odin 's . Xml files when you look deep :+1:

Is it allowed to use others xml snippets

Learning from .xml files not a problem . Using other peoples images , faces etc without permission is a problem
Thanks

3 Likes

Hello and how to register a GIF?

in WFD (watchface designer):

  1. create a new face
  2. add a gif layer
  3. select a .gif
  4. export standard clockskin
  5. edit clock_skin.xml:
    replace animation drawable content with
<drawable>
	<name>animated_image_1.xml</name>
	<arraytype>62</arraytype>
	<centerX>0</centerX>
	<centerY>110</centerY>
    </drawable>
    <drawable>
	<name>animated_image_1.xml</name>
	<arraytype>62</arraytype>
	<centerX>0</centerX>
	<centerY>110</centerY>
    </drawable>
	<drawable>
        <name>animated_image_1.xml</name>
        <framerate>10.00000000000000</framerate>
	<centerX>0</centerX>
	<centerY>110</centerY>
    </drawable>

This is an example. you can change X Y and frames per second

1 Like

I did some tests with the framerate a few days ago. I couldn’t notice any effect.

2 Likes

Same here . Framerate stayed the same as original .gif

1 Like