Forum Discussion
Ham1ton
4 years agoProtege
Download Files the Right Way on Android in Unreal Engine
I came across this blog post from Oculus regarding the proper way to request a download from the Android OS. Here is the article: https://developer.oculus.com/blog/tech-note-downloading-data-in-the-background-on-mobile/?locale=ru_RU
I'm trying to download video files on a Quest 2 app built in Unreal 4.26 Oculus Integration version but it isn't as simple as just creating a java. There are a few plugins I've looked but have so far failed to fully implement including :
https://github.com/gameDNAstudio/MobileUtils
and
https://github.com/Sovahero/PluginMobileNativeCode
I'm having an issue implementing the Java DownloadHelper class since I can't seem to include the DownloadHelper package with these plugins.
Has anyone out there tackled this issue the "recommended" way per the article linked?
What would be even better is if Oculus could create a post for Unreal the way they did for Unity!
Any assistance would be much appreciated!
4 Replies
Replies have been turned off for this discussion
- sareerazadmangiHonored Guest
Hey Hamilton, I want to download videos on my Quest app developed with Unreal. Were you able to find a way for this?
- Helder_ViniciusExpert Protege
Hi!
I've been using the Runtime Files Downloader plugin in my applications forever and it works like a charm. Just mind the maximum download size.
Runtime Files Downloader in Code Plugins - UE Marketplace (unrealengine.com)
Home · gtreshchev/RuntimeFilesDownloader Wiki (github.com)- MindfulFloraHonored Guest
Hi, I'm also using this plugin in my Quest 2 app.
How large of a file can you download? I'm trying to use this plugin to download a 1 GB video file, but my app crashes at the time of saving it.
- Helder_ViniciusExpert Protege
Hi MindfulFlora, I don't really remember because this was a long time ago, maybe 4 GB? The marketplace page clearly states that over 2 gigs is doable.
Do you have Android permissions to read and write Internal/External storage?
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 11 months ago