Giter VIP home page Giter VIP logo

osvr-androidserverlauncher's Introduction

OSVR-AndroidServerLauncher

Instructions:

Open the project in Android Studio. (If it complains that it Failed to find target which has string 'android-22' or another version, use the provided link to Open Android SDK Manager and check the box for the missing version and then press the OK button to download and install it, then restart the project.) (If it complains about failed to find Build Tools revision 23.0.0 or another version, use the Install Build Tools 23.0.0 and sync project link to get them.)

Run the assembleDebug gradle task. (If you cannot find assembleDebug, select Build/Make Project from the menu, and then Build/Build APK. This places app-debug.apk into the app/build/outputs/apk directory.)

Install /app/build/outputs/apk/app-debug.apk with adb: (The adb program will be in your sdk directory, whose location you can find by opening Tools/Android/SDK Manager and then looking in the Android SDK Location: box. For user taylorr on one computer, it was at C:\Users\taylorr\AppData\Local\Android\sdk\platform-tools. You probably want to add this to your path and then restart Android Studio.)

adb install app-debug.apk

Copy the OSVR server binaries for OSVR-Android to /data/local/tmp/osvr

adb push C:\path\to\OSVR-Android-Build-Install /data/local/tmp/osvr

Run the following commands:

adb shell
cd /data/local/tmp/osvr/bin
chmod 775 osvr_server
run-as com.osvr.serverlauncher
mkdir files
cp -R /data/local/tmp/osvr/* files

Now launch the app, wait a bit, then switch out and launch your OSVR app.

osvr-androidserverlauncher's People

Contributors

jeromiya avatar rpavlik avatar russell-taylor avatar

Stargazers

 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

osvr-androidserverlauncher's Issues

Where are the 'OSVR-Android' binaries?

"Copy the OSVR server binaries for OSVR-Android to /data/local/tmp/osvr"

Where are these binaries? Do I have to build them myself or to do they exist somewhere else?

Android Server Launcher as a self-started service on OSVR

Hello,

I've read in the forums and in some comments that there is a discussion to make the android server launcher a self started service that is part of an OSVR android application to avoid users having to configure and install the server separately -which I see as a major stopper for most users.

I have also seen the JointClientKit API that sort of would circumvent the need of having a separate server but reading the fine print this may not be the desired path for developers -more lag, inability to use async libraries etc.

Is the 'service route' being explored? If so, any idea when this will become available? To be honest, as a developer I see the need for starting a separate server a major issue with end users, particularly in android, where people won't be patient enough to install anything on top of their app.

In the meantime, is there any workaround to having the server running? Would you recommend using the JointClientKit API?

Nexus 6p and Galaxy S6 issues

Have two phones I tried putting this on, both with different issues:

With the Nexus 6P I was able to successfully complete all steps, however when I run the Palace demo and look at adb logcat it says the server is not started no matter how long I wait after starting the server app. This phone is on Android 7.1.1

With the Galaxy S6 I couldn't get past "run-as com.osvr.serverlauncher". When running this command it says: run-as: Package 'com.osvr.serverlauncher' is unknown. This phone is on Android 5.1.1

Any ideas?

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.