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 8389475
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T18:44:15+00:00 2026-06-09T18:44:15+00:00

I need to create a complex configuration activity for my app with dynamic modules

  • 0

I need to create a complex configuration activity for my app with dynamic modules and i would like to store all the settings into JSON because using sharedprefs XML backend would make things too complex (modules are indipendent and i could have conflicting preference names so i need something able to store an hierarchy of preferences and understand the module concept, i also need to export/import from external files / internet easily).

Each module will have its own “preferencescreen”, a module could appear multiple times (with different “ids”) and i need to have the same file backend for all of them. Another option would be using many sharedpreferences files and export/import to json when needed.

So, do you think it would be ok to extend SharedPreferences and make it use a different backend so i can keep using PreferenceFragments avoiding to reinvent the wheel? Has anyone tried yet?

  • 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-09T18:44:16+00:00Added an answer on June 9, 2026 at 6:44 pm

    This is becoming utterly complex so i have decided that the best way to do this is to use multiple SharedPreferences by passing an unique ID to each PreferenceScreen “module”, i then export/import everything using JSON but always going through SharedPreferences standard XML backend. If someone does not post a better solution i will mark this as correct because probably there are not better ways to do that.

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

Sidebar

Related Questions

I need to create a complex SQLite statement. I need a SQLite statement like
I need to create a complex legend, which includes a fraction and the numerator
I need create custom dialog and put JPanel into it. Is it possible?
I'm searching for a way to create complex/simple graph using Perl. The known modules/applications
I need to create a script that extracts some data from a complex Excel
I have the need to create a complex predicate for an abstract base object.
I need to create a tool for performing complex scripts against a database. For
We need to create a full page HTML/Javascript app (100% HEIGHT/WIDTH) that does not
I need to create Stock CandleStick chart from scratch, Because we have some complex
I need to create a complex form with my own components (kinda OneClick installer),

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.