Hi!
I have 2 questions about sqlite support in Gideros.
1) Is sqlite available on Android? If not what I need to store relational data?
2) Couild you show me code with sqlite example? I'm trying to do:
db = sqlite3.open("test.db")
but take error: "attempt to index global 'sqlite3' (a nil value)"
Wha'ts wrong? My OS is Windows 7 64 bit, Gideros 2012.2.2.1.
Regards,
Ivan
Comments
http://TheOctagonTheory.com
cheers
evs
Great thanks,it works!
So, second question is solved.
Now, what about Android support with sqlite?
Likes: hosamred, SinisterSoft, norc
Likes: SinisterSoft, norc
*squeak squeak*
Likes: SinisterSoft, norc
http://www.nightspade.com
http://giderosmobile.com/forum/discussion/comment/9750#Comment_9750
And android platform is not yet supported. I'd say because there wasn't much of requests for it. Maybe now things will change
Likes: SinisterSoft, norc
I 've implement a game using sqlite in ios.
But when I try to port to android. It lack sqlite feature.
Likes: SinisterSoft, norc
I'd say it's a must for Gideros going forwards. I have a complicated data structure for my game and storing in text files or XML isn't going to cut it.
PLEASE make this happen!
Likes: SinisterSoft, norc
Likes: norc
Storage has 2 places, one is application assets and is read only, can not modify or write files into this location, second is the temp storage cache location, when deploying, do I need to copy the sqlite db into the working area before I open it, or can it remain in the deployed location?
---------------------------------------
Likes: talis
you rock ^:)^
the link is not working .. but past this neither is 'db:first_row' from the LuaSqlite docs
the correct link is: http://docs.giderosmobile.com/reference/plugin/sqlite3#sqlite3
And I don't seem to see 'db:first_row' here: http://lua.sqlite.org/index.cgi/doc/tip/doc/lsqlite3.wiki