- Home /
How to access android sharedpreferences using unity c# ?
I am trying to access sharedpreferences of a game which is developed using android studio. Anyone has solution how to do it in c# ?
A quick search through StackOverflow would've saved you a lot of trouble.
Answer by sabish-m · Aug 09, 2016 at 03:44 PM
Write your sharedPreference get and set methods in Android Studio and export jar then import it to unity and use that methods.
I exported jar and imported it in unity but I am not able to access the method from jar file. It gives NoClassDefFoundError.
Follow this tutorial.
http://www.thegamecontriver.com/2015/04/android-plugin-unity-android-studio.html
Hi @sabish-m, the link won't work. Do you know somewhere else i could find that plugin?
Thanks
Your answer
Follow this Question
Related Questions
Distribute terrain in zones 3 Answers
Help with Load function on Button press 1 Answer
Google play achievements problem please help 2 Answers
Saved informations not removed after uninstall on Android 2 Answers
PlayerPrefs not saving 1 Answer