Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Problem with direct link in GAM

ANSWERED

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 

 

 

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

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.

 

Peter McLennan
Gondwana Software

View best answer in original post

Best Answer
0 Votes
7 REPLIES 7

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.

Peter McLennan
Gondwana Software
Best Answer
0 Votes

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?

Best Answer
0 Votes

@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?

Best Answer
0 Votes

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?

Peter McLennan
Gondwana Software
Best Answer
0 Votes

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.

Best Answer
0 Votes

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.

 

Peter McLennan
Gondwana Software
Best Answer
0 Votes

Perfect, I did it!

Best Answer