Announcement
Collapse
No announcement yet.
User Profile
Collapse
-
This is why a simple test case can come in handy!
- 15 posts
-
before spending too much time, you may want to throw together something really simple to see how CONNECTION_STATE_NOT_INITIALIZED works on a device. It...
- 14 posts
- 1 like
Leave a comment:
-
Again, with a watch face that wants to be as battery cheap as possible, with your code, I'd just check "hasConnectionInfo" before calling the...
- 11 posts
Leave a comment:
-
With a watchface, devs tend to want to be as battery friendly as possible, as it does run all day. Doing the has check in initialize is a way to call...Last edited by jim_m_58; Yesterday, 04:31 PM.
- 11 posts
Leave a comment:
-
"has" is an expensive operation - it's got to scan a dictionary each time. That's why I separate the "has" check for something that's...Last edited by jim_m_58; Yesterday, 04:06 PM.
- 10 posts
- 1 like
Leave a comment:
-
You can't detect that headphones are connected from CIQ. The Bluetooth info is only being connected to the phone
- 6 posts
Leave a comment:
-
If you want all the states it's an easy change:
Code:function lteState() { var state=null; var ci=System.getDeviceSettings().connectionInfo[:lte];
- 4 posts
Leave a comment:
-
How to detect if LTE is connected for a watch face icon
With the va3 Music LTE, I put together a small function see if LTE is connected, as you can do with phoneCommetect for a Bluetooth connection.
...
- 15 posts
-
Edge devices are different, as the whole device will enter a sleep mode or turn itself all the way off, with no user action required.
- 11 posts
Leave a comment:
-
Small tweaks are needed at times. That's a nice thing about the fonts being constant on each device. New FW won't break those tweaks.
There...Last edited by jim_m_58; 02-16-2019, 04:37 PM.
- 18 posts
Leave a comment:
-
The fonts on the device won't change, and therefore, the FONT_* and FONT_NUMBER_* fonts won't change. For this to occur, all the native screens on a...
- 18 posts
- 1 like
Leave a comment:
-
Good catch on the FONT_* vs FONT_NUMBER_*.
But on the font height, what you see is correct. The characters in that font might not use the...
- 18 posts
- 1 like
Leave a comment:
-
-
By the way, something you can try, is instead of using a top height for the font as "y", is use y+fontHeight/2, and then TEXT_JUSTIFY_VCENTER...
- 18 posts
Leave a comment:
-
What you might be seeing is some fonts (number fonts are most common) have extra white space at the top. Try drawing a line across the screen where you...
- 18 posts
Leave a comment:
-
Vald - FONT_* are different between different devices. The font itself can be different, the height and width, the "boldness", etc.
...
- 18 posts
Leave a comment:
-
735 is like the other semi-round, and Chronos is like the f5s, and f3hr and d2 Bravo like the f3, and D2 Charlie/Delta and mk1 like the f5x.
...Last edited by jim_m_58; 02-15-2019, 03:27 PM.
- 18 posts
Leave a comment:
-
I think it's because you don't have View in the delegate - so, View.findDrawableById is throwing the correct error. You'd also get an error on the setColor....
- 2 posts
Leave a comment:
-
jim_m_58 replied to charging attribute accesible since SDK 3.0.0 acording to docs but I get in SDK 2.4.9in Connect IQ"has" has to look at a dictionary to see if something is there, so it's not a simple thing. That's why I do that in initialize. Its' the same...
- 5 posts
- 1 like
Leave a comment:
No activity results to display
Show More
Leave a comment: