0

I have started developing on Google glass but i found something very weird. Activity ends when Google glass goes to sleep? Can anyone help me on how can i stop the glass from killing the activity.

Neha Agarwal
  • 622
  • 7
  • 24
Sheraz Ahmad Khilji
  • 8,300
  • 9
  • 52
  • 84

1 Answers1

0

I was having a very similar issue. I also found a related question here: https://stackoverflow.com/questions/31318952

As noted in the comments by the poster, adding the immersive property to my AndroidManifest.xml fixed the issue and the Glass now always wakes up to my Activity.

<activity
    android:name="com.my.app.ActivityName"
    android:immersive="true">
</activity>
Community
  • 1
  • 1