- Home /
How to access Playerprefs xml file on Android
Hi,
for my progress backup system, I need to read the player prefs XML file with "File.ReadAllBytes" and then add it to a form by "form.AddBinaryData" and then upload it to a server, so later I can set all data back if they were removed.
so there are mainly two questions,
1. can I read the XML file as a binary with "File.ReadAllBytes" ?
2. how to access the Playerprefs file on android?
I know that the PlayerPrefs file on android is stored in the following path:
/data/data/pkg-name/shared_prefs/pkg-name.xml
how can I access it in c#?
should I use "Application.persistentDataPath" ?
Your answer
Follow this Question
Related Questions
whats the best way to save a large list of variables? 1 Answer
Import Existing Dat File When Build (Android) 0 Answers
Unit Data in a Strategy Game 1 Answer
Serializing an Action as XML? 0 Answers
Store clicks in sequence 1 Answer