Skip to content

Instantly share code, notes, and snippets.

@LethalMaus
Last active February 11, 2026 20:01
Show Gist options
  • Select an option

  • Save LethalMaus/3329122edb8cf4bb6b85e5fd104444d8 to your computer and use it in GitHub Desktop.

Select an option

Save LethalMaus/3329122edb8cf4bb6b85e5fd104444d8 to your computer and use it in GitHub Desktop.
WearOSComplication.xml
<service
android:name=".service.QuickstartComplicationService"
android:exported="true"
android:label="@string/app_name"
android:icon="@drawable/app_icon"
android:permission="com.google.android.wearable.permission.BIND_COMPLICATION_PROVIDER">
<intent-filter>
<action android:name="android.support.wearable.complications.ACTION_COMPLICATION_UPDATE_REQUEST" />
</intent-filter>
<!-- Supported types should be comma-separated e.g. SHORT_TEXT,SMALL_IMAGE -->
<meta-data
android:name="android.support.wearable.complications.SUPPORTED_TYPES"
android:value="SMALL_IMAGE" />
<meta-data
android:name="android.support.wearable.complications.UPDATE_PERIOD_SECONDS"
android:value="0" />
</service>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment