- Home /
How do I store music on the web and access it from an app?
I'm making an Android app that has a lot of different background music, but I want to keep the app small and instead of packing the music files within the app, I'd like to store the music somewhere else and load the music from this external source....how would I go about doing this in simplest form? I've looked around for the answer to this, but there doesn't seem to be a "direct" answer.
Can someone assist me in the correct way to do this?
Answer by WoozyBytes · Apr 13, 2015 at 05:01 PM
Hi there you can use Unity's Built in WWW Class to load files from either the hard drive or from the net just supply valid paths to your tracks .
Where you store your assets on the web, im not sure but maybe you can use google drive or dropbox then get the path it gives you and use that path with WWW Class
Hope it Helps :)Answer by mauliya · Apr 15, 2015 at 12:11 PM
To load the music from this external source, you can visit this page- http://edutechwiki.unige.ch/en/Flash_sound_tutorial
Your answer
Follow this Question
Related Questions
How can I allow audio playback when my android app is out of focus? 1 Answer
Virtual reality apply music to different parts of the scene based on where user is looking at. 0 Answers
Major Latency on Android when using Microphone 1 Answer
Android starts playing strange built-in music when loading a Unity scene. 1 Answer
Android App stopped asking permission for internal storage 0 Answers