Code Monkey home page Code Monkey logo

activelook_helloworld's Introduction

ActiveLook® HELLO WORLD

Description : Try different features of your Augmented Reality ActiveLook® smart glasses

A mode exhaustive demo with all features of AciveLook can found here : https://github.com/ActiveLook/demo-app/tree/main/android

License

Licensed under the Apache License, Version 2.0 (the “License”);
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
    http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an “AS IS” BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Requirements

You will need the following:

  • A pair of ActiveLook® glasses
  • Android Studio
  • An android phone/watch with BLE

Known supported Devices :

File to create and add at the root : .env

First, you need to add a file called '.env' at the source of the project. This file will contain only 2 lines :

ACTIVELOOK_SDK_TOKEN = ""
ACTIVELOOK_CFG_PASSWORD = 0xDEADBEEF

Main files to modify

The name of the app is defined in the strings.xml file.

  • app\src\main\res\layout\content_scrolling.xml
  • app\src\main\res\values\strings.xml
  • app\src\main\java\com\HelloWorld\demo\MainActivity.java

In order to get the best performances, the ActiveLookSDK directory should be the latest release from : https://github.com/ActiveLook/android-sdk

detailed description of this Android application

After launching this demo, you have to wait while the data of the config (mainly fonts) are uploaded to the glasses - because of the lines 165 to 177 of MainActivity.java

These files is generated under Windows with the python scripts from : https://github.com/ActiveLook/Config-Generator but modified as described in the application : ActiveLook FONTSIZES

Then, you can try different features of ActiveLook :

  • DEMO : a clock is displayed with the glasses and phone/watch batteries level at the top
  • TEXT : you can hit several times on that key and will see different fonts displayed in the glasses
  • GESTURE : put you eye in front of your left eye and it will increment a counter; if you do it twice in less than 5 sec, it is a 'double clic'
  • GPS : some GPS data are displayed if you can get GPS signals
  • IMAGE1 : you can hit several times on that key and different images will be displayed in the glasses after some seconds, the time to upload them from the phone/watch to the glasses
  • IMAGE2 : a different way to display the images using configurations
  • SCREEN : a screenshot of your phone/watch is displayed in your glasses. But I don't know how to keep that function running while using other applications. I you know and can help me : Your advices are welcome !
  • GRAPHIC : some examples of lines, rectangles, circles written in the glasses
  • BITMAPS : some examples of the bitmaps available in the glasses are displayed
  • ANIMATION : some animated pictures are displayed in the glasses, they are generated from animated GIFs or a series of images with the Config-Generator mentioned above. NOTE : in the build.gradle you need to use this preliminary version of the SDK : implementation 'com.github.ActiveLook:android-sdk:feat~anim-SNAPSHOT'

activelook_helloworld's People

Contributors

laurentchr avatar

Stargazers

 avatar

Watchers

 avatar

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.