willsonkmz
New Member
Im trying to implement profiles which saves current \[code\]SharedPreference\[/code\] under the name:\[code\]...._profilename.xml in my data/data/package/shared_pref\[/code\].I was just wondering, whether it is possible to load the xml File of a profile i have chosen.I saw \[code\]addPreferencesFromResource\[/code\] needs an ID however R generates it before the programming is running but i need it dynamically.Is there a simple way or do i have to extract every key with its value and copy it to my current \[code\]sharedPreferences\[/code\]?Greetings