Community
cancel
Showing results for 
Search instead for 
Did you mean: 
jaime_m_
Beginner
31 Views

Buscar Base de datos creada

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

Tags (2)
0 Kudos
2 Replies
Dale_S_Intel
Employee
31 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
31 Views

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

0 Kudos