Giter VIP home page Giter VIP logo

open-quartz's Introduction

OpenQuartz

License Build Twitter Follow

Open Source Google Glass Development

Google Glass Example GDK Applications:

Important Libraries:

Basic ADB Usage(For Terminal or CMD Prompt):

Information for side loading Android applications.

  • Keep Your Google Glass On while charging/developing:
    • adb shell svc power stayon true | false | usb | ac
  • Turn off Wifi and only use Bluetooth
    • adb shell svc wifi enable | disable
  • Installing/Uninstall Applications(.apks):
    • adb install -r FILE.apk
    • adb uninstall FILE.apk
  • Running the Application:
    • adb shell am start -n PACKAGE.NAME/.MAIN.ACTIVITY.NAME
  • List all Packages on your Android Device:
    • adb shell pm list packages -f
  • List all Relative Information about your Android Device:
    • adb shell dumpsys
      • adb shell dumpsys battery
      • adb shell dumpsys wifi
      • adb shell dumpsys cpuinfo
      • adb shell dumpsys meminfo
        • adb shell dumpsys meminfo PACKAGE.NAME
    • adb shell cat "/system/build.prop" | grep "product"
  • Screenshots from Commandline
    • adb shell /system/bin/screencap -p /sdcard/screenshot.png
    • adb pull /sdcard/screenshot.png screenshot.png

Read more:

Example Applications for Google Glass:

Third Party Applications(/third-party):

Here are helpful applications to install on your Glass in order to start testing and developing.

Google Glass Resources:

License

Copyright (C) 2013 Jared Burrows and Andre Compagno

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

   https://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.

open-quartz's People

Contributors

acompagno avatar dependabot[bot] avatar jaredsburrows avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

open-quartz's Issues

Missing library

You are referencing the package com.openquartz.helloglass.R in your helloglass application. The source code is not part of any of the projects.

Am I missing something or why is there no R anywhere to be found?

Glass-Apps dead

Your PHP installation appears to be missing the MySQL extension which is required by WordPress.

Color swapping

Hello, I'm basically following your same code, but for some reason my screen is swapping the red and the blue colors and I can't find the reason of this.

My code might have some minor changes, but is the same idea:

public class CameraView extends SurfaceView implements SurfaceHolder.Callback{

private SurfaceHolder surfaceHolder = null;
private Camera camera = null;

public CameraView(Context context) {
    super(context);
    surfaceHolder = this.getHolder();
    surfaceHolder.addCallback(this);
}

@Override
public void surfaceCreated(SurfaceHolder holder) {
    camera = Camera.open();
    Parameters parameters = camera.getParameters();
    parameters.setPreviewFpsRange(30000, 30000);            
    camera.setParameters(parameters);   
}

@Override
public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) {
    if (camera != null){                    // Start the preview for surfaceChanged
        try {
            camera.setPreviewDisplay(holder);
        } catch (IOException e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
            this.releaseCamera();
        }
        camera.startPreview();
    }
}

@Override
public void surfaceDestroyed(SurfaceHolder holder) {
    this.releaseCamera();                   // Do not hold the camera during surfaceDestroyed - view should be gone...
}

public void releaseCamera() {
    if (camera != null) {
        camera.release();
        camera = null;
    }
}

}

Am I doing something wrong?

Settings.apk not working.

I have an issue with the Settings.apk in the third-party directory. I installed it using the provided install.sh script. When I run the Settings.apk on glass using adb I get to the following screen:

glassscreenshot

But from there no input is accepted, swiping does nothing and tapping the touchpad closes the settings.

Steps:

  1. Install third party tools via the provided install.sh script
  2. Run the Settings.apk using following command:
    adb shell am start -a android.intent.action.MAIN -n com.android.settings/com.android.settings.Settings
  3. The screen depicted in the image above appears but the menu can't be navigated using glass

Maybe you can help me sorting this out. Please tell me if you need further information to reproduce this issue.

Best regards,
Daniel

openCV projects - 404 error

Both the links for openCV projects for glass, seem to be not accessible. Clicking on either links throws a file not found error. Please update the links. Thanks.

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.