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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T10:52:42+00:00 2026-05-23T10:52:42+00:00

I have a Palm Pre app that has a large(ish) database. I would like

  • 0

I have a Palm Pre app that has a large(ish) database. I would like to transfer the database directly to the phone rather than having the app create the database.

What I tried is to create a sqlite file on the PC using a simple python script, then have the app create an empty extended db in the media/internal folders, then copy the PC file over the one created on the phone. However I get an error when trying to read the file: “database disk image is malformed”.

Has anyone succeeded in doing something like this?

Edit: Now that my original idea is actually not possible my question becomes: what is the best way to initialize an application DB with a lot of data without duplicating it (now I have an array with info and the first time the app is run it creates and fills the database). The solution to use a hybrid application is too much for me now, I need a simple and quick solution.

The alternative would probably be to connect to a ‘web service’ and download the data to the application.

  • 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-23T10:52:43+00:00Added an answer on May 23, 2026 at 10:52 am

    You can’t access a preloaded SQLite database directly from your JavaScript code — while WebKit is using SQLite internally, it needs to associate the database with its own data structures and manage some constraints.

    You could write a hybrid application where your C/C++ code just acted as a server for accessing the included data file. You can use that static version of SQLite in your hybrid app to get access to that data and send it over the IPC system to JS. That model is similar to how Quickfoffice on the device uses a hybrid to parse MS Word documents and send their representation to their JS app that shows them using WebKit’s rendering engine.

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

Sidebar

Related Questions

I have been working with a iPhone app that I would like to have
For my palm pre app I have a dynamically generated list (pulling in data
I currently have a Palm WebOS application that uses an Ajax.Request to connect to
I'm new to developing mobile websites and I have an issue with Palm Pre.
Have some dates in my local Oracle 11g database that are in this format:
Have an app that can use tts to read text messages. It can also
As I like to develop some applications for Palm OS, normally I have problems
on webos, I have openssh running and would like to take a picture using
If you have an 68K application written using CodeWarrior for Palm OS, how do
This is a strange one that I cannot see to figure out. I have

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.