Andrew F
Andrew F

Reputation: 1711

How to support new ambient mode in android wear?

Since last update Android Wear has a new feature - the always-on mode. This means that the Android Wear device doesn’t turn off the screen; it changes to the ambient mode to save battery and keeps certain apps running in the background.

How exactly should I implement this?

p.s. I'm developing sport application, not watchface.

Upvotes: 2

Views: 2308

Answers (2)

Hoi
Hoi

Reputation: 599

We have also created a code lab to run through the steps. Please find it here:

https://io2015codelabs.appspot.com/codelabs/always-on#1

Upvotes: 1

Sam Dozor
Sam Dozor

Reputation: 40734

What you're looking for is how to support "Ambient Mode" in your Wear app's activity.

There is an entire doc dedicated to this:

http://developer.android.com/training/wearables/apps/always-on.html

As well as a code sample:

https://github.com/googlesamples/android-AlwaysOn/

Upvotes: 0

Related Questions