Skip to content

Commit

Permalink
Merge pull request #6 from finger563/feature/3-android-mobile-app
Browse files Browse the repository at this point in the history
feat(android): added docs
  • Loading branch information
finger563 committed Jul 22, 2023
2 parents 230d1e7 + 6cc9660 commit 62e0c3a
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Config/DefaultEngine.ini
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,6 @@ ConnectionType=USBOnly
bUseManualIPAddress=False
ManualIPAddress=

[/Script/AndroidRuntimeSettings.AndroidRuntimeSettings]
PackageName=com.finger563.[PROJECT]

Binary file modified Content/Maps/RtspDisplayMap.umap
Binary file not shown.
29 changes: 29 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,32 @@ Its blueprint:
#### Level Blueprint

![CleanShot 2023-07-18 at 13 48 56](https://github.com/finger563/unreal-rtsp-display/assets/213467/c97d9954-a887-4773-8a3b-54104b102e31)


### Setup for Android App

Follow the setup instructions
[here](https://docs.unrealengine.com/5.2/en-US/how-to-set-up-android-sdk-and-ndk-for-your-unreal-engine-development-environment/).

Note: you will likely have to modify the `/Users/Shared/Epic\
Games/UE_5.2/Engine/Extras/Android/SetupAndroid.command` file - possibly to
point to the right `JAVA_HOME` directory. In my case I had to modify the
JAVA_HOME export in the `SetupAndroid.command` file to point to
`/Library/Java/JavaVirtualMachines/jdk-17.jdk/Contents/Home`.

You will need to set the environment variables (under `Android SDK`)
appropriately, e.g.:

- `Android SDK` : `/Users/bob/Library/Android/sdk`
- `Android NDK` : `/Users/bob/Library/Android/sdk/ndk/25.1.8937393`
- `Location of JAVA` : `/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home`
- `SDK API Level` : `android-32`
- `NDK API Level` : `android-32`

For that version of java (jdk 8) which is required to successfully build for
android, you can (on macos) install it via:

``` sh
brew install --cask adoptopenjdk8
```

0 comments on commit 62e0c3a

Please sign in to comment.