Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to register new tile on Wear OS

I have just created a TileServiceProvider based on the sample given by google. In the google sample, registration is done using code in the androidManifest.xml file.

But if trying to add a Tile on the watch, it does not work. The sample app is not able to register the tile successfully either. Are we missing some information about registering tiles?

<service
    android:name="com.example.wear.tiles.messaging.MessagingTileService"
    android:label="@string/messaging_tile_label"
    android:description="@string/tile_description"
    android:icon="@drawable/ic_person"
    android:permission="com.google.android.wearable.permission.BIND_TILE_PROVIDER">

    <intent-filter>
        <action android:name="androidx.wear.tiles.action.BIND_TILE_PROVIDER" />
    </intent-filter>

    <meta-data
        android:name="androidx.wear.tiles.PREVIEW"
        android:resource="@drawable/tile_messaging" />
</service>
like image 276
D Lad Avatar asked Sep 07 '25 05:09

D Lad


2 Answers

Google have mentioned fixing this problem in the spring 2021 update for the tiles library. It's still currently not fixed.

like image 80
D Lad Avatar answered Sep 10 '25 11:09

D Lad


Tiles are available for 3rd party developer, since August.

https://android-developers.googleblog.com/2021/08/sharing-tiles-with-your-smartwatch-users.html

like image 23
Yuri Schimke Avatar answered Sep 10 '25 12:09

Yuri Schimke



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!