Is it possible to use a Room database in an android Tile?

59 views Asked by At

I am building an app specifically for watches, with it I'd like to have both a tile and a complication. In the tile I would like to show a simple chart of the users activity, or at the very least their progress for their daily goal. The problem is I can't find any sort of documentation on using a Room database inside the CoroutinesTileService() class. My app is written in Kotlin with Jetpack Compose. I'm sorry I don't have any code samples, as I can't even find a place to start. I have a simple TileService right now, but it's just a basic "Hello World" sample as a poc. I have been searching for hours and can't find anything with CoroutineTileService() and a Room database. Any help or links, or anything would be greatly appreciated.

0

There are 0 answers