Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7712589
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T01:40:10+00:00 2026-06-01T01:40:10+00:00

I created a demo for implementing the shared preferences and it worked for me.

  • 0

I created a demo for implementing the shared preferences and it worked for me. During the execution, i can see an xml file created unser the shared_prefs folder in the File Explorer. But why can’t i see that file created anywhere in my workspace? And again, when i re-run the application, then also the data is fetched from the xml file created under the shared_prefs folder. How is this file getting loaded automatically when i can’t see the file anywhere in the workspace? where is it stored actually?

Please help me in clearing the flow and concept about the shaed preferences.

Thanks,
Bunta

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T01:40:12+00:00Added an answer on June 1, 2026 at 1:40 am

    SharedPreferences aren’t part of project. That file is created by Android when you put some data inside them.

    EDIT:
    SharedPrefenreces are usually stored in device internal storage. When you run application for the first time and put some data in that them, SharedPreferences file is created inside /data/data//shared_prefs/.xml. Once created, sharedprefenreces can be deleted if you clear data (Settings->Application->Manage applications-> ->Clear data) or when you uninstall application.
    I hope this helps.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So I have created some demo code, see below. What I am seeing is
I'm really need help with parsing XML by TBXML. I created a demo project
I'm trying to use the IPython demo mode. I created a file called test.py
I've created this basic 3D Demo using OpenGL/SDL. I handled the keyboard callback so
I've created this simple demo because I'm having some trouble making auto-sizing work in
Ive installed the Google Plugin for Eclipse and created a demo project using App
I created a simple demo here that demonstrates the problem: http://jsfiddle.net/boblauer/eCugY/ Basically, I want
I've created a basic demo app in Rails 3.2.2 by using rails new demo.
My app has several project/task scheduling features. I created a simple demo with the
I have created a read-only property(name) in class1. How can I use this name

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.