Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to Access SharedPreferences created file?

 
Prajkti Khadse
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I am using SharedPreferences to save my ApplicationSettings.
and through DDMS->FileExplorer i can see the Settings file created as
data\data\<packgename>\shared_prefs\AppSettings.xml
Now i want to copy this file and move it into Another location say SDCard.

Is there any way to achieve this??

Can i access that AppSettings.xml file through some System level Code written in C?

Can anyone please please help me??

 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!