Giter Club home page Giter Club logo

androidargonv2's Introduction

AndroidArgonV2

What is AndroidArgonV2 and what's new?

This is a proof of concept of Argon for Android. The project integrates vuforia to display augmented reality objects (in this example teapot) with a custom built of chromium. This custom built of chromium allows to display complex CSS3D animations and to render WebGL animations. The best is that it works smoothly not only with the latest Android 4.4, but also with previous Android version.

Check out screenshots to see WebGL animation in webview along with a teapot in augmented reality.

In this project I used ImageTargets project provided with vuforia [2].

How to run the app?

  • Pull repository with libraries with custom chromium built: https://github.com/pkwiecien/AndroidArgon-libraries
  • Pull this repository
  • Open ADT (or eclipse with ADT), install vuforia if needed (see requirements below)
  • Import libraries to workspace as existing projects into ADT
  • Manually add 'res' folder to 'base', 'media', 'net' and 'eyes-free' (if projects contain further errors, see section below)
  • Import AndroidArgon as exisiting Android project into ADT
  • Add libraries to the AndroidArgon project (right click on a project->Properties->Android. If there are any invalid libraries in red then remove them, and add these new ones. In total there are 6 libraries)
  • Add QCAR_SDK_ROOT into Java Build Path, see: Section "Set the QCAR environment variable" in https://developer.vuforia.com/resources/dev-guide/step-2-installing-vuforia-sdk
  • Add QCAR.jar to Java Build Path (it is in vuforia/build/java/QCAR)
  • Run project as Android application

Troubleshooting

Importing libraries:

  • firstly do a clean of your workspace in ADT
  • if a project is not compiled, check a reason. If it says that a folder 'res' is missing, add it to each folder manually (when I was importing libraries, I had to add folder res to 'base', 'media', 'net' and 'eyes-free' library projects. Next, refresh all projects and do a clean once again)

Importing/Running AndroidArgonV2 project:

  • If a project crashes after a start, you might need to add a 'clean' version of .so file (chromium built). Download it from here: libcontent. Next copy it to libs/armeabi, libs/armeabi-v7a, libs/x86 in AndroidArgonV2 project in ADT

Preview

Alt text Alt text

Requirements:

Test environment:

  • ADT for Mac
  • Nexus 7 Tablet (second generation) with Android 4.4
  • Moto X smartphone with Android 4.2.2

References

androidargonv2's People

Contributors

pkwiecien avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

sofdroid

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.