How I didn’t use Unity3D

George Xu, me (Adin Kwok), Josh Chan

Luckily, an idea popped in my head.

Notice the Export Project checkbox and Export button, that’s the play
I had to deal with this stuff for what seemed like an eternity
<activity android:label="@string/app_name" android:screenOrientation="sensorLandscape" android:launchMode="singleTask" android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|orientation|screenLayout|uiMode|screenSize|smallestScreenSize|fontScale|layoutDirection|density" android:hardwareAccelerated="false" android:name="com.adinkwok.vremdr_unity.UnityPlayerActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<category android:name="android.intent.category.LEANBACK_LAUNCHER" />
<category android:name="com.google.intent.category.CARDBOARD" />
</intent-filter>
<meta-data android:name="unityplayer.UnityActivity" android:value="true" />
</activity>
// Code snippet to launch the UnityPlayerActivity manually
Intent startSession = new Intent(this, UnityPlayerActivity.class);
startActivity(startSession); // Kotlin > Java

--

--

--

SWE Intern @ Facebook. Ex-SDE Intern @ Amazon (AWS). Ex-SWE, Data Eng, Product Manager Intern @ Intersect.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Building a live chart with Deno, WebSockets, Chart.js and Materialize

Fuzzy Joins Tutorial

Burrows-Wheeler Alignment Part 1

How to Run MariaDB & phpMyAdmin in 3 steps using Docker

Leopan Gamers NFT and Leopan Metaverse Game

How To Fix BLU Neo X Mini Not Charging [Troubleshooting Guide]

Dexlab Product Update

Last thing

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Adin K

Adin K

SWE Intern @ Facebook. Ex-SDE Intern @ Amazon (AWS). Ex-SWE, Data Eng, Product Manager Intern @ Intersect.

More from Medium

What is Kotlin and Why you should use it?

Should I root My Phone in 2022

fragment stuck cannot move to another fragment in Android Navigation

Mirror Your Android Phone on A Windows PC