3. Gear VR Project Packaging & Deployment

Choose your OS:

Steps

  1. First make sure that your Samsung Galaxy Note 4 Smartphone is connected to a USB cord and plugged into a USB port on the PC you are developing on.

  2. Next start the packaging process by going to the Main Toolbar and selecting File > Package Project > Android > Android ETC 2.

    GVR_Deploy_To_Android.png

  3. Once you click on the Android ETC 2 option, a Windows dialogue box will be displayed. From this dialogue box, select or create a folder to save your packaged project to and then press the OK button to begin the packaging process.

    GVR_Save_Project.png

  4. Depending on the size of your project, the packaging process could take a few minutes or a few hours to complete. When it is completed the folder that you selected/created to save the build to should now have three files in it and should look similar to the image below.

    GVR_Deployed_Files.png

  5. Next, run the .bat file which is located in the folder that the build was packaged to by Double-clicking on it with your Left Mouse Button. Once you run the .bat file, a command line window will be displayed that shows the current progress of the deployment to your Smartphone. When your project has been successfully deployed to your Smartphone, the command line window will shut itself down.

    GVR_Run_Bat_File.png

  6. Once you run the .bat file, a command line window will be displayed that will show you the deployment progress as well as any errors that may have occurred.

    GVR_Deployment_Window.png

    The command line window that is created when running the .bat file will close down on it's own when it is completed. Closing this window manually could cause an issue with your deployment and should be avoided.

  7. Finally, after the command line window has closed, check your Smartphone for your newly created application which should use the same name used for your UE4 C++ project that it was created from. Launch the application and then place your Smartphone into the Gear VR Headset.

    GVR_On_Phone.png

End Result

When completed you will be able to launch the project and view it using your Samsung Galaxy smartphone and the Gear VR HMD.

Tags