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

  • Home
  • SEARCH
  • 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 6061703
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T08:58:02+00:00 2026-05-23T08:58:02+00:00

My application uses the PersistentStore to store data. The keys of the PersistentStore are

  • 0

My application uses the PersistentStore to store data. The keys of the PersistentStore are created at runtime, so there’s no way to know all the keys. I’d like to know if there’s a way to retrieve or list the persistent store keys used by my application. I want to put them on a ObjectChoiceField and select the one I want to work with.

My application creates a name as a string, and then turns the string into a long value used as a key. I’m currently thinking to store the names of the PersistentStore on a single RMS, and with it retrieve the keys. But I would like to keep this option as a last resort.

  • 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-05-23T08:58:02+00:00Added an answer on May 23, 2026 at 8:58 am

    The keys of the PS are created at runtime

    You really want to use well-known keys rather than generating them at runtime. The persistent store is shared across all apps on the device, and I’m not aware of any way to list all the keys.

    You could store all the keys as they are generated, which may be what you are suggesting as your last-resort. You would still need to keep one well-known key, and use that well-known key to store a Vector or array of all the other keys that have been generated.

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

Sidebar

Related Questions

my application uses the standard app.config to store the public configuration data. However, there
My application uses a data directory on the SD card to store files. At
Our application uses Hibernate for ORM, and stores data in several schemas, accessing them
My application uses a large amount of Panda objects. Each Panda has a list
My application uses a list of media files on the phone, i.e. images, audio
My application uses an MDI form, and there are instances where the end user
My application uses SendKeys to navigate through and enter data into the input fields
Our application uses an SQLite database file to hold some data in it. The
My application uses many critical sections, and I want to know which of them
My application uses MSXML version 1 (MSXML.DOMDocument) to store user documents in XML format.

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.