Software Archive
Read-only legacy content
17061 Discussions

Try to access local storage (SQLITE)

abdul_k_
Beginner
251 Views

Hi, in my app,initially i have created database use this code 'var db = openDatabase('nextflow', '2.0', 'nextflow', 2 * 1024 * 1024); '. After that connect and access it (insert, update and delete). This database will located in my pc ( C:\Users\E5510\AppData\Local\XDK\databases ). When i developed that application at intel xdk version 2series. That time database create single folder name (http_127.0.0.1_58889) , but i run that application in intel xdk 3522. When i run application in simulator each create separate database at different name ( http_localhost_51989, http_localhost_52179 , http_localhost_52568). How to create and access my local storage application database in my laptop. Build apk also not working now.

0 Kudos
1 Reply
Giselle_G_Intel
Employee
251 Views

Abdul,

Try searching on Stack Overflow for further information on databases (both local & remote) in the XDK realm. Here's is a useful thread that might answer your question & steer you in the right direction to figuring out what you need to do:

http://stackoverflow.com/questions/22828109/intel-xdk-connecting-your-mobile-app-to-a-database

0 Kudos
Reply