Riftlibrary
Oculus Rift support for Android apps
Install / Use
/learn @sebastianherp/RiftlibraryREADME
Oculus Rift support for Android apps
This libary is currently a side project and supports reading sensor data from the Oculus Rift
Setup
Add this to your manifest:
<uses-feature android:name="android.hardware.usb.host" />
You also need to modify your activity in AndroidManifest.xml and add the following intent filter:
<intent-filter>
<action android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED" />
</intent-filter>
<meta-data android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED"
android:resource="@xml/device_filter" />
I also recommend setting android:launchMode="singleTask"
Then put a file device_filter.xml in res/xml/ with the following content:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<usb-device vendor-id="10291" product-id="0001" />
</resources>
As the libary currently sets android:minSdkVersion="12" so should your application.
Usage
TBD
Screenshots

Compatible Devices
- Nexus 10
- Nexus 7 (obviously no HDMI output)
- Asus Transformer Prime
- ... theoretically every device with USB host and HDMI out should work with the Rift (let me know what you are using)
Debugging
Most devices will only have a single USB port so you can't debug over USB and use the Rift at the same time. Luckily you can switch to TCP/IP with the following commands while using USB connection(replace IP with your device IP):
adb tcpip 5555
adb connect 192.168.1.2:5555
You can now connect the Rift instead and still use Eclipse to push new APKs and debug the app.
Switch back to USB with adb usb
Related Skills
openhue
347.6kControl Philips Hue lights and scenes via the OpenHue CLI.
sag
347.6kElevenLabs text-to-speech with mac-style say UX.
weather
347.6kGet current weather and forecasts via wttr.in or Open-Meteo
tradingview-mcp
609Advanced TradingView MCP Server for AI-powered market analysis. Real-time crypto & stock screening, technical indicators, Bollinger Band intelligence, and candlestick patterns. Works with Claude Desktop & AI assistants. Multi-exchange support (Binance, KuCoin, Bybit+). Open source trading toolkit.
