01-08-2021 05:52
01-08-2021 05:52
Hello, I have a problem with direct link in GAM.
I created a new clock face with Fitbit Studio, and for text it I used Fitbit OS simulator.
When I download the file .fba and I upload this file in GAM, I tried to put it on fitbit Versa with direct link, but the the clock face in fitbit Versa is different than the clock face simulated on fitbit Simulator (images are missing, the "rounded straight lines" have become rect), why? How can I do?
Thanks
Answered! Go to the Best Answer.
01-08-2021 15:06
01-08-2021 15:06
Re lines, try using stroke-linecap=round
Those negative percentages surprise me, but they're probably not the problem here.
If you're trying to position an image too far off the screen, it can get cropped in unexpected ways. Also make sure the encoding is one of the supported types.
01-08-2021 11:39
01-08-2021 11:39
If you've uploaded multiple versions targetting different SDKs, it's possible that an earlier version has been installed based on the firmware version of the watch.
But you probably didn't do that. There are some rendering differences between simulator and watch. You should be able to connect your watch directly to Studio (unless it's a Versa Lite), without having to upload to GAM and install via direct link. See if the code works when you do that. If so, you'll know it's probably a SDK version issue; if not, it's a device rendering issue.
01-08-2021 13:21
01-08-2021 13:21
Unfortunately I have a problem with developer bridge on my fitbit Versa, because it lose the wifi connection when I transfer the project.
Creating a new project with the same file of the old one, and publishing it in GAM could the problem be solved?
01-08-2021 13:45
01-08-2021 13:45
@Gondwana I managed to get it to work and the clock face with developer bridge is the same that the GAM. How can I make it equal to that of the simulator?
01-08-2021 13:59
01-08-2021 13:59
It depends on the exact nature of the problems. The watch is a lot stricter about image formats and sizes: in general, it's best not to ask it to resize images (ie, make sure the image dimensions are exactly what you want to display), and don't use unsupported compression types.
How are you drawing 'rounded straight lines'? Is it consistent with the documentation?
01-08-2021 14:08
01-08-2021 14:08
I create the rounded lines in this way:
<line x1="0" y1="-5%" x2="0" y2="-35%" stroke-width="10" fill="#c4c4c4" />
and the image are not resized.
01-08-2021 15:06
01-08-2021 15:06
Re lines, try using stroke-linecap=round
Those negative percentages surprise me, but they're probably not the problem here.
If you're trying to position an image too far off the screen, it can get cropped in unexpected ways. Also make sure the encoding is one of the supported types.
01-09-2021 14:14
01-09-2021 14:14
Perfect, I did it!