Front garment

I haven't found any documentation about this. Is it possible to create a pre-service on android wear? Usually foreground state is associated with constant notification, but not possible to wear, so I'm a little confused. Does anyone have a foreground service in wear?

+3


source to share


1 answer


According to the documentation:

"The system imposes a timeout period. If you show activity and the user doesn't interact with it, the device sleeps. When they wake up, the Wear home screen is displayed instead of your activity. To show something persistent, create a notification in the context thread instead."



So, I believe it is possible to have a persistent user interface (there might not be a persistent foreground notification other than a map or stack).

Hope it helps.

+3


source







All Articles