How can I check the type of the device? Or at least, how can I check if my widget is ran on a round / square watch?
Thanks in advance!
How can I check the type of the device? Or at least, how can I check if my widget is ran on a round / square watch?
Thanks in advance!
<string id="device">d2bravo</string>
function initialize() {
mDevice = Ui.loadResource(Rez.Strings.device);
}
function isRoundWatch() {
return mDevice.equals("fenix3") || mDevice.equals("d2bravo");
}