[Wear OS General] wkevinw:
Process - last step

The simple version:

The WatchMaker folder structure on the watch is very close to the structure on the design (host Android phone or emulator) device. Here is the structure on the host:

/sdcard/BeautifulWatches

/sdcard/BeautifulWatches/,temp

/sdcard/BeautifulWatches/export

/sdcard/BeautifulWatches/featured

/sdcard/BeautifulWatches/fonts

/sdcard/BeautifulWatches/fonts_bm

/sdcard/BeautifulWatches/gifs

/sdcard/BeautifulWatches/images

/sdcard/BeautifulWatches/maps

/sdcard/BeautifulWatches/preview

/sdcard/BeautifulWatches/preview_dim

/sdcard/BeautifulWatches/preview_mini

/sdcard/BeautifulWatches/preview_small

/sdcard/BeautifulWatches/scripts

/sdcard/BeautifulWatches/share

/sdcard/BeautifulWatches/wallpaper_bg

/sdcard/BeautifulWatches/watches

and on the watch:

/sdcard/BeautifulWatches

/sdcard/BeautifulWatches/,temp

/sdcard/BeautifulWatches/featured

/sdcard/BeautifulWatches/fonts

/sdcard/BeautifulWatches/fonts_bm

/sdcard/BeautifulWatches/gifs

/sdcard/BeautifulWatches/images

/sdcard/BeautifulWatches/maps

/sdcard/BeautifulWatches/preview_mini

/sdcard/BeautifulWatches/scripts

/sdcard/BeautifulWatches/wallpaper_bg

/sdcard/BeautifulWatches/watches

Case and spelling is extremely important - if any on the watch are not correct WatchMaker on the watch will not work correctly.

The contents of all of the folders on the watch is the same as that on the host with one exception - the .../preview_mini on the watch are closest to preview_small on the host.

So the short version is after getting the .apk file loaded onto the watch, just replicate the host folder structure onto the watch, minus the export, preview, preview_dim, preview_mini and share folders and renaming preview_small to preview_mini.

The detailed version:

OK - now this is the complicated part. After loading and selecting WatchMaker on the watch, it will create a directory structure /sdcard/BeautifulWatches

First, using either an Android device or the AMIDuOS emulator, create/download/modify all the watch faces that you want to use. Scripts and the WatchMaker LUA's do work, but there are a few functions that can't be used on iOS - basically anything obtained from the phone; so no weather status, no phone battery status, no WiFi or Bluetooth status. Watch battery status and phase of the moon do work.

Next, it turns out that the directory structure on the editing device is very close to that on the watch. So all we need to do is extract the files from the editing device, change/delete a few, and then send the modified structure back to the watch.

So open a command prompt on your computer, then navigate to a folder where we are going to mirror our structure (I recommend having the final branch being BeautifulWatches). Empty it first. Then seed it by entering: ADB -e pull /sdcard/BeautifulWatches. (The -e flag says to direct the command to the emulator). If you are using an actual Android device either use AirDroid to obtain the files or enable Developer mode on the android device and use a USB cable. If you use the USB cable, only connect either the design device or the watch at one time. In this case, use the -d option instead of the -e option - it says to use the USB device.

This will copy all of the necessary files/folders that we will need to our PC. Leave this command prompt open as we need to push our files back when we are done.

Using Windows explorer, or command prompt commands, delete the following folders: export, preview, preview_dim and preview_mini. Then rename preview_small to preview_mini.

And now, all we need to do is put the files back. Connect the watch to the computer with the USB cable. Then, from the same command prompt (or at least from a command prompt whose current directory is the ...\BeautifulWatches shadow location), type:

ADB -d push . /sdcard/BeautifulWatches

It's probably a good idea to now restart your watch. You can do this with ADB -d reboot.

Now, after "changing" watch faces by pressing down for a second or two on the watch face, you will see WatchMaker Premium with a little settings icon. Press this icon briefly and you will see all of your WatchMaker faces. Scroll left or right and select the one you wish to use.

From time to time, especially after deleting a lot of watches or making major changes to your watch face collection, it is probably a good idea to purge your watch of all the files before loading them from the computer. You can do this with a few commands from a command prompt:

ADB -d shell

cd /sdcard/BeautifulWatches/

rm -rf *

rm -rf .*

exit

Then push back your shadow folder and reboot your watch..

Kevin