OculusMobileSoftwareDevelopmentKit(SDK)DeviceandEnvironmentSetupGuidev. 0.4I. Introduction WelcometotheOculusVRMobileSoftwareDevelop
VerifyappsviaUSB:ThiswillcheckinstalledappsfromADB/ADTforharmfulbehavior.III.2.2 Display OptionsThefollowingdisplayoptionsarefound
IV. Android Development Environment SetupThissectiondescribessetupandconfigurationoftheAndroidDevelopmentEnvironmentnecessaryforbuilding
MakesureyourJAVA_HOMEvariabledoesnotincludequotationmarks.Ifyouusesetfromthecommandline,thecorrectsyntaxis:setJAVA_HOME=C:\Progr
IV.1.3 Installing Additional Packages and ToolsTheAndroidSDKdoesnotincludeeverythingyouwillneedfordevelopmentbydefault.Youwillneedto
5. OpenAndroid4.4.2(API19)andselecttheitemsforSDKPlatformandARMEABIv7aSystemImage.NotethatOculusMobileSDKprojectsuseAPIlevel
6. ClickInstallXPackages,whereXisthenumberofselectedpackages(itmayvarybasedonwhatneedstobeupdated).7. Onthenextdialog,choose
ThelatestversionofNDKisavailablefordownloadatthefollowinglocation:https://developer.android.com/tools/sdk/ndk/index.htmlOncedownloaded,
IftheNDKoptionundertheAndroidsectionismissing,somethingwentwrongwiththeEclipseADTPlugininstallation.Fullinstructionsandtroublesh
Next,addtheAntbinfoldertoyourPATH,e.g.:C:\Dev\Android\apacheant1.9.3\bin.FormoreinformationonusingAnttoautomatebuildingAndroidA
ThearchitectureselectedfortheJDKabovemustbethesameastheADT(i.e.,bothmustbeeither32bitor64bit).Note:Thetildecharacterfollow
Minimum System Requirements ThefollowingcomputersystemrequirementsfortheOculusMobileSDKarebasedontheAndroidSDKsystemrequirements:● W
SelectOpentostartEclipse.IfyougetamessagethatEclipseneedsJRE6inordertorun,allowittodownloadandinstallJRE6.Next,youshould
1. InEclipsegotoWindow>AndroidSDKManagertoopenawindowsimilartothefollowing:1. Notethatsomepackagesarealreadyselectedforinst
YoumayinstalladditionalpackagesaboveAPI19ifyouwish.AndroidSDKTools23.0.2,AndroidSDKPlatformtools20andAndroidSDKBuildtools20h
packagescanbeavoided.ItisrecommendedyouusetheabovenamingschemesothatthereisnoquestionwhichversionoftheADTbundleandtheNDKar
UnderAndroid>NDKsettheNDKfoldertothelocationwhereyouinstalledtheNDK:24
TosetenvironmentvariablesspecifyingthelocationsofAndroidSDKandNDKonyoursystem,andtoaddAndroidtoolstoyourglobalpath:1. Launcha
ForadditionalinformationabouttheJAVA_HOMEfolderandhowtodetermineitslocation,see:http://stackoverflow.com/questions/18144660/whatispath
Youshouldseesomethinglikethefollowingscreenwhereyoucanusethearrowkeystonavigatethefileandedittext:Whenyouarefinishedediting,
1. Notethatsomepackagesarealreadyselectedforinstallationbydefault.Leavetheseprojectsselected.2. CheckAndroid4.4.2(API19).3. Clickthe
V. Troubleshooting V.1 Device Troubleshooting V.1.1 View is tilted Iftheheadsetviewistiltedtotheleftorright,thereisprobablyanissuewith
I.2 Getting Started TobecomeacquaintedwiththeOculusHomeVRenvironmentandwithusingGearVR,wesuggeststartingwiththeSamsungSMR320Us
WindowsappearstosometimesautoupdateorautorollbackthecorrectSamsungUSBdriverwhenthephoneisreconnected.Ifthisoccurs,youshouldsee
C:\Dev\Android\android_adt_bundle_20140702\sdk\tools\ant\build.xml:698:nullreturned:1IfyouaddtheverboseoptiontotheAntbuild,youwillsee
IfyoualreadyhaveanexistinginstallationoftheAndroidDevelopmentToolspriorto23.0.2,youmayseecompatibilityerrorswhenstartingEclipse
33Last Update: Nov 10, 2014OCULUS VR is a registered trademark of Oculus VR, LLC. (C) Oculus VR, LLC. All rights reserved. All other trademarks ar
II. SDK OverviewII.1 Initial SDK Setup II.1.1 Install the SDKThemobileSDKiscomposedofacompressedarchivein.zipformatwhichcontainsbothso
OculusCinemaNativePlays2D&3Dmoviesinavirtualmovietheatre.VrSceneNativeLoadsascenewhichcanbenavigatedusingagamepad.BlockSp
Oculus360Video360degreePanoramicvideoOculus\360VideosOculus360Photo(360degreestaticphotos)Note:non360degreephotoswillnotrender
III. Device SetupThissectionwillprovideinformationonhowtosetupyoursupporteddeviceandgamepadforrunning,debugging,andtestingyourGear
Toverifythatthedriversuccessfullyrecognizedthedevice,openacommandpromptandtypethecommand:adbdevicesNote:Youwillneedtosuccessfu
III.2 Configuring your Android Device for Debugging InordertotestanddebugapplicationsonyourAndroiddevice,youwillneedtoenablespecificd
Comments to this Manuals