Coder Social home page Coder Social logo

Comments (6)

davidgyoung avatar davidgyoung commented on July 17, 2024

Since the upgrade of Google Glass to Android 4.4, yes, this should be compatible. I have not tried, so perhaps you can give it a shot and let us know!

from android-ibeacon-service.

thecoleorton avatar thecoleorton commented on July 17, 2024

I'm using it right now on Glass XE16.2 - so far so good!

If only I could prevent Glass from going to sleep after about 15 seconds or so :D

from android-ibeacon-service.

powerje avatar powerje commented on July 17, 2024

@thecoleorton this I/O video from last year has instructions for changing that setting:
https://developers.google.com/events/io/sessions/332704837

Basically you modify Glass to run like a normal Android device and use a bluetooth mouse to adjust your settings. I haven't tried it with XE16.x myself though - I was one of the unlucky ones with a bootloop issue :(

from android-ibeacon-service.

thecoleorton avatar thecoleorton commented on July 17, 2024

@powerje Ah, yes, I've seen that video as well... There's got to be a way to do it programmatically though as while playing their game demos the device doesn't go to sleep.

This is my first Android project - which just happens to be for Glass - so, I've got quite a bit of catching up to do...

from android-ibeacon-service.

powerje avatar powerje commented on July 17, 2024

Oh, I imagine something like:

getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);

in your Activity should do that.

from android-ibeacon-service.

thecoleorton avatar thecoleorton commented on July 17, 2024

Ah, yes, I found a similar layout value in the Charades example, see: https://github.com/googleglass/gdk-charades-sample/blob/master/res/layout/activity_start_game.xml#L22

from android-ibeacon-service.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.