S
S
smatisen2015-06-12 19:19:48
JavaScript
smatisen, 2015-06-12 19:19:48

Database migration from cordoba to native android, is it possible?

Is it possible?
var db = openDatabase("AddressBook", "1.0", "AddressBook", 200000);
Tried to use one database name, doesn't work.
private static final String db_name = "AddressBook";
private static final int db_version = 1;

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
Konstantin Berkov, 2015-06-12
@konstantin_berkow

How did you try to connect to it?

B
belozerow, 2015-06-13
@belozerow

Cordova uses a W3C Web SQL Database that I don't know, but as I understand it, it's something like localStorage and is stored somewhere nearby, and not in a native form.
Accordingly, all data will have to be transferred manually, i. open a webview with a cordova application, get all the data and use the plugin to transfer it to the native database. Somehow I imagine it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question