SQLITE ERROR: DATA SOURCE

Discussions about creating CAPI applications to run on Android devices
Ottykev
Posts: 3
Joined: December 21st, 2018, 11:44 pm

SQLITE ERROR: DATA SOURCE

Postby Ottykev » February 5th, 2019, 8:29 pm

Hi All,

I have deployed an application via ftp and whenever I start the app on my mobile, I get this error' there was an error writing to the data source. There was an error communicating with the SQLite database' and then the application restarts and still allows me to proceed. Also when I want to start the entry, I receive this error-Case ids "" duplicate an existing case! Case ids must be unique. I then proceed to enter a vague password for the interviewer,cluster and able to proceed. Can I be helped kindly on how to do away with the error.

I have upgraded my .dat files to .csdb as am using the csweb.
Attachments
IMG_20190205_125429.jpg
IMG_20190205_125429.jpg (1.83 MiB) Viewed 92 times
IMG_20190205_125423.jpg
IMG_20190205_125423.jpg (1.79 MiB) Viewed 92 times

Gregory Martin
Posts: 1125
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: SQLITE ERROR: DATA SOURCE

Postby Gregory Martin » February 6th, 2019, 7:28 am

I responded to your case IDs inquiry by email.

Regarding your screenshots, can you provide more detail? After installing the application and restarting CSEntry, do you still get this message, or is this a one-time message? Have you checked that you are opening the correct files (open your .pff and check that the file paths are correct)? Try deleting the data files and see if this happens again.

This is an unusual message that I haven't seen before.

That other message, 11001, should be coming from your application, so you'll want to look at your logic to try to figure that out.

Ottykev
Posts: 3
Joined: December 21st, 2018, 11:44 pm

Re: SQLITE ERROR: DATA SOURCE

Postby Ottykev » February 7th, 2019, 7:09 am

Hi Gregory, The error on SQlite only comes once when starting the application thereafter it doesn't appear.


Return to “Android”