1

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.

Andrew F
  • 1,712
  • 2
  • 15
  • 24

2 Answers2

1

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

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

Hoi
  • 599
  • 2
  • 7
0

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/

Sam Dozor
  • 40,335
  • 6
  • 42
  • 42