How to deploy app with "pre-installed data"?
Overview:
I have a program that reads XML files and an editor provided with the program. Users can create and share one or more XML.
What I got: I export my Windows project to VS and do a lot of stuff out there, it's easy to put all the XML into a folder, which is set to export. The data will be there the first time the user start the application.
The Problem: I went to an Android version, Unity has some mechanism like that? I can do thatin Unity, develop an application for Android/Win/IOS with initial XML files?
Answer by Yury-Habets · Dec 28, 2015 at 09:59 AM
You could try publishing your XML in assets/ folder and get it through the asset manager.
Though the correct way is probably to use asset bundles and http://docs.unity3d.com/ScriptReference/Application-persistentDataPath.html. File operations are not really typical and recommended for a mobile platform.
Your answer
Follow this Question
Related Questions
game crash on lollipop 0 Answers
Downloading files from wepage and saving on android ,Download from webpage, and open it on android 2 Answers
Why is the Android SDK not showing in Unity after installing it? 3 Answers
Unity Analytics Dashboard + Event Manager still empty after days waiting for data population 1 Answer
Deserialize JSON data for android via WWW (JsonUtility / JsonFX) 2 Answers