Software Archive
Read-only legacy content
17061 Discussions

Buscar Base de datos creada

jaime_m_
Beginner
572 Views

hol cree una aplicacion que me crea una base de datos y dentro de ella crea una tabla y me inserta registros dentro de ella, para esto uso html5 websql + cordova.

Pero no encuentro la base de datos  cuando instalo mi app en mi movil, esta app funciona bien , estoy rooteado supuestamente deberia estar en data/data , la busco en todo el movil y no la encuentro.

 

o debo usar exclusivamente un plugin sqlite y no usar websql ?

 

alguien me puede ayudar

0 Kudos
2 Replies
Dale_S_Intel
Employee
572 Views

I'm not quite sure I understand everything, google translate may have confused things for me, I'm not 100% sure where the database is being stored, but I suspect it may not be under your project directory, so it would not be part of the package.  I think you'd need to create it the first time it runs on a particular device.

One other thing I noticed, It  looks like WebSQL may not be further developed:

https://www.w3.org/TR/webdatabase/

http://stackoverflow.com/questions/7183049/how-to-delete-a-database-in-websql-programmatically

You might want to look into IndexedDB or even a Cordova plugin.

Am I understanding the question correctly?

Dale

 

0 Kudos
PaulF_IntelCorp
Employee
572 Views

I recommend you use the SQLite plugin, many developers have had very good results with that plugin.

0 Kudos
Reply