Created
September 21, 2017 21:15
-
-
Save cvan/68b2b13ef1cf9223e2ad0cc92c8bbb67 to your computer and use it in GitHub Desktop.
Attempting to launch Oculus Browser with Chrome for Android's Intents
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Command: | |
adb shell am start -n "com.oculus.vrshell/.MainActivity" -d apk://com.oculus.browser -e uri https://aframe.io/aframe/examples/showcase/spheres-and-fog/ | |
# Output: | |
09-22 03:59:12.368 3820 20762 I ActivityManager: START u0 {act=null typ=null flg=0x10000000 cmp=ComponentInfo{com.oculus.vrshell/com.oculus.vrshell.MainActivity}} from uid 2000 on display 0 | |
09-22 03:59:12.375 3820 20762 W ActivityManager: GearVR not ready: not allowed to start VR Activity. activity=ComponentInfo{com.oculus.vrshell/com.oculus.vrshell.MainActivity} intent=Intent { dat=apk://com.oculus.browser flg=0x10800000 cmp=com.oculus.vrshell/.MainActivity launchParam=MultiScreenLaunchParams { mDisplayId=0 mBaseDisplayId=0 mFlags=0 } (has extras) } isVrActivity=true | |
09-22 03:59:13.024 10937 10959 V VRSVC : (LogEvent.java:206) yTqX [onLaunchCancelled reason=hmt pIntent=Intent { dat=apk://com.oculus.browser flg=0x10800000 cmp=com.oculus.vrshell/.MainActivity launchParam=MultiScreenLaunchParams { mDisplayId=0 mBaseDisplayId=0 mFlags=0 } (has extras) } pendingIntent=PendingIntent{d396746: android.os.BinderProxy@50c7d07} topActivity=com.sec.android.app.launcher/.activities.LauncherActivity] | |
09-22 03:59:13.036 10937 10960 V VRSVC : (PendingLaunchEvent.java:89) yTqX [showInsertHMTPopup intent=Intent { dat=apk://com.oculus.browser flg=0x10800000 cmp=com.oculus.vrshell/.MainActivity launchParam=MultiScreenLaunchParams { mDisplayId=0 mBaseDisplayId=0 mFlags=0 } (has extras) } pendingIntent=PendingIntent{d396746: android.os.BinderProxy@50c7d07}] | |
09-22 03:59:13.258 10937 10937 V VRSVC : (WaitActivity.java:91) onCreate [pending_intent intent=Intent { dat=apk://com.oculus.browser flg=0x10800000 cmp=com.oculus.vrshell/.MainActivity launchParam=MultiScreenLaunchParams { mDisplayId=0 mBaseDisplayId=0 mFlags=0 } (has extras) } pendingIntents=[PendingIntent{9a26ad0: android.os.BinderProxy@3930ac9}]] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Command: | |
# <a href="intent://#Intent;package=com.oculus.vrshell;component=com.oculus.vrshell/com.oculus.vrshell.MainActivity;S.uri=https://aframe.io/aframe/examples/showcase/spheres-and-fog/;end">Launch in Oculus</a> | |
09-22 04:13:29.021 10415 10415 W cr_GoogleAuth: Bad URI 'intent://#Intent;package=com.oculus.vrshell;component=com.oculus.vrshell/com.oculus.vrshell.MainActivity;S.uri=https://aframe.io/aframe/examples/showcase/spheres-and-fog/;end' | |
09-22 04:13:29.455 12772 12772 I Finsky : [1] com.google.android.finsky.externalreferrer.b.run(62): Dropped referrer for com.oculus.vrshell because already-installed | |
09-22 04:13:29.715 12772 12815 E Volley : [2013] c.a: Unexpected response code 404 for https://android.clients.google.com/fdfe/details?doc=com.oculus.vrshell&nocache_irl=true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@cvan Hi, any chance to pass arguments to browser? like --remote-debugging-port=5001 for example