Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have created a cordova application.The databases are created using websql.I am in a need to access the database and zip the file for backup.

I need to know how can I access the database from where it is stored using objective c?Is there anyway or is it not possible?
Anybody please give me a solution for this..
Posted
Updated 10-Jun-14 18:35pm
v4

1 solution

Data and apps are separated in iOS, so you cant access on the same device. But if the cordova is a server it will work. One way is SOAP/XML or JSON.

Here is a quiet good sample that enlights the principles.
 
Share this answer
 
Comments
p@y@l 9-Jun-14 6:05am    
But it is nowhere related to database.I know that database is related to server.But I need something related to apps,not server.The database that is created in the browser,i need to get its path.Will the parsing method work here??

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900