2

On api less than 30 everything works, on Samsung (GW4) watches with api30 icons are also normally displayed and you can pull them out of ComplicationData.

if (complicationData.getIcon()!=null) {
    icon[complicationId] = complicationData.getIcon();
    drawable = icon[complicationId].loadDrawable(getApplicationContext());
}

And in Pixel Watch and the emulator with api30 we have an error:

Unable to find pkg=com.google.android.wearable.sysui for icon Icon(typ=RESOURCE pkg=com.google.android.wearable.sysui id=0x7f08010a) android.content.pm.PackageManager$NameNotFoundException: com.google.android.wearable.sysui

The same (nothing data received) with

.getSmallImage() .getLargeImage() .getBurnInProtectionIcon()

Moreover, if you run the watchface from the Samsung Studio on the same emulator, there are icons.

But the text from complications is displayed allways normally and is pulled out without problems.

Something new in api 30 that is not shown in the complications documentation.

1
  • Is it possible to do this without switching to a jetpack? Commented Mar 4, 2023 at 12:04

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.