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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T23:30:38+00:00 2026-05-23T23:30:38+00:00

The problem : populate a sqlite database when user starts the app at the

  • 0

The problem: populate a sqlite database when user starts the app at the first time.

Probable solution: i want to create a temporary file at development time with the desired data, read this file when user starts app for the first time and store it in a sqlite database. My doubt to implement this solution is: how I create a temporary file at development time that will be shipped with iPhone app and deleted after the sqlite database was populated? There is a way to indicate that a file must be placed in ‘Document Directory’ or ‘Temp Directory’ at development time? I dont want this file exists after I put all data on sqlite database.

If you have a different approach to my probable solution, fell free to tell me.

Thanks in advance.

  • 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-23T23:30:40+00:00Added an answer on May 23, 2026 at 11:30 pm

    You really can’t delete it, because the temporary fil needs to be in the bundle.
    And the bundle is readonly.

    I just pre-fill my SQLite database and copy it to the document directory if it is not there.
    The prefilled SQLite file will stay in the bundle, there is no real way around this.

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

Sidebar

Related Questions

My setup: I have a sqlite database from which I populate a NSMutableArray of
I am reading an Excel file to populate a database table using Hibernate +
I've been asked to populate a flash file with some data from a database.
First I know WebKit do not allow Make synchronous requests to SQLite database. And
My problem is that I want a grid that is populated with a set
Problem: I have an address field from an Access database which has been converted
I have a SQLite database, and several tables within that datbase. I am developing
i have been using a SQLite database, Theres a situation where i have a
i'm having a light problem with liquibase and hibernate.I expect hibernate to create the
What can be an efficient way for the following problem in SQL 2008? First

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.