Quantcast
Channel: Android Mode - Processing 2.x and 3.x Forum
Viewing all articles
Browse latest Browse all 941

Ketai sqlite can't locate database?

$
0
0

I'm using this example on how to load an external SQLite db. with ketai: http://ketai.org/examples/externalsqliteloading/

I've put the to databases (sample.sqlite & large.sqlite) in almost every path I could imagine it would load from:

Dir's where the databases are

  • /data/data/
  • /data/data/processing.test.externalsqliteloading/
  • /data/data/processing.test.externalsqliteloading/data/ (created that dir myself)
  • /data/data/processing.test.externalsqliteloading/files/

But I still get errors saying, "Failed to load SQLite file(not found): large.sqlite/sample.sqlite Any ideas why? Is it because of permissions, wrong path or bug in library?

The main goal is to download a SQLite db using saveStream("url/db.sqlite") and load it using ketaisqlite. saveStream works and puts the files in the /data/data/processing.test.externalsqliteloading/files/ dir which loadStrings also reads from by default.


Viewing all articles
Browse latest Browse all 941

Trending Articles