Questions tagged [wear-os-tiles]

Tiles provide easy access to the information and actions users need in order to get things done. With a simple swipe from the watch face, a user can find out the latest forecast or start a timer.

This functionality used to be limited to first-party applications, but is now a part of Jetpack and can be used by anyone. For more details see the official documentation:

https://developer.android.com/training/articles/wear-tiles

16 questions
4
votes
2 answers

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…
D Lad
  • 146
  • 8
4
votes
3 answers

Android Tiles for wear unclear debug preview

I started to update our wear module to be up to date with latest guidelines of Google Play. Since I'm doing so, I decided to add the Tiles API to the app. When ready for public release it will already be implemented. Doc:…
techker
  • 189
  • 1
  • 10
2
votes
4 answers

Wear OS Tiles and Media Service

The Wear OS tiles example is great, not so much of an issue but how would one start the background media service that play the songs selected in the primary app, when every I try to start the service, I get the following error. The is no UI thread…
Vicky P
  • 63
  • 6
2
votes
1 answer

Android Wear Tile only works with TileUiClient

I'm trying to write an Android Wear tile in Java. I finished my design using the TileUiClient. Previewing the Tile in an Activity works fine, but as soon as I try to view the tile normally it doesn't show anything anymore. It just displays the Tile…
SST
  • 61
  • 6
1
vote
1 answer

How to send data from main app to tile on wear os?

Quick and direct question: How do I send data from the main application to a tile on wear os? It is a simple data to be send, for example a "foo" string Ps. Unless there isnt another way, I rather not having any action from the user, like a "get"…
1
vote
1 answer

How to update WearOS tile after http request callback?

I am doing something that I thought should be straightforward: A WearOS tile shall display the data fetched via https request. I took the goals tile example from the documentation and added a callback for fetching the data in my Tile…
Toumal
  • 562
  • 4
  • 10
1
vote
0 answers

How do I change the favicon of an html bookmark/tile on a Samsung watch 4

I like to save internet bookmarks as tiles on my watch 4. They all show the same generic icon. Is there a way to change these? Like a favicon?
1
vote
1 answer

Wear-OS Tiles Image not rendering

So I am trying to update the background image of a Tile when it reloads, the ByteArray seems to get generated and there are no errors, but the background just remains black. If I apply non-dynamic resource directly, like from drawable it works…
Vicky P
  • 63
  • 6
1
vote
1 answer

Wear-OS Tiles and marquee_forever

How would one go about adding the attributes like the below to a text component in a Wear-OS Tile android:marqueeRepeatLimit="marquee_forever" android:ellipsize="marquee" android:singleLine="true"
Vicky P
  • 63
  • 6
1
vote
1 answer

Wear OS Tiles: How would one update UI dynamically

So I am working to build media tile, but whenever I play the a next song and use getUpdater(applicationContext).requestUpdate(MyTileService::class.java) it take few seconds before it refreshes the tile, so the next song starts but, the…
1
vote
1 answer

How do Wear OS Tiles update themselve every second?

I have made a tile that should show the current heart rate. The tile gets the heart rate from shared preferences and it works perfectly but I need to refresh it like every second. Currently, I can only refresh it every minute using…
Pezcraft
  • 270
  • 3
  • 15
1
vote
1 answer

How to send data to Android Wear TileService

I don't really know, how to feed my Wear OS tiles with data. Currently, I am experimenting with receiving my heart rate from a BroadcastReceiver, which works but my value is always 0 inside onTileRequest. This is my TileService... public class…
Pezcraft
  • 270
  • 3
  • 15
1
vote
1 answer

Android Wear Tile JavaBinder Exception

I am trying to add a Wear OS tile to my app. I am not previewing my tile in an activity since it is already possible to add custom tiles. But whenever I slide to my tile, I get this exception and the tile only displays the label of my tile, provided…
Pezcraft
  • 270
  • 3
  • 15
0
votes
1 answer

Android WearOS tile does not show up

I have a Java WearOS app that tries to implement a simple tile. The tile does not appear in the Add Tile list. AndroidManifest.xml
0
votes
1 answer

SuspendingTileService() is causing two errors on an empty class

I'm re-writing a wearOS android app. This app uses Horologist tiles. When I try to create the class to implement the tiles, I get the error: Class 'MainTile' is not abstract and does not implement abstract base class member public abstract val…
BCT
  • 193
  • 8
1
2